commit:     ec4cd6cfd2c5e5b1bf664353065137cbcdb4ad35
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 11 09:01:01 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan 11 09:20:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec4cd6cf

x11-themes/elementary-xfce-icon-theme: Override flags for svgtopng

Closes: https://bugs.gentoo.org/764899
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../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 94af0ef5628..479d6cc8396 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

Reply via email to