summaryrefslogtreecommitdiff
path: root/experimental/firefox-esr/webrtc-broken.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-26 22:21:04 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-26 22:22:59 +0000
commite4650554521c89f1f774bdd143b1359141091e15 (patch)
tree1b9a12209af70b90916182b405f01ac155264178 /experimental/firefox-esr/webrtc-broken.patch
parent954c88d73be84cad6a6cf0b3f2d71ae544190120 (diff)
downloadpackages-e4650554521c89f1f774bdd143b1359141091e15.tar.gz
packages-e4650554521c89f1f774bdd143b1359141091e15.tar.bz2
packages-e4650554521c89f1f774bdd143b1359141091e15.tar.xz
packages-e4650554521c89f1f774bdd143b1359141091e15.zip
experimental/firefox-esr: add ESR 60, which does not work [https://bugzilla.mozilla.org/1499121]
Diffstat (limited to 'experimental/firefox-esr/webrtc-broken.patch')
-rw-r--r--experimental/firefox-esr/webrtc-broken.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/experimental/firefox-esr/webrtc-broken.patch b/experimental/firefox-esr/webrtc-broken.patch
new file mode 100644
index 000000000..593942fef
--- /dev/null
+++ b/experimental/firefox-esr/webrtc-broken.patch
@@ -0,0 +1,30 @@
+diff -Naur firefox-60.0.orig/media/webrtc/trunk/webrtc/system_wrappers/source/cpu_features_linux.c firefox-60.0/media/webrtc/trunk/webrtc/system_wrappers/source/cpu_features_linux.c
+--- firefox-60.0.orig/media/webrtc/trunk/webrtc/system_wrappers/source/cpu_features_linux.c 2018-05-13 17:33:55.266855917 -0700
++++ firefox-60.0/media/webrtc/trunk/webrtc/system_wrappers/source/cpu_features_linux.c 2018-05-13 20:21:08.158464933 -0700
+@@ -11,7 +11,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <features.h>
+-#if __GLIBC_PREREQ(2, 16)
++#if __linux__
+ #include <sys/auxv.h>
+ #else
+ #include <fcntl.h>
+@@ -29,7 +29,7 @@
+ int architecture = 0;
+ unsigned long hwcap = 0;
+ const char* platform = NULL;
+-#if __GLIBC_PREREQ(2, 16)
++#if __linux__
+ hwcap = getauxval(AT_HWCAP);
+ platform = (const char*)getauxval(AT_PLATFORM);
+ #else
+@@ -53,7 +53,7 @@
+ }
+ close(fd);
+ }
+-#endif // __GLIBC_PREREQ(2,16)
++#endif // __linux__
+ #if defined(__aarch64__)
+ architecture = 8;
+ if ((hwcap & HWCAP_FP) != 0)