[vlc-devel] [PATCH 1/3] contrib: vpx: fix ARM compilation

Steve Lhomme robux4 at videolabs.io
Fri May 20 11:14:28 CEST 2016


---
 contrib/src/vpx/libvpx-arm.patch | 10 ++++++++++
 contrib/src/vpx/rules.mak        |  1 +
 2 files changed, 11 insertions(+)
 create mode 100644 contrib/src/vpx/libvpx-arm.patch

diff --git a/contrib/src/vpx/libvpx-arm.patch b/contrib/src/vpx/libvpx-arm.patch
new file mode 100644
index 0000000..6736f82
--- /dev/null
+++ b/contrib/src/vpx/libvpx-arm.patch
@@ -0,0 +1,10 @@
+--- libvpx/vpx_ports/arm_cpudetect.c	2015-04-03 20:49:19.000000000 +0200
++++ libvpx.ok/vpx_ports/arm_cpudetect.c	2016-05-20 09:57:06.066241700 +0200
+@@ -84,7 +84,6 @@ int arm_cpu_caps(void) {
+     } __except (GetExceptionCode() == EXCEPTION_ILLEGAL_INSTRUCTION) {
+     /*Ignore exception.*/
+   }
+-}
+ #endif /* HAVE_MEDIA */
+ #if HAVE_NEON || HAVE_NEON_ASM
+ if (mask &HAS_NEON) {
diff --git a/contrib/src/vpx/rules.mak b/contrib/src/vpx/rules.mak
index 4b94389..4074e83 100644
--- a/contrib/src/vpx/rules.mak
+++ b/contrib/src/vpx/rules.mak
@@ -14,6 +14,7 @@ libvpx: libvpx-$(VPX_VERSION).tar.bz2 .sum-vpx
 	$(APPLY) $(SRC)/vpx/libvpx-no-cross.patch
 	$(APPLY) $(SRC)/vpx/libvpx-mac.patch
 	$(APPLY) $(SRC)/vpx/libvpx-ios.patch
+	$(APPLY) $(SRC)/vpx/libvpx-arm.patch
 	$(MOVE)
 
 DEPS_vpx =
-- 
2.8.1



More information about the vlc-devel mailing list