From b4f9f22effea18f6ada4ea15299021c6f52caff2 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 2 Sep 2019 13:32:54 -0700 Subject: qtwebengine: Fix compile failure with 5.2+ kernel headers Fixes error: 'SIOCGSTAMP' was not declared in this scope Signed-off-by: Khem Raj Signed-off-by: Martin Jansa --- ...um-fix-build-after-y2038-changes-in-glibc.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 recipes-qt/qt5/qtwebengine/chromium/0007-chromium-fix-build-after-y2038-changes-in-glibc.patch (limited to 'recipes-qt/qt5/qtwebengine/chromium/0007-chromium-fix-build-after-y2038-changes-in-glibc.patch') 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 @@ +From c5ae85ce82fec2333d6b8af3d1f17343fd0eb0ba Mon Sep 17 00:00:00 2001 +From: Jiri Slaby +Date: Thu, 11 Jul 2019 09:35:13 +0200 +Subject: [PATCH] chromium: 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 +Signed-off-by: Martin Jansa + +Upstream-Status: Submitted +Patch-mainline: submitted on 2019/07/11 +References: QTBUG-76963 + +--- + chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc b/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc +index ca78499179a..d91d17f8f00 100644 +--- a/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc ++++ b/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc +@@ -68,6 +68,7 @@ typedef void* SockOptArg; + #endif // WEBRTC_POSIX + + #if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC) && !defined(__native_client__) ++#include + + int64_t GetSocketRecvTimestamp(int socket) { + struct timeval tv_ioctl; -- cgit v1.2.3-54-g00ecf