aboutsummaryrefslogtreecommitdiff
path: root/libraries/agg/patches/09-fix-hurd-ftbfs.patch
diff options
context:
space:
mode:
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./