summaryrefslogtreecommitdiff
path: root/print/ghostscript9-base/files/patch-openjpeg-libopenjpeg-opj_malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript9-base/files/patch-openjpeg-libopenjpeg-opj_malloc.h')
-rw-r--r--print/ghostscript9-base/files/patch-openjpeg-libopenjpeg-opj_malloc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/print/ghostscript9-base/files/patch-openjpeg-libopenjpeg-opj_malloc.h b/print/ghostscript9-base/files/patch-openjpeg-libopenjpeg-opj_malloc.h
new file mode 100644
index 000000000000..a2c27a03a799
--- /dev/null
+++ b/print/ghostscript9-base/files/patch-openjpeg-libopenjpeg-opj_malloc.h
@@ -0,0 +1,11 @@
+--- openjpeg/libopenjpeg/opj_malloc.h.orig 2012-02-08 17:48:48.000000000 +0900
++++ openjpeg/libopenjpeg/opj_malloc.h 2012-02-13 11:12:27.000000000 +0900
+@@ -83,6 +83,8 @@
+ #else /* Not _WIN32 */
+ #if defined(__sun)
+ #define HAVE_MEMALIGN
++ #elif defined(__FreeBSD__)
++ #undef HAVE_MEMALIGN
+ /* Linux x86_64 and OSX always align allocations to 16 bytes */
+ #elif !defined(__amd64__) && !defined(__APPLE__)
+ #define HAVE_MEMALIGN