summaryrefslogtreecommitdiff
path: root/print/ghostscript9-base/files/patch-base_gdevplib.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript9-base/files/patch-base_gdevplib.c')
-rw-r--r--print/ghostscript9-base/files/patch-base_gdevplib.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/print/ghostscript9-base/files/patch-base_gdevplib.c b/print/ghostscript9-base/files/patch-base_gdevplib.c
new file mode 100644
index 000000000000..11fbdf23b262
--- /dev/null
+++ b/print/ghostscript9-base/files/patch-base_gdevplib.c
@@ -0,0 +1,14 @@
+--- base/gdevplib.c.orig 2012-08-08 08:01:36 UTC
++++ base/gdevplib.c
+@@ -153,7 +153,11 @@ void __aebi_memmove(void *dest, const vo
+
+ #ifdef TESTING_WITH_NO_BAND_DONOR
+
++#if !defined(__FreeBSD__) && !defined(__DragonFly__)
+ #include <malloc.h>
++#else
++#include <stdlib.h>
++#endif
+
+ static void *my_buffer;
+