summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2022-04-22 09:05:09 +0200
committerFlorian Schmaus <flow@gentoo.org>2022-04-22 09:05:39 +0200
commitd16a0fb4d049ecad13f64179257bf5cc4c8b06ed (patch)
treee3413463f8629224f97d308b85dbc123361ff5be
parentdev-ruby/syslogger: enable ruby30 and disable ruby25 (diff)
downloadgentoo-d16a0fb4d049ecad13f64179257bf5cc4c8b06ed.tar.gz
gentoo-d16a0fb4d049ecad13f64179257bf5cc4c8b06ed.tar.bz2
gentoo-d16a0fb4d049ecad13f64179257bf5cc4c8b06ed.zip
app-emulation/xen-tools: remove -Werror
Closes: https://bugs.gentoo.org/839891 Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r--app-emulation/xen-tools/xen-tools-4.16.0-r3.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-emulation/xen-tools/xen-tools-4.16.0-r3.ebuild b/app-emulation/xen-tools/xen-tools-4.16.0-r3.ebuild
index 750d5d2e6c4f..5d286bc55afe 100644
--- a/app-emulation/xen-tools/xen-tools-4.16.0-r3.ebuild
+++ b/app-emulation/xen-tools/xen-tools-4.16.0-r3.ebuild
@@ -415,6 +415,10 @@ src_prepare() {
sed -e 's/$(ABI_DUMPER) /echo /g' \
-i tools/libs/libs.mk || die
+ # Remove -Werror
+ find . -type f \( -name Makefile -o -name "*.mk" \) \
+ -exec sed -i "s/-Werror //g" {} + || die
+
default
}