Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/xen-tools/
Date: Sun, 08 May 2022 12:03:29
Message-Id: 1652011400.137c6d0032d7734a0a884d82812b8d2e7fa48be2.flow@gentoo
1 commit: 137c6d0032d7734a0a884d82812b8d2e7fa48be2
2 Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 8 12:02:25 2022 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Sun May 8 12:03:20 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=137c6d00
7
8 app-emulation/xen-tools: remove more -Werror arguments
9
10 Closes: https://bugs.gentoo.org/843269
11 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
12
13 app-emulation/xen-tools/xen-tools-4.16.0-r4.ebuild | 6 +++++-
14 1 file changed, 5 insertions(+), 1 deletion(-)
15
16 diff --git a/app-emulation/xen-tools/xen-tools-4.16.0-r4.ebuild b/app-emulation/xen-tools/xen-tools-4.16.0-r4.ebuild
17 index d47a25185322..60c3e719f0c0 100644
18 --- a/app-emulation/xen-tools/xen-tools-4.16.0-r4.ebuild
19 +++ b/app-emulation/xen-tools/xen-tools-4.16.0-r4.ebuild
20 @@ -419,7 +419,11 @@ src_prepare() {
21
22 # Remove -Werror
23 find . -type f \( -name Makefile -o -name "*.mk" \) \
24 - -exec sed -i "s/-Werror //g" {} + || die
25 + -exec sed -i \
26 + -e 's/-Werror //g' \
27 + -e '/^CFLAGS *+= -Werror$/d' \
28 + -e 's/, "-Werror"//' \
29 + {} + || die
30
31 default
32 }