diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2013-10-10 00:19:01 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2013-10-10 00:19:01 +0000 |
commit | 2ac0481f0ea02d50d0f78277bc4db22b22f37c39 (patch) | |
tree | 748d166a4c14bc08653190418fff5a1eb4f82cd3 /graphics/openjpeg/files | |
parent | 6d44589f237faa75ae12fd030c377187d035b811 (diff) | |
download | ports-2ac0481f0ea02d50d0f78277bc4db22b22f37c39.tar.gz ports-2ac0481f0ea02d50d0f78277bc4db22b22f37c39.zip |
Notes
Diffstat (limited to 'graphics/openjpeg/files')
-rw-r--r-- | graphics/openjpeg/files/patch-opj_malloc.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/graphics/openjpeg/files/patch-opj_malloc.h b/graphics/openjpeg/files/patch-opj_malloc.h index d1a620775c93..0f61562b49a8 100644 --- a/graphics/openjpeg/files/patch-opj_malloc.h +++ b/graphics/openjpeg/files/patch-opj_malloc.h @@ -1,12 +1,12 @@ ---- libopenjpeg/opj_malloc.h.orig 2012-02-07 11:49:55.000000000 +0100 -+++ libopenjpeg/opj_malloc.h 2012-06-02 11:25:56.000000000 +0200 +--- libopenjpeg/opj_malloc.h.orig 2013-10-08 17:19:09.755013928 +0200 ++++ libopenjpeg/opj_malloc.h 2013-10-08 17:20:11.403012744 +0200 @@ -85,8 +85,7 @@ - #define HAVE_MEMALIGN
- /* Linux x86_64 and OSX always align allocations to 16 bytes */
- #elif !defined(__amd64__) && !defined(__APPLE__)
-- #define HAVE_MEMALIGN
-- #include <malloc.h>
-+ #include <stdlib.h>
- #endif
- #endif
-
+ #define HAVE_MEMALIGN + /* Linux x86_64 and OSX always align allocations to 16 bytes */ + #elif !defined(__amd64__) && !defined(__APPLE__) +- #define HAVE_MEMALIGN +- #include <malloc.h> ++ #include <stdlib.h> + #endif + #endif + |