workaround FTBFS against kernel-headers-5.2.0+

epel9
Rex Dieter 6 years ago
parent 2716688115
commit 0a8735c2ce

@ -77,6 +77,8 @@ Patch2: qtwebengine-opensource-src-5.12.1-fix-extractcflag.patch
# disable NEON vector instructions on ARM where the NEON code FTBFS due to
# GCC bug https://bugzilla.redhat.com/show_bug.cgi?id=1282495
Patch3: qtwebengine-opensource-src-5.9.0-no-neon.patch
# workaround FTBFS against kernel-headers-5.2.0+
Patch4: qtwebengine-SIOCGSTAMP.patch
# remove Android dependencies from openmax_dl ARM NEON detection (detect.c)
Patch10: qtwebengine-opensource-src-5.9.0-openmax-dl-neon.patch
# Force verbose output from the GN bootstrap process
@ -343,6 +345,7 @@ BuildArch: noarch
%if !0%{?arm_neon}
%patch3 -p1 -b .no-neon
%endif
%patch4 -p1 -b .SIOCGSTAMP
## upstream patches

@ -0,0 +1,11 @@
diff -up qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc.socket qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc
--- qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc.socket 2019-04-04 10:55:59.000000000 -0500
+++ qtwebengine-everywhere-src-5.12.3/src/3rdparty/chromium/third_party/webrtc/rtc_base/physicalsocketserver.cc 2019-06-04 16:21:09.120555044 -0500
@@ -69,6 +69,7 @@ typedef void* SockOptArg;
#if defined(WEBRTC_POSIX) && !defined(WEBRTC_MAC) && !defined(__native_client__)
+#include <linux/socket.h>
int64_t GetSocketRecvTimestamp(int socket) {
struct timeval tv_ioctl;
int ret = ioctl(socket, SIOCGSTAMP, &tv_ioctl);
Loading…
Cancel
Save