1 |
commit: a127863585a1407e549afb7e92f8f0ca355cb109 |
2 |
Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 10 04:17:21 2020 +0000 |
4 |
Commit: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 10 04:46:43 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=a1278635 |
7 |
|
8 |
dev-qt/qtwebengine: fix build with GCC-10 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/721876 |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
12 |
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org> |
13 |
|
14 |
.../files/qtwebengine-5.15.0-gcc-10-build.patch | 64 ++++++++++++++++++++++ |
15 |
dev-qt/qtwebengine/qtwebengine-5.15.0_rc.ebuild | 1 + |
16 |
2 files changed, 65 insertions(+) |
17 |
|
18 |
diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.15.0-gcc-10-build.patch b/dev-qt/qtwebengine/files/qtwebengine-5.15.0-gcc-10-build.patch |
19 |
new file mode 100644 |
20 |
index 00000000..214bf76a |
21 |
--- /dev/null |
22 |
+++ b/dev-qt/qtwebengine/files/qtwebengine-5.15.0-gcc-10-build.patch |
23 |
@@ -0,0 +1,64 @@ |
24 |
+From f6e84fa97536812867be6f4c2162f5b86547477f Mon Sep 17 00:00:00 2001 |
25 |
+From: Jimi Huotari <chiitoo@g.o> |
26 |
+Date: Tue, 5 May 2020 07:50:18 +0300 |
27 |
+Subject: [PATCH] Fix build with GCC 10 |
28 |
+ |
29 |
+Change-Id: I4101211163f3bb3f9a5fa673169aa41fa000ccca |
30 |
+--- |
31 |
+ chromium/media/cdm/supported_cdm_versions.h | 1 + |
32 |
+ .../third_party/perfetto/include/perfetto/base/task_runner.h | 1 + |
33 |
+ chromium/third_party/webrtc/call/rtx_receive_stream.h | 1 + |
34 |
+ .../webrtc/modules/audio_processing/aec3/clockdrift_detector.h | 1 + |
35 |
+ 4 files changed, 4 insertions(+) |
36 |
+ |
37 |
+diff --git a/chromium/media/cdm/supported_cdm_versions.h b/chromium/media/cdm/supported_cdm_versions.h |
38 |
+index dbe59ba5ea7..5216cfe3ee9 100644 |
39 |
+--- a/src/3rdparty/chromium/media/cdm/supported_cdm_versions.h |
40 |
++++ b/src/3rdparty/chromium/media/cdm/supported_cdm_versions.h |
41 |
+@@ -6,6 +6,7 @@ |
42 |
+ #define MEDIA_CDM_SUPPORTED_CDM_VERSIONS_H_ |
43 |
+ |
44 |
+ #include <array> |
45 |
++#include <cstddef> |
46 |
+ |
47 |
+ #include "media/base/media_export.h" |
48 |
+ #include "media/cdm/api/content_decryption_module.h" |
49 |
+diff --git a/chromium/third_party/perfetto/include/perfetto/base/task_runner.h b/chromium/third_party/perfetto/include/perfetto/base/task_runner.h |
50 |
+index cf60401238f..ee4ad255dea 100644 |
51 |
+--- a/src/3rdparty/chromium/third_party/perfetto/include/perfetto/base/task_runner.h |
52 |
++++ b/src/3rdparty/chromium/third_party/perfetto/include/perfetto/base/task_runner.h |
53 |
+@@ -18,6 +18,7 @@ |
54 |
+ #define INCLUDE_PERFETTO_BASE_TASK_RUNNER_H_ |
55 |
+ |
56 |
+ #include <functional> |
57 |
++#include <stdint.h> |
58 |
+ |
59 |
+ #include "perfetto/base/export.h" |
60 |
+ |
61 |
+diff --git a/chromium/third_party/webrtc/call/rtx_receive_stream.h b/chromium/third_party/webrtc/call/rtx_receive_stream.h |
62 |
+index 8ffa4400a9c..66cc46dc091 100644 |
63 |
+--- a/src/3rdparty/chromium/third_party/webrtc/call/rtx_receive_stream.h |
64 |
++++ b/src/3rdparty/chromium/third_party/webrtc/call/rtx_receive_stream.h |
65 |
+@@ -12,6 +12,7 @@ |
66 |
+ #define CALL_RTX_RECEIVE_STREAM_H_ |
67 |
+ |
68 |
+ #include <map> |
69 |
++#include <stdint.h> |
70 |
+ |
71 |
+ #include "call/rtp_packet_sink_interface.h" |
72 |
+ |
73 |
+diff --git a/chromium/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h b/chromium/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h |
74 |
+index 22528c94892..69e624e8b19 100644 |
75 |
+--- a/src/3rdparty/chromium/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h |
76 |
++++ b/src/3rdparty/chromium/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h |
77 |
+@@ -12,6 +12,7 @@ |
78 |
+ #define MODULES_AUDIO_PROCESSING_AEC3_CLOCKDRIFT_DETECTOR_H_ |
79 |
+ |
80 |
+ #include <array> |
81 |
++#include <cstddef> |
82 |
+ |
83 |
+ namespace webrtc { |
84 |
+ |
85 |
+-- |
86 |
+2.26.2 |
87 |
+ |
88 |
|
89 |
diff --git a/dev-qt/qtwebengine/qtwebengine-5.15.0_rc.ebuild b/dev-qt/qtwebengine/qtwebengine-5.15.0_rc.ebuild |
90 |
index 7c6d8e1d..91e79534 100644 |
91 |
--- a/dev-qt/qtwebengine/qtwebengine-5.15.0_rc.ebuild |
92 |
+++ b/dev-qt/qtwebengine/qtwebengine-5.15.0_rc.ebuild |
93 |
@@ -81,6 +81,7 @@ DEPEND="${RDEPEND} |
94 |
PATCHES=( |
95 |
"${FILESDIR}/${PN}-5.15.0-disable-fatal-warnings.patch" # bug 695446 |
96 |
"${FILESDIR}/${PN}-5.14.2-icu67.patch" # bug 720054 |
97 |
+ "${FILESDIR}/${PN}-5.15.0-gcc-10-build.patch" # bug 721876 |
98 |
) |
99 |
|
100 |
src_prepare() { |