diff options
| author | Hiroki Sato <hrs@FreeBSD.org> | 2012-02-13 02:31:18 +0000 |
|---|---|---|
| committer | Hiroki Sato <hrs@FreeBSD.org> | 2012-02-13 02:31:18 +0000 |
| commit | e7399a84ee58f73b0017cb552b547882737460d3 (patch) | |
| tree | d528be669048db1d57662e186cd2b2206e517423 /print/ghostscript9/files/patch-openjpeg-libopenjpeg-opj_malloc.h | |
| parent | Instances of numeric classes for functions and tuples. (diff) | |
Add missing patches. This should fix build on !amd64 platforms.
Diffstat (limited to '')
| -rw-r--r-- | print/ghostscript9/files/patch-openjpeg-libopenjpeg-opj_malloc.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/print/ghostscript9/files/patch-openjpeg-libopenjpeg-opj_malloc.h b/print/ghostscript9/files/patch-openjpeg-libopenjpeg-opj_malloc.h new file mode 100644 index 000000000000..a2c27a03a799 --- /dev/null +++ b/print/ghostscript9/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 |
