mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-31 10:46:16 +00:00
Fix build on several architectures (ensure __builtin_bswap16 is available)
PR: 229339 Submitted by: tobik MFH: 2018Q3
This commit is contained in:
parent
e83c57c6bd
commit
c31e361f72
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474080
@ -13,10 +13,6 @@ COMMENT= MPEG-2 and MPEG-4 AAC audio decoder
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BROKEN_mips= fails to build: mp4read.c:(.text+0x87c): undefined reference to '__builtin_bswap16'
|
||||
BROKEN_mips64= fails to build: mp4read.c:(.text+0x87c): undefined reference to '__builtin_bswap16'
|
||||
BROKEN_powerpc64= fails to build: mp4read.o:(.text+0x714): undefined reference to '__builtin_bswap16'
|
||||
|
||||
USES= autoreconf gmake libtool
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
|
13
audio/faad/files/patch-frontend_mp4read.c
Normal file
13
audio/faad/files/patch-frontend_mp4read.c
Normal file
@ -0,0 +1,13 @@
|
||||
Make sure WORDS_BIGENDIAN is available on big endian archs like
|
||||
powerpc{,64}.
|
||||
|
||||
--- frontend/mp4read.c.orig 2018-06-26 06:56:37 UTC
|
||||
+++ frontend/mp4read.c
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <time.h>
|
||||
#include <limits.h>
|
||||
|
||||
+#include "config.h"
|
||||
#include "unicode_support.h"
|
||||
#include "mp4read.h"
|
||||
|
Loading…
Reference in New Issue
Block a user