diff options
author | Stephan Hartmann <stha09@googlemail.com> | 2020-02-08 22:35:41 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-02-10 07:41:45 +0100 |
commit | c5eefaf080581309a9d4c6dd03c55a84957aa3b5 (patch) | |
tree | f2b82fa4e2a274fc2605640338746dcf8199283a /dev-qt | |
parent | dev-ruby/pluggaloid: add 1.4.1 (diff) | |
download | gentoo-c5eefaf080581309a9d4c6dd03c55a84957aa3b5.tar.gz gentoo-c5eefaf080581309a9d4c6dd03c55a84957aa3b5.tar.bz2 gentoo-c5eefaf080581309a9d4c6dd03c55a84957aa3b5.zip |
dev-qt/qtwebengine: fix building on x86
Closes: https://bugs.gentoo.org/695446
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Stephan Hartmann <stha09@googlemail.com>
Closes: https://github.com/gentoo/gentoo/pull/14598
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt')
-rw-r--r-- | dev-qt/qtwebengine/files/qtwebengine-5.14.1-disable-fatal-warnings.patch | 12 | ||||
-rw-r--r-- | dev-qt/qtwebengine/qtwebengine-5.14.1.ebuild | 4 |
2 files changed, 16 insertions, 0 deletions
diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.14.1-disable-fatal-warnings.patch b/dev-qt/qtwebengine/files/qtwebengine-5.14.1-disable-fatal-warnings.patch new file mode 100644 index 000000000000..40f1f5d6c2a9 --- /dev/null +++ b/dev-qt/qtwebengine/files/qtwebengine-5.14.1-disable-fatal-warnings.patch @@ -0,0 +1,12 @@ +diff --git a/src/buildtools/config/common.pri b/src/buildtools/config/common.pri +index 97d3953..dd3d222 100644 +--- a/src/buildtools/config/common.pri ++++ b/src/buildtools/config/common.pri +@@ -25,6 +25,7 @@ gn_args += \ + v8_use_external_startup_data=false \ + toolkit_views=false \ + treat_warnings_as_errors=false \ ++ fatal_linker_warnings=false \ + safe_browsing_mode=0 \ + optimize_webui=false \ + forbid_non_component_debug_builds=false diff --git a/dev-qt/qtwebengine/qtwebengine-5.14.1.ebuild b/dev-qt/qtwebengine/qtwebengine-5.14.1.ebuild index ce5929f9ca8b..1152cf4edeb9 100644 --- a/dev-qt/qtwebengine/qtwebengine-5.14.1.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-5.14.1.ebuild @@ -77,6 +77,10 @@ DEPEND="${RDEPEND} sys-devel/bison " +PATCHES=( + "${FILESDIR}/${P}-disable-fatal-warnings.patch" # bug 695446 +) + src_prepare() { if ! use jumbo-build; then sed -i -e 's|use_jumbo_build=true|use_jumbo_build=false|' \ |