diff options
Diffstat (limited to 'libraries/agg/patches/08-fix-kfreebsd-ftbfs.patch')
-rw-r--r-- | libraries/agg/patches/08-fix-kfreebsd-ftbfs.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libraries/agg/patches/08-fix-kfreebsd-ftbfs.patch b/libraries/agg/patches/08-fix-kfreebsd-ftbfs.patch new file mode 100644 index 0000000000000..12b01b63678a1 --- /dev/null +++ b/libraries/agg/patches/08-fix-kfreebsd-ftbfs.patch @@ -0,0 +1,18 @@ +Author: Andrea Veri <and@debian.org> +Description: Patch to prevent a FTBFS on kfreebsd-* + +Index: agg-2.5+dfsg1/src/Makefile +=================================================================== +--- agg-2.5+dfsg1.orig/src/Makefile 2007-10-11 00:06:16.000000000 +0200 ++++ agg-2.5+dfsg1/src/Makefile 2012-05-01 21:30:08.492401874 +0200 +@@ -1,4 +1,9 @@ +-include ../Makefile.in.$(shell uname) ++PLATFORM=$(shell uname) ++ifeq (GNU/kFreeBSD,$(PLATFORM)) ++ PLATFORM=Linux ++endif ++ ++include ../Makefile.in.$(PLATFORM) + + CXXFLAGS= $(AGGCXXFLAGS) -I../include -L./ + |