svn commit: r451574 - in branches/2017Q4/multimedia/libvpx: . files

Jan Beich jbeich at FreeBSD.org
Sun Oct 8 20:34:00 UTC 2017


Author: jbeich
Date: Sun Oct  8 20:33:58 2017
New Revision: 451574
URL: https://svnweb.freebsd.org/changeset/ports/451574

Log:
  MFH: r451562
  
  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.
  
  Approved by:	ports-secteam blanket

Modified:
  branches/2017Q4/multimedia/libvpx/Makefile
  branches/2017Q4/multimedia/libvpx/files/patch-libs.mk
Directory Properties:
  branches/2017Q4/   (props changed)

Modified: branches/2017Q4/multimedia/libvpx/Makefile
==============================================================================
--- branches/2017Q4/multimedia/libvpx/Makefile	Sun Oct  8 20:22:48 2017	(r451573)
+++ branches/2017Q4/multimedia/libvpx/Makefile	Sun Oct  8 20:33:58 2017	(r451574)
@@ -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: branches/2017Q4/multimedia/libvpx/files/patch-libs.mk
==============================================================================
--- branches/2017Q4/multimedia/libvpx/files/patch-libs.mk	Sun Oct  8 20:22:48 2017	(r451573)
+++ branches/2017Q4/multimedia/libvpx/files/patch-libs.mk	Sun Oct  8 20:33:58 2017	(r451574)
@@ -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


More information about the svn-ports-all mailing list