mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Remove dependency on memalign
PR: 129388 Submitted by: Jacob Atzen <jatzen@gmail.com>
This commit is contained in:
parent
14d4ea6315
commit
a5f3f72336
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223731
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= freeimage
|
||||
PORTVERSION= 3.11.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= SF
|
||||
DISTNAME= FreeImage${PORTVERSION:S/.//g}
|
||||
|
@ -0,0 +1,12 @@
|
||||
--- Source/LibOpenJPEG/opj_malloc.h.orig 2008-12-03 16:48:35.000000000 +0100
|
||||
+++ Source/LibOpenJPEG/opj_malloc.h 2008-12-03 16:49:08.000000000 +0100
|
||||
@@ -77,7 +77,9 @@
|
||||
#define HAVE_MEMALIGN
|
||||
/* Linux x86_64 and OSX always align allocations to 16 bytes */
|
||||
#elif !defined(__amd64__) && !defined(__APPLE__)
|
||||
+ #ifndef __FreeBSD__
|
||||
#define HAVE_MEMALIGN
|
||||
+ #endif
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user