ports/print/ghostscript9-base/files/patch-openjpeg_libopenjpeg_opj__malloc.h
Mathieu Arnold 1a8a092d9f Rename all files containing a : in their filename.
While there, run make makepatch on affected ports, and rename patches
accordingly.

Sponsored by:	Absolight
2016-06-17 23:28:04 +00:00

11 lines
472 B
C

--- 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