summaryrefslogtreecommitdiff
path: root/print/ghostscript9-agpl-base/files/patch-devices_gdevplib.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript9-agpl-base/files/patch-devices_gdevplib.c')
-rw-r--r--print/ghostscript9-agpl-base/files/patch-devices_gdevplib.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/print/ghostscript9-agpl-base/files/patch-devices_gdevplib.c b/print/ghostscript9-agpl-base/files/patch-devices_gdevplib.c
new file mode 100644
index 000000000000..2213e572f3db
--- /dev/null
+++ b/print/ghostscript9-agpl-base/files/patch-devices_gdevplib.c
@@ -0,0 +1,14 @@
+--- devices/gdevplib.c.orig 2015-03-30 08:21:24 UTC
++++ devices/gdevplib.c
+@@ -156,7 +156,11 @@ void __aebi_memmove(void *dest, const vo
+
+ #ifdef TESTING_WITH_NO_BAND_DONOR
+
++#if !defined(__FreeBSD__)
+ #include <malloc_.h>
++#else
++#include <stdlib.h>
++#endif
+
+ static void *my_buffer;
+