From 7e70628c28fa4bbd2c43f74920b9a1073dd8f6df Mon Sep 17 00:00:00 2001 From: Yuri Konotopov Date: Mon, 6 Jan 2020 10:58:12 +0400 Subject: [PATCH] net-news/liferea: fixed build against >=net-libs/webkit-gtk-2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/704594 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Yuri Konotopov Closes: https://github.com/gentoo/gentoo/pull/14257 Signed-off-by: Michał Górny --- 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 8cd6e8a1b5de..523c5692039b 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 370391a17c9a..15e84f1529bb 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 -- 2.26.2