From ec4cd6cfd2c5e5b1bf664353065137cbcdb4ad35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 11 Jan 2021 10:01:01 +0100 Subject: [PATCH] x11-themes/elementary-xfce-icon-theme: Override flags for svgtopng MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/764899 Signed-off-by: Michał Górny --- .../elementary-xfce-icon-theme-0.15.2.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x11-themes/elementary-xfce-icon-theme/elementary-xfce-icon-theme-0.15.2.ebuild b/x11-themes/elementary-xfce-icon-theme/elementary-xfce-icon-theme-0.15.2.ebuild index 94af0ef562817..479d6cc8396cb 100644 --- a/x11-themes/elementary-xfce-icon-theme/elementary-xfce-icon-theme-0.15.2.ebuild +++ b/x11-themes/elementary-xfce-icon-theme/elementary-xfce-icon-theme-0.15.2.ebuild @@ -20,6 +20,12 @@ BDEPEND="media-gfx/optipng x11-libs/gdk-pixbuf:2 x11-libs/gtk+:3" +src_prepare() { + sed -i -e 's:-Werror -O0 -pipe:${CFLAGS} ${CPPFLAGS} ${LDFLAGS}:' \ + svgtopng/Makefile || die + default +} + src_configure() { # custom script ./configure --prefix="${EPREFIX}/usr" || die