aboutsummaryrefslogtreecommitdiff
path: root/libraries/agg/patches/09-fix-hurd-ftbfs.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2018-06-27 16:15:17 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-06-30 07:00:19 +0700
commit5748ceeae42d2115749daf3415fb2b50989b05fb (patch)
treed9572be22bc8c4a9cf776760d2e70bd19dace2f0 /libraries/agg/patches/09-fix-hurd-ftbfs.patch
parent9fed72d60d5d754fe3ce5c80f57d60a2d6520665 (diff)
libraries/agg: Updated for version r127.
Switch to the debian-maintained version Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/agg/patches/09-fix-hurd-ftbfs.patch')
-rw-r--r--libraries/agg/patches/09-fix-hurd-ftbfs.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/libraries/agg/patches/09-fix-hurd-ftbfs.patch b/libraries/agg/patches/09-fix-hurd-ftbfs.patch
new file mode 100644
index 0000000000000..145b9d7151c26
--- /dev/null
+++ b/libraries/agg/patches/09-fix-hurd-ftbfs.patch
@@ -0,0 +1,18 @@
+Author: Barry deFreese <bdefreese@debian.org>
+Description: Patch to prevent a FTBFS on GNU/Hurd.
+
+Index: agg-2.5+dfsg1/src/Makefile
+===================================================================
+--- agg-2.5+dfsg1.orig/src/Makefile 2012-06-04 23:05:40.000000000 +0000
++++ agg-2.5+dfsg1/src/Makefile 2012-06-04 23:08:30.000000000 +0000
+@@ -3,6 +3,10 @@
+ PLATFORM=Linux
+ endif
+
++ifeq (GNU,$(PLATFORM))
++ PLATFORM=Linux
++endif
++
+ include ../Makefile.in.$(PLATFORM)
+
+ CXXFLAGS= $(AGGCXXFLAGS) -I../include -L./