diff options
author | Li Q <li66@21cn.com> | 2019-07-13 14:29:57 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-20 16:27:40 -0300 |
commit | 510613b01dcd0d9b583e3515c9069d13c0937891 (patch) | |
tree | fefd3d44453dfa65f44a3d62d2e439f20a9a3483 /testing/firefox/fix-webrtc-glibcisms.patch | |
parent | 0a0f181cc635c90cc70fb6ff9ee0fea59f577dd1 (diff) |
testing/firefox: upgrade to 68.0
Diffstat (limited to 'testing/firefox/fix-webrtc-glibcisms.patch')
-rw-r--r-- | testing/firefox/fix-webrtc-glibcisms.patch | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/testing/firefox/fix-webrtc-glibcisms.patch b/testing/firefox/fix-webrtc-glibcisms.patch index 46fe958e738..658b076dc8a 100644 --- a/testing/firefox/fix-webrtc-glibcisms.patch +++ b/testing/firefox/fix-webrtc-glibcisms.patch @@ -1,13 +1,20 @@ --- ./media/webrtc/trunk/webrtc/system_wrappers/source/cpu_features_linux.c.orig 2018-05-09 23:48:44.677389171 +0200 +++ ./media/webrtc/trunk/webrtc/system_wrappers/source/cpu_features_linux.c 2018-05-09 23:48:56.254373557 +0200 -@@ -14,7 +14,9 @@ +@@ -14,7 +14,7 @@ #ifndef __GLIBC_PREREQ #define __GLIBC_PREREQ(a, b) 0 #endif -#if __GLIBC_PREREQ(2, 16) -+#if !defined(__GLIBC__) -+#include <sys/auxv.h> -+#elif __GLIBC_PREREQ(2, 16) ++#if !__GLIBC__ || __GLIBC_PREREQ(2, 16) #include <sys/auxv.h> #else #include <fcntl.h> +@@ -32,7 +32,7 @@ + int architecture = 0; + unsigned long hwcap = 0; + const char* platform = NULL; +-#if __GLIBC_PREREQ(2, 16) ++#if !__GLIBC__ || __GLIBC_PREREQ(2, 16) + hwcap = getauxval(AT_HWCAP); + platform = (const char*)getauxval(AT_PLATFORM); + #else |