Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jul 2018 13:30:08 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474080 - in head/audio/faad: . files
Message-ID:  <201807071330.w67DU8GK026019@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Sat Jul  7 13:30:07 2018
New Revision: 474080
URL: https://svnweb.freebsd.org/changeset/ports/474080

Log:
  Fix build on several architectures (ensure __builtin_bswap16 is available)
  
  PR:		229339
  Submitted by:	tobik
  MFH:		2018Q3

Added:
  head/audio/faad/files/patch-frontend_mp4read.c   (contents, props changed)
Modified:
  head/audio/faad/Makefile

Modified: head/audio/faad/Makefile
==============================================================================
--- head/audio/faad/Makefile	Sat Jul  7 13:26:30 2018	(r474079)
+++ head/audio/faad/Makefile	Sat Jul  7 13:30:07 2018	(r474080)
@@ -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
 

Added: head/audio/faad/files/patch-frontend_mp4read.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/faad/files/patch-frontend_mp4read.c	Sat Jul  7 13:30:07 2018	(r474080)
@@ -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"
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807071330.w67DU8GK026019>