Accepting request 714628 from home:jirislaby:branches:mozilla:Factory

- add fix-build-after-y2038-changes-in-glibc.patch

OBS-URL: https://build.opensuse.org/request/show/714628
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=752
This commit is contained in:
Wolfgang Rosenauer 2019-07-15 15:15:08 +00:00 committed by Git OBS Bridge
parent c66dced2e8
commit e62fe7e3d9
3 changed files with 28 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 11 10:51:39 UTC 2019 - Jiri Slaby <jslaby@suse.com>
- add fix-build-after-y2038-changes-in-glibc.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 10 13:47:41 UTC 2019 - Bernhard Wiedemann <bwiedemann@suse.com> Wed Jul 10 13:47:41 UTC 2019 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@ -174,6 +174,7 @@ Patch12: mozilla-s390-bigendian.patch
Patch13: mozilla-reduce-rust-debuginfo.patch Patch13: mozilla-reduce-rust-debuginfo.patch
Patch14: mozilla-ppc-altivec_static_inline.patch Patch14: mozilla-ppc-altivec_static_inline.patch
Patch15: mozilla-bmo1005535.patch Patch15: mozilla-bmo1005535.patch
Patch16: fix-build-after-y2038-changes-in-glibc.patch
# Firefox/browser # Firefox/browser
Patch101: firefox-kde.patch Patch101: firefox-kde.patch
Patch102: firefox-branded-icons.patch Patch102: firefox-branded-icons.patch
@ -300,6 +301,7 @@ cd $RPM_BUILD_DIR/%{source_prefix}
%patch13 -p1 %patch13 -p1
%patch14 -p1 %patch14 -p1
%patch15 -p1 %patch15 -p1
%patch16 -p1
# Firefox # Firefox
%patch101 -p1 %patch101 -p1
%patch102 -p1 %patch102 -p1

View File

@ -0,0 +1,21 @@
From: Jiri Slaby <jslaby@suse.cz>
Date: Thu, 11 Jul 2019 09:35:13 +0200
Subject: fix build after y2038 changes in glibc
SIOCGSTAMP is defined in linux/sockios.h since kernel 5.2. Include that
file wherever needed.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
--- a/media/webrtc/trunk/webrtc/rtc_base/physicalsocketserver.cc
+++ b/media/webrtc/trunk/webrtc/rtc_base/physicalsocketserver.cc
@@ -67,6 +67,7 @@ typedef void* SockOptArg;
#endif // WEBRTC_POSIX
#if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC) && !defined(WEBRTC_BSD) && !defined(__native_client__)
+#include <linux/sockios.h>
int64_t GetSocketRecvTimestamp(int socket) {
struct timeval tv_ioctl;
--
2.21.0