commit:     9d8a69d0257d8eca4012a7ba63bd7d1bbf85873b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 19 22:41:05 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Oct 19 22:41:05 2019 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=9d8a69d0

dev-qt/qtwebengine: Try to fix some randomly occurring build error

Thanks-to: Nicholas Meyer <nickaristocrates <AT> gmail.com>
Bug: https://bugs.gentoo.org/693668
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/qtwebengine-5.13.1-no-kcrash-reporting.patch | 18 ++++++++++++++++++
 dev-qt/qtwebengine/qtwebengine-5.13.1.ebuild           |  4 +++-
 2 files changed, 21 insertions(+), 1 deletion(-)

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
new file mode 100644
index 00000000..477e0f50
--- /dev/null
+++ b/dev-qt/qtwebengine/files/qtwebengine-5.13.1-no-kcrash-reporting.patch
@@ -0,0 +1,18 @@
+Signed-off-by: Nicholas Meyer <[email protected]>
+
+--- a/src/3rdparty/chromium/content/public/common/content_features.cc  
2019-10-10 22:59:16.733542336 -0700
++++ b/src/3rdparty/chromium/content/public/common/content_features.cc  
2019-10-10 22:59:03.675634565 -0700
+@@ -119,12 +119,7 @@
+ // Enables crash reporting via Reporting API.
+ // https://www.w3.org/TR/reporting/#crash-report
+ const base::Feature kCrashReporting{"CrashReporting",
+-#if BUILDFLAG(ENABLE_REPORTING)
+-                                    base::FEATURE_ENABLED_BY_DEFAULT
+-#else
+-                                    base::FEATURE_DISABLED_BY_DEFAULT
+-#endif
+-};
++                                    base::FEATURE_DISABLED_BY_DEFAULT};
+ 
+ // Enables specification of a target element in the fragment identifier
+ // via a CSS selector.
\ No newline at end of file

diff --git a/dev-qt/qtwebengine/qtwebengine-5.13.1.ebuild 
b/dev-qt/qtwebengine/qtwebengine-5.13.1.ebuild
index 8e40a949..59976932 100644
--- a/dev-qt/qtwebengine/qtwebengine-5.13.1.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-5.13.1.ebuild
@@ -80,8 +80,10 @@ DEPEND="${RDEPEND}
 
 PATCHES+=(
        "${FILESDIR}/${P}-pulseaudio-13.patch" # bug 694960
-       # QTBUG-76963, not yet upstream:
+       # QTBUG-76963, 5.13 branch:
        
"${FILESDIR}/${PN}-5.13.1-webrtc-missing-header-w-linux-headers-5.2.patch"
+       # bug 693668, upstream(?) TODO:
+       "${FILESDIR}/${P}-no-kcrash-reporting.patch"
 )
 
 src_prepare() {

Reply via email to