summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebengine/chromium/0007-chromium-fix-build-after-y2038-changes-in-glibc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/chromium/0007-chromium-fix-build-after-y2038-changes-in-glibc.patch')
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0007-chromium-fix-build-after-y2038-changes-in-glibc.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtwebengine/chromium/0007-chromium-fix-build-after-y2038-changes-in-glibc.patch b/recipes-qt/qt5/qtwebengine/chromium/0007-chromium-fix-build-after-y2038-changes-in-glibc.patch
new file mode 100644
index 00000000..1e5d4e26
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/chromium/0007-chromium-fix-build-after-y2038-changes-in-glibc.patch
@@ -0,0 +1,31 @@
1From c5ae85ce82fec2333d6b8af3d1f17343fd0eb0ba Mon Sep 17 00:00:00 2001
2From: Jiri Slaby <jslaby@suse.cz>
3Date: Thu, 11 Jul 2019 09:35:13 +0200
4Subject: [PATCH] chromium: fix build after y2038 changes in glibc
5
6SIOCGSTAMP is defined in linux/sockios.h since kernel 5.2. Include that
7file wherever needed.
8
9Signed-off-by: Jiri Slaby <jslaby@suse.cz>
10Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
11
12Upstream-Status: Submitted
13Patch-mainline: submitted on 2019/07/11
14References: QTBUG-76963
15
16---
17 chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc | 1 +
18 1 file changed, 1 insertion(+)
19
20diff --git a/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc b/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc
21index ca78499179a..d91d17f8f00 100644
22--- a/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc
23+++ b/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc
24@@ -68,6 +68,7 @@ typedef void* SockOptArg;
25 #endif // WEBRTC_POSIX
26
27 #if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC) && !defined(__native_client__)
28+#include <linux/sockios.h>
29
30 int64_t GetSocketRecvTimestamp(int socket) {
31 struct timeval tv_ioctl;