commit:     d16a0fb4d049ecad13f64179257bf5cc4c8b06ed
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 22 07:05:09 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Apr 22 07:05:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d16a0fb4

app-emulation/xen-tools: remove -Werror

Closes: https://bugs.gentoo.org/839891
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-emulation/xen-tools/xen-tools-4.16.0-r3.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

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
 }
 

Reply via email to