summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebengine/chromium
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/chromium')
-rw-r--r--recipes-qt/qt5/qtwebengine/chromium/0007-chromium-fix-build-after-y2038-changes-in-glibc.patch29
1 files changed, 29 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..bdab820a
--- /dev/null
+++ b/recipes-qt/qt5/qtwebengine/chromium/0007-chromium-fix-build-after-y2038-changes-in-glibc.patch
@@ -0,0 +1,29 @@
1From: Jiri Slaby <jslaby@suse.cz>
2Date: Thu, 11 Jul 2019 09:35:13 +0200
3Subject: fix build after y2038 changes in glibc
4Patch-mainline: submitted on 2019/07/11
5References: QTBUG-76963
6
7SIOCGSTAMP is defined in linux/sockios.h since kernel 5.2. Include that
8file wherever needed.
9
10Signed-off-by: Jiri Slaby <jslaby@suse.cz>
11---
12Upstream-Status: Pending
13
14 chromium/third_party/webrtc/rtc_base/physical_socket_server.cc | 1 +
15 1 file changed, 1 insertion(+)
16
17--- a/chromium/third_party/webrtc/rtc_base/physical_socket_server.cc
18+++ b/chromium/third_party/webrtc/rtc_base/physical_socket_server.cc
19@@ -67,6 +67,7 @@ typedef void* SockOptArg;
20 #endif // WEBRTC_POSIX
21
22 #if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC) && !defined(__native_client__)
23+#include <linux/sockios.h>
24
25 int64_t GetSocketRecvTimestamp(int socket) {
26 struct timeval tv_ioctl;
27--
282.21.0
29