From owner-svn-ports-all@freebsd.org Sat Jul 7 13:30:09 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F322F10449AF; Sat, 7 Jul 2018 13:30:08 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A4DA3767F9; Sat, 7 Jul 2018 13:30:08 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8614417F13; Sat, 7 Jul 2018 13:30:08 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w67DU84j026022; Sat, 7 Jul 2018 13:30:08 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w67DU8GK026019; Sat, 7 Jul 2018 13:30:08 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201807071330.w67DU8GK026019@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Sat, 7 Jul 2018 13:30:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474080 - in head/audio/faad: . files X-SVN-Group: ports-head X-SVN-Commit-Author: riggs X-SVN-Commit-Paths: in head/audio/faad: . files X-SVN-Commit-Revision: 474080 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jul 2018 13:30:09 -0000 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 + #include + ++#include "config.h" + #include "unicode_support.h" + #include "mp4read.h" +