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