Here is an update to libvpx 1.8.0.
Index: Makefile
===================================================================
RCS file: /home/cvs/ports/multimedia/libvpx/Makefile,v
retrieving revision 1.37
diff -u -p -u -p -r1.37 Makefile
--- Makefile 17 Oct 2018 08:22:29 -0000 1.37
+++ Makefile 5 Feb 2019 00:22:20 -0000
@@ -2,15 +2,14 @@
COMMENT= Google VP8/VP9 video codec
-VER= 1.7.0
+VER= 1.8.0
CATEGORIES= multimedia
-REVISION= 0
EPOCH= 0
GH_ACCOUNT= webmproject
GH_PROJECT= libvpx
GH_TAGNAME= v${VER}
-SHARED_LIBS= vpx 11.0
+SHARED_LIBS= vpx 12.0
HOMEPAGE= https://www.webmproject.org/
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/multimedia/libvpx/distinfo,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 distinfo
--- distinfo 26 Sep 2018 07:14:28 -0000 1.14
+++ distinfo 5 Feb 2019 00:13:39 -0000
@@ -1,2 +1,2 @@
-SHA256 (libvpx-1.7.0.tar.gz) = H+yTHrXJQnmtIZpbbgICNY6UqTqQz7FgNXjDJqv8Ejg=
-SIZE (libvpx-1.7.0.tar.gz) = 2679797
+SHA256 (libvpx-1.8.0.tar.gz) = ht8YxpThwGzI+D0tgW6ScHR6DOar4xbpOk9AlWiTc/Y=
+SIZE (libvpx-1.8.0.tar.gz) = 2879302
Index: patches/patch-build_make_Makefile
===================================================================
RCS file: /home/cvs/ports/multimedia/libvpx/patches/patch-build_make_Makefile,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 patch-build_make_Makefile
--- patches/patch-build_make_Makefile 26 Sep 2018 07:14:28 -0000 1.12
+++ patches/patch-build_make_Makefile 5 Feb 2019 00:18:20 -0000
@@ -2,7 +2,7 @@ $OpenBSD: patch-build_make_Makefile,v 1.
Index: build/make/Makefile
--- build/make/Makefile.orig
+++ build/make/Makefile
-@@ -301,8 +301,7 @@ define so_template
+@@ -302,8 +302,7 @@ define so_template
# This needs further abstraction for dealing with non-GNU linkers.
$(1):
$(if $(quiet),@echo " [LD] $$@")
@@ -12,7 +12,7 @@ Index: build/make/Makefile
-Wl,--version-script,$$(EXPORTS_FILE) -o $$@ \
$$(filter %.o,$$^) $$(extralibs)
endef
-@@ -387,7 +386,7 @@ LIBS=$(call enabled,LIBS)
+@@ -388,7 +387,7 @@ LIBS=$(call enabled,LIBS)
.libs: $(LIBS)
@touch $@
$(foreach lib,$(filter %_g.a,$(LIBS)),$(eval $(call archive_template,$(lib))))
Index: patches/patch-configure
===================================================================
RCS file: /home/cvs/ports/multimedia/libvpx/patches/patch-configure,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 patch-configure
--- patches/patch-configure 17 Oct 2018 08:22:29 -0000 1.17
+++ patches/patch-configure 5 Feb 2019 00:18:13 -0000
@@ -2,18 +2,17 @@ $OpenBSD: patch-configure,v 1.17 2018/10
Index: configure
--- configure.orig
+++ configure
-@@ -114,8 +114,10 @@ all_platforms="${all_platforms} armv7s-darwin-gcc"
+@@ -115,7 +115,9 @@ all_platforms="${all_platforms} armv7s-darwin-gcc"
all_platforms="${all_platforms} armv8-linux-gcc"
all_platforms="${all_platforms} mips32-linux-gcc"
all_platforms="${all_platforms} mips64-linux-gcc"
+all_platforms="${all_platforms} ppc-linux-gcc"
- all_platforms="${all_platforms} ppc64-linux-gcc"
all_platforms="${all_platforms} ppc64le-linux-gcc"
+all_platforms="${all_platforms} sparc-linux-gcc"
all_platforms="${all_platforms} sparc-solaris-gcc"
all_platforms="${all_platforms} x86-android-gcc"
all_platforms="${all_platforms} x86-darwin8-gcc"
-@@ -170,7 +172,7 @@ for t in ${all_targets}; do
+@@ -166,7 +168,7 @@ for t in ${all_targets}; do
[ -f "${source_path}/${t}.mk" ] && enable_feature ${t}
done
@@ -22,7 +21,7 @@ Index: configure
die "diff missing: Try installing diffutils via your package manager."
fi
-@@ -185,19 +187,6 @@ if [ "`cd \"${source_path}\" && pwd`" != "`pwd`" ]; th
+@@ -181,19 +183,6 @@ if [ "`cd \"${source_path}\" && pwd`" != "`pwd`" ]; th
fi
fi
@@ -46,8 +45,8 @@ Index: configure
# here rather than at option parse time because the target auto-detect
# magic happens after the command line has been parsed.
case "${tgt_os}" in
-- linux|os2|darwin*|iphonesimulator*)
-+ linux|*bsd|os2|darwin*|iphonesimulator*)
+- linux|os2|solaris|darwin*|iphonesimulator*)
++ linux|*bsd|os2|solaris|darwin*|iphonesimulator*)
# Supported platforms
;;
*)
Index: patches/patch-examples_mk
===================================================================
RCS file: /home/cvs/ports/multimedia/libvpx/patches/patch-examples_mk,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 patch-examples_mk
--- patches/patch-examples_mk 15 Jan 2017 09:59:11 -0000 1.7
+++ patches/patch-examples_mk 5 Feb 2019 00:18:13 -0000
@@ -1,7 +1,8 @@
$OpenBSD: patch-examples_mk,v 1.7 2017/01/15 09:59:11 ajacoutot Exp $
---- examples.mk.orig Thu Jan 12 15:27:27 2017
-+++ examples.mk Sat Jan 14 18:47:23 2017
-@@ -317,7 +317,7 @@ else
+Index: examples.mk
+--- examples.mk.orig
++++ examples.mk
+@@ -318,7 +318,7 @@ else
SHARED_LIB_SUF=.so
endif
endif
Index: patches/patch-libs_mk
===================================================================
RCS file: /home/cvs/ports/multimedia/libvpx/patches/patch-libs_mk,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 patch-libs_mk
--- patches/patch-libs_mk 26 Sep 2018 07:14:28 -0000 1.16
+++ patches/patch-libs_mk 5 Feb 2019 00:18:13 -0000
@@ -2,18 +2,7 @@ $OpenBSD: patch-libs_mk,v 1.16 2018/09/2
Index: libs.mk
--- libs.mk.orig
+++ libs.mk
-@@ -115,10 +115,6 @@ endif
-
- # Suppress -Wextra warnings in third party code.
- $(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
-
- ifeq ($(CONFIG_MSVS),yes)
- CODEC_LIB=$(if $(CONFIG_STATIC_MSVCRT),vpxmt,vpxmd)
-@@ -256,22 +252,17 @@ EXPORT_FILE := libvpx.def
+@@ -256,22 +256,17 @@ EXPORT_FILE := libvpx.def
LIBVPX_SO_SYMLINKS :=
LIBVPX_SO_IMPLIB := libvpx_dll.a
else
@@ -36,8 +25,8 @@ Index: libs.mk
-$(BUILD_PFX)$(LIBVPX_SO): SONAME = libvpx.so.$(SO_VERSION_MAJOR)
$(BUILD_PFX)$(LIBVPX_SO): EXPORTS_FILE = $(EXPORT_FILE)
- libvpx.ver: $(call enabled,CODEC_EXPORTS)
-@@ -306,15 +297,7 @@ $(1): $(2)
+ libvpx.def: $(call enabled,CODEC_EXPORTS)
+@@ -294,15 +289,7 @@ $(1): $(2)
$(qexec)ln -sf $(2) $$@
endef
Index: patches/patch-vp8_common_postproc_c
===================================================================
RCS file: patches/patch-vp8_common_postproc_c
diff -N patches/patch-vp8_common_postproc_c
--- patches/patch-vp8_common_postproc_c 17 Oct 2018 08:22:29 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-$OpenBSD: patch-vp8_common_postproc_c,v 1.1 2018/10/17 08:22:29 ajacoutot Exp $
-
-Use-after-free fix.
-
-Index: vp8/common/postproc.c
---- vp8/common/postproc.c.orig
-+++ vp8/common/postproc.c
-@@ -65,7 +65,7 @@ void vp8_deblock(VP8_COMMON *cm, YV12_BUFFER_CONFIG *s
- double level = 6.0e-05 * q * q * q - .0067 * q * q + .306 * q + .0065;
- int ppl = (int)(level + .5);
-
-- const MODE_INFO *mode_info_context = cm->show_frame_mi;
-+ const MODE_INFO *mode_info_context = cm->mi;
- int mbr, mbc;
-
- /* The pixel thresholds are adjusted according to if or not the macroblock