From owner-svn-ports-all@freebsd.org Sun Oct 8 18:57:42 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84C26E3D431; Sun, 8 Oct 2017 18:57:42 +0000 (UTC) (envelope-from jbeich@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 mx1.freebsd.org (Postfix) with ESMTPS id 05A4D6FC78; Sun, 8 Oct 2017 18:57:41 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v98Ivf50028392; Sun, 8 Oct 2017 18:57:41 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v98IveIj028390; Sun, 8 Oct 2017 18:57:40 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201710081857.v98IveIj028390@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sun, 8 Oct 2017 18:57:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r451562 - in head/multimedia/libvpx: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head/multimedia/libvpx: . files X-SVN-Commit-Revision: 451562 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.23 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: Sun, 08 Oct 2017 18:57:42 -0000 Author: jbeich Date: Sun Oct 8 18:57:40 2017 New Revision: 451562 URL: https://svnweb.freebsd.org/changeset/ports/451562 Log: multimedia/libvpx: unblock build on mips* mips* cannot use lang/gcc*, so let it use GCC 4.2 in base. Other archs may work as well but x86 won't per r422956. Modified: head/multimedia/libvpx/Makefile (contents, props changed) head/multimedia/libvpx/files/patch-libs.mk (contents, props changed) Modified: head/multimedia/libvpx/Makefile ============================================================================== --- head/multimedia/libvpx/Makefile Sun Oct 8 18:57:28 2017 (r451561) +++ head/multimedia/libvpx/Makefile Sun Oct 8 18:57:40 2017 (r451562) @@ -18,7 +18,7 @@ BUILD_DEPENDS= yasm:devel/yasm USE_GITHUB= yes GH_ACCOUNT= webmproject -USES= compiler:c11 cpe gmake perl5 shebangfix +USES= cpe gmake perl5 shebangfix CPE_VENDOR= john_koleszar HAS_CONFIGURE= yes USE_PERL5= build Modified: head/multimedia/libvpx/files/patch-libs.mk ============================================================================== --- head/multimedia/libvpx/files/patch-libs.mk Sun Oct 8 18:57:28 2017 (r451561) +++ head/multimedia/libvpx/files/patch-libs.mk Sun Oct 8 18:57:40 2017 (r451562) @@ -1,8 +1,19 @@ ---- libs.mk.orig +--- libs.mk.orig 2017-01-12 20:27:27 UTC +++ libs.mk -@@ -232,8 +232,8 @@ - $(qexec)echo 'Libs: -L$${libdir} -lvpx' >> $@ - $(qexec)echo 'Libs.private: -lm -pthread' >> $@ +@@ -117,8 +117,8 @@ endif + $(BUILD_PFX)third_party/googletest/%.cc.o: CXXFLAGS += -Wno-missing-field-initializers + # Suppress -Wextra warnings in first party code pending investigation. + # https://bugs.chromium.org/p/webm/issues/detail?id=1069 +-$(BUILD_PFX)vp8/encoder/onyx_if.c.o: CFLAGS += -Wno-unknown-warning-option -Wno-clobbered +-$(BUILD_PFX)vp8/decoder/onyxd_if.c.o: CFLAGS += -Wno-unknown-warning-option -Wno-clobbered ++$(BUILD_PFX)vp8/encoder/onyx_if.c.o: CFLAGS += -Wno-extra ++$(BUILD_PFX)vp8/decoder/onyxd_if.c.o: CFLAGS += -Wno-extra + + ifeq ($(CONFIG_MSVS),yes) + CODEC_LIB=$(if $(CONFIG_STATIC_MSVCRT),vpxmt,vpxmd) +@@ -339,8 +339,8 @@ else + $(qexec)echo 'Libs.private: -lm' >> $@ + endif $(qexec)echo 'Cflags: -I$${includedir}' >> $@ -INSTALL-LIBS-yes += $(LIBSUBDIR)/pkgconfig/vpx.pc -INSTALL_MAPS += $(LIBSUBDIR)/pkgconfig/%.pc %.pc