summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-01-11 10:01:01 +0100
committerMichał Górny <mgorny@gentoo.org>2021-01-11 10:20:02 +0100
commitec4cd6cfd2c5e5b1bf664353065137cbcdb4ad35 (patch)
treed3e6d990e0c6836d4c5d35b4a9f9319a9156cd36 /x11-themes
parentx11-themes/elementary-xfce-icon-theme: Use BDEPEND (diff)
downloadgentoo-ec4cd6cfd2c5e5b1bf664353065137cbcdb4ad35.tar.gz
gentoo-ec4cd6cfd2c5e5b1bf664353065137cbcdb4ad35.tar.bz2
gentoo-ec4cd6cfd2c5e5b1bf664353065137cbcdb4ad35.zip
x11-themes/elementary-xfce-icon-theme: Override flags for svgtopng
Closes: https://bugs.gentoo.org/764899 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/elementary-xfce-icon-theme/elementary-xfce-icon-theme-0.15.2.ebuild6
1 files changed, 6 insertions, 0 deletions
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 94af0ef56281..479d6cc8396c 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