summaryrefslogtreecommitdiff
path: root/print/ghostscript9-base/files/patch-openjpeg_libopenjpeg_opj__malloc.h
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-06-17 23:28:04 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-06-17 23:28:04 +0000
commit1a8a092d9fefcbd7f960c82c59802c61807867a6 (patch)
tree48e47bf661e0e5d6ed9c060e8aea683b30d4540f /print/ghostscript9-base/files/patch-openjpeg_libopenjpeg_opj__malloc.h
parent- Update to 1.7.1 (diff)
Rename all files containing a : in their filename.
While there, run make makepatch on affected ports, and rename patches accordingly. Sponsored by: Absolight
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..43bd90e9c150
--- /dev/null
+++ b/print/ghostscript9-base/files/patch-openjpeg_libopenjpeg_opj__malloc.h
@@ -0,0 +1,11 @@
+--- openjpeg/libopenjpeg/opj_malloc.h.orig 2012-08-08 08:01:36 UTC
++++ openjpeg/libopenjpeg/opj_malloc.h
+@@ -83,6 +83,8 @@ Allocate memory aligned to a 16 byte bou
+ #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__) && !defined(_AIX) && !defined(__FreeBSD__)
+ #define HAVE_MEMALIGN