summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2019-07-10 20:16:33 +0200
committerMartin Stransky <stransky@redhat.com>2019-07-10 20:16:33 +0200
commitbdad7ba3db39eafb3e0eecd2131d53752e1131cb (patch)
treecc714565bf828658ec2680d1b4279df8e6f7d56b
parentTemporary disable aarch64/ppc64le (diff)
downloadlibrewolf-fedora-ff-bdad7ba3db39eafb3e0eecd2131d53752e1131cb.tar.gz
librewolf-fedora-ff-bdad7ba3db39eafb3e0eecd2131d53752e1131cb.tar.bz2
librewolf-fedora-ff-bdad7ba3db39eafb3e0eecd2131d53752e1131cb.zip
added firefox-SIOCGSTAMP.patch
-rw-r--r--firefox-SIOCGSTAMP.patch16
-rw-r--r--firefox.spec2
2 files changed, 18 insertions, 0 deletions
diff --git a/firefox-SIOCGSTAMP.patch b/firefox-SIOCGSTAMP.patch
new file mode 100644
index 0000000..673cb07
--- /dev/null
+++ b/firefox-SIOCGSTAMP.patch
@@ -0,0 +1,16 @@
+diff -up firefox-68.0/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium.old firefox-68.0/media/libyuv/libyuv/tools_libyuv/autoroller/unittests/testdata/DEPS.chromium
+diff -up firefox-68.0/media/webrtc/trunk/Makefile.old firefox-68.0/media/webrtc/trunk/Makefile
+diff -up firefox-68.0/media/webrtc/trunk/webrtc/rtc_base/physicalsocketserver.cc.old firefox-68.0/media/webrtc/trunk/webrtc/rtc_base/physicalsocketserver.cc
+--- firefox-68.0/media/webrtc/trunk/webrtc/rtc_base/physicalsocketserver.cc.old 2019-07-10 20:10:04.420328534 +0200
++++ firefox-68.0/media/webrtc/trunk/webrtc/rtc_base/physicalsocketserver.cc 2019-07-10 20:13:48.766658793 +0200
+@@ -62,6 +62,10 @@ typedef void* SockOptArg;
+
+ #if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC) && !defined(WEBRTC_BSD) && !defined(__native_client__)
+
++#ifndef SIOCGSTAMP
++#define SIOCGSTAMP 0x8906 /* Get stamp (timeval) */
++#endif
++
+ int64_t GetSocketRecvTimestamp(int socket) {
+ struct timeval tv_ioctl;
+ int ret = ioctl(socket, SIOCGSTAMP, &tv_ioctl);
diff --git a/firefox.spec b/firefox.spec
index 090f2e0..32cd2f0 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -135,6 +135,7 @@ Patch224: mozilla-1170092.patch
#ARM run-time patch
Patch226: rhbz-1354671.patch
Patch227: firefox-locale-debug.patch
+Patch228: firefox-SIOCGSTAMP.patch
# Upstream patches
Patch402: mozilla-1196777.patch
@@ -334,6 +335,7 @@ This package contains results of tests executed during build.
%patch226 -p1 -b .1354671
%endif
%patch227 -p1 -b .locale-debug
+%patch228 -p1 -b .SIOCGSTAMP
%patch402 -p1 -b .1196777
#%patch413 -p1 -b .1353817
bgstack15