commit:     7e70628c28fa4bbd2c43f74920b9a1073dd8f6df
Author:     Yuri Konotopov <ykonotopov <AT> gnome <DOT> org>
AuthorDate: Mon Jan  6 06:58:12 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan  6 14:04:25 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e70628c

net-news/liferea: fixed build against >=net-libs/webkit-gtk-2.26.2

Closes: https://bugs.gentoo.org/704594
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Yuri Konotopov <ykonotopov <AT> gnome.org>
Closes: https://github.com/gentoo/gentoo/pull/14257
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-news/liferea/liferea-1.12.3.ebuild | 7 +++++++
 net-news/liferea/liferea-1.12.7.ebuild | 7 +++++++
 2 files changed, 14 insertions(+)

diff --git a/net-news/liferea/liferea-1.12.3.ebuild 
b/net-news/liferea/liferea-1.12.3.ebuild
index 8cd6e8a1b5d..523c5692039 100644
--- a/net-news/liferea/liferea-1.12.3.ebuild
+++ b/net-news/liferea/liferea-1.12.3.ebuild
@@ -43,6 +43,13 @@ src_configure() {
        gnome2_src_configure --disable-schemas-compile
 }
 
+src_compile() {
+       # Workaround crash in libwebkit2gtk-4.0.so
+       # https://bugs.gentoo.org/704594
+       WEBKIT_DISABLE_COMPOSITING_MODE=1 \
+                gnome2_src_compile
+}
+
 src_install() {
        gnome2_src_install
 

diff --git a/net-news/liferea/liferea-1.12.7.ebuild 
b/net-news/liferea/liferea-1.12.7.ebuild
index 370391a17c9..15e84f1529b 100644
--- a/net-news/liferea/liferea-1.12.7.ebuild
+++ b/net-news/liferea/liferea-1.12.7.ebuild
@@ -34,6 +34,13 @@ DEPEND="${RDEPEND}
        dev-util/intltool
        virtual/pkgconfig"
 
+src_compile() {
+       # Workaround crash in libwebkit2gtk-4.0.so
+       # https://bugs.gentoo.org/704594
+       WEBKIT_DISABLE_COMPOSITING_MODE=1 \
+               gnome2_src_compile
+}
+
 pkg_postinst() {
        gnome2_pkg_postinst
 

Reply via email to