1 |
commit: eb95b42220ff63338858a7fc86624b8141f910bc |
2 |
Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 29 23:50:42 2019 +0000 |
4 |
Commit: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 29 23:52:27 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=eb95b422 |
7 |
|
8 |
dev-qt/qtwebengine: update crash reporting patch |
9 |
|
10 |
Replace 'no-kcrash-reporting' patch with an upstream fix, and drop |
11 |
it from where it's no longer needed. |
12 |
|
13 |
https://code.qt.io/cgit/qt/qtwebengine-chromium.git/commit/?h=73-based&id=ccfc032f |
14 |
|
15 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
16 |
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org> |
17 |
|
18 |
.../qtwebengine-5.13.1-disable-crash-reports.patch | 29 ++++++++++++++++++++++ |
19 |
.../qtwebengine-5.13.1-no-kcrash-reporting.patch | 18 -------------- |
20 |
dev-qt/qtwebengine/qtwebengine-5.13.1.ebuild | 4 +-- |
21 |
dev-qt/qtwebengine/qtwebengine-5.13.9999.ebuild | 5 ---- |
22 |
dev-qt/qtwebengine/qtwebengine-5.14.0_beta2.ebuild | 2 -- |
23 |
dev-qt/qtwebengine/qtwebengine-5.14.9999.ebuild | 5 ---- |
24 |
6 files changed, 31 insertions(+), 32 deletions(-) |
25 |
|
26 |
diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.13.1-disable-crash-reports.patch b/dev-qt/qtwebengine/files/qtwebengine-5.13.1-disable-crash-reports.patch |
27 |
new file mode 100644 |
28 |
index 00000000..c0a5941b |
29 |
--- /dev/null |
30 |
+++ b/dev-qt/qtwebengine/files/qtwebengine-5.13.1-disable-crash-reports.patch |
31 |
@@ -0,0 +1,29 @@ |
32 |
+From ccfc032fb57e98936ad9dd08ad5e75845b9e74b8 Mon Sep 17 00:00:00 2001 |
33 |
+From: Kirill Burtsev <kirill.burtsev@××.io> |
34 |
+Date: Tue, 2 Jul 2019 17:17:18 +0200 |
35 |
+Subject: FIXUP: Disable crash-reports when reporting is disabled |
36 |
+ |
37 |
+Fix compilation issue because of unknown macro and flag, |
38 |
+as enable_reporting feature is defined for net sub component. |
39 |
+ |
40 |
+Change-Id: I451dc005fec66ddbf7a5c9de43eccfaafa2fe809 |
41 |
+Reviewed-by: Allan Sandfeld Jensen <allan.jensen@××.io> |
42 |
+--- |
43 |
+ chromium/content/public/common/content_features.cc | 1 + |
44 |
+ 1 file changed, 1 insertion(+) |
45 |
+ |
46 |
+diff --git a/chromium/content/public/common/content_features.cc b/chromium/content/public/common/content_features.cc |
47 |
+index e14b7733d9b..ff3f58dc1fc 100644 |
48 |
+--- a/src/3rdparty/chromium/content/public/common/content_features.cc |
49 |
++++ b/src/3rdparty/chromium/content/public/common/content_features.cc |
50 |
+@@ -4,6 +4,7 @@ |
51 |
+ |
52 |
+ #include "content/public/common/content_features.h" |
53 |
+ #include "build/build_config.h" |
54 |
++#include "net/net_buildflags.h" |
55 |
+ |
56 |
+ namespace features { |
57 |
+ |
58 |
+-- |
59 |
+cgit v1.2.1 |
60 |
+ |
61 |
|
62 |
diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.13.1-no-kcrash-reporting.patch b/dev-qt/qtwebengine/files/qtwebengine-5.13.1-no-kcrash-reporting.patch |
63 |
deleted file mode 100644 |
64 |
index 6f66c262..00000000 |
65 |
--- a/dev-qt/qtwebengine/files/qtwebengine-5.13.1-no-kcrash-reporting.patch |
66 |
+++ /dev/null |
67 |
@@ -1,18 +0,0 @@ |
68 |
-Signed-off-by: Nicholas Meyer <nickaristocrates@×××××.com> |
69 |
- |
70 |
---- a/src/3rdparty/chromium/content/public/common/content_features.cc 2019-10-10 22:59:16.733542336 -0700 |
71 |
-+++ b/src/3rdparty/chromium/content/public/common/content_features.cc 2019-10-10 22:59:03.675634565 -0700 |
72 |
-@@ -119,12 +119,7 @@ |
73 |
- // Enables crash reporting via Reporting API. |
74 |
- // https://www.w3.org/TR/reporting/#crash-report |
75 |
- const base::Feature kCrashReporting{"CrashReporting", |
76 |
--#if BUILDFLAG(ENABLE_REPORTING) |
77 |
-- base::FEATURE_ENABLED_BY_DEFAULT |
78 |
--#else |
79 |
-- base::FEATURE_DISABLED_BY_DEFAULT |
80 |
--#endif |
81 |
--}; |
82 |
-+ base::FEATURE_DISABLED_BY_DEFAULT}; |
83 |
- |
84 |
- // Enables specification of a target element in the fragment identifier |
85 |
- // via a CSS selector. |
86 |
|
87 |
diff --git a/dev-qt/qtwebengine/qtwebengine-5.13.1.ebuild b/dev-qt/qtwebengine/qtwebengine-5.13.1.ebuild |
88 |
index 39f64d63..c606a80b 100644 |
89 |
--- a/dev-qt/qtwebengine/qtwebengine-5.13.1.ebuild |
90 |
+++ b/dev-qt/qtwebengine/qtwebengine-5.13.1.ebuild |
91 |
@@ -83,8 +83,8 @@ PATCHES+=( |
92 |
"${FILESDIR}/${P}-pulseaudio-13.patch" # bug 694960 |
93 |
# QTBUG-76963, 5.13 branch: |
94 |
"${FILESDIR}/${P}-webrtc-missing-header-w-linux-headers-5.2.patch" |
95 |
- # bug 693668, upstream(?) TODO: |
96 |
- "${FILESDIR}/${P}-no-kcrash-reporting.patch" |
97 |
+ # bug 693668 |
98 |
+ "${FILESDIR}/${P}-disable-crash-reports.patch" |
99 |
) |
100 |
|
101 |
src_prepare() { |
102 |
|
103 |
diff --git a/dev-qt/qtwebengine/qtwebengine-5.13.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-5.13.9999.ebuild |
104 |
index f22df0e5..3ec1fb34 100644 |
105 |
--- a/dev-qt/qtwebengine/qtwebengine-5.13.9999.ebuild |
106 |
+++ b/dev-qt/qtwebengine/qtwebengine-5.13.9999.ebuild |
107 |
@@ -78,11 +78,6 @@ DEPEND="${RDEPEND} |
108 |
pax_kernel? ( sys-apps/elfix ) |
109 |
" |
110 |
|
111 |
-PATCHES+=( |
112 |
- # bug 693668, upstream(?) TODO: |
113 |
- "${FILESDIR}/${PN}-5.13.1-no-kcrash-reporting.patch" |
114 |
-) |
115 |
- |
116 |
src_prepare() { |
117 |
use pax_kernel && PATCHES+=( "${FILESDIR}/${PN}-5.11.2-paxmark-mksnapshot.patch" ) |
118 |
|
119 |
|
120 |
diff --git a/dev-qt/qtwebengine/qtwebengine-5.14.0_beta2.ebuild b/dev-qt/qtwebengine/qtwebengine-5.14.0_beta2.ebuild |
121 |
index 8ef8814c..7033c9fc 100644 |
122 |
--- a/dev-qt/qtwebengine/qtwebengine-5.14.0_beta2.ebuild |
123 |
+++ b/dev-qt/qtwebengine/qtwebengine-5.14.0_beta2.ebuild |
124 |
@@ -80,8 +80,6 @@ DEPEND="${RDEPEND} |
125 |
|
126 |
PATCHES+=( |
127 |
"${FILESDIR}/${P}-icu-65.patch" |
128 |
- # bug 693668, upstream(?) TODO: |
129 |
- "${FILESDIR}/${PN}-5.13.1-no-kcrash-reporting.patch" |
130 |
) |
131 |
|
132 |
src_prepare() { |
133 |
|
134 |
diff --git a/dev-qt/qtwebengine/qtwebengine-5.14.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-5.14.9999.ebuild |
135 |
index 35adda04..13940d0b 100644 |
136 |
--- a/dev-qt/qtwebengine/qtwebengine-5.14.9999.ebuild |
137 |
+++ b/dev-qt/qtwebengine/qtwebengine-5.14.9999.ebuild |
138 |
@@ -78,11 +78,6 @@ DEPEND="${RDEPEND} |
139 |
pax_kernel? ( sys-apps/elfix ) |
140 |
" |
141 |
|
142 |
-PATCHES+=( |
143 |
- # bug 693668, upstream(?) TODO: |
144 |
- "${FILESDIR}/${PN}-5.13.1-no-kcrash-reporting.patch" |
145 |
-) |
146 |
- |
147 |
src_prepare() { |
148 |
use pax_kernel && PATCHES+=( "${FILESDIR}/${PN}-5.11.2-paxmark-mksnapshot.patch" ) |