Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/its4/
Date: Sun, 20 Feb 2022 00:31:40
Message-Id: 1645316993.5973f2fdaef90add74d849934d5b96ab48dafa6e.sam@gentoo
1 commit: 5973f2fdaef90add74d849934d5b96ab48dafa6e
2 Author: Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
3 AuthorDate: Thu Feb 3 21:24:55 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 20 00:29:53 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5973f2fd
7
8 dev-util/its4: Fix build for clang/LLVM toolchain
9
10 The config.C file has five instances of string literals being
11 immediately followed by NEWLINE (a macro that expands to another string
12 literal). C++11 requires a space between string literals.
13
14 Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>
15 Closes: https://bugs.gentoo.org/738936
16 Package-Manager: Portage-3.0.30, Repoman-3.0.3
17 Signed-off-by: Sam James <sam <AT> gentoo.org>
18
19 dev-util/its4/its4-1.1.1-r2.ebuild | 5 +++++
20 1 file changed, 5 insertions(+)
21
22 diff --git a/dev-util/its4/its4-1.1.1-r2.ebuild b/dev-util/its4/its4-1.1.1-r2.ebuild
23 index 5bb0c4ed44fc..86e78a42d315 100644
24 --- a/dev-util/its4/its4-1.1.1-r2.ebuild
25 +++ b/dev-util/its4/its4-1.1.1-r2.ebuild
26 @@ -22,6 +22,11 @@ src_prepare() {
27 sed -i \
28 -e 's/$(CC) -o/$(CC) $(OPTIMIZATION) $(EXTRA_FLAGS) -o/' \
29 "${S}"/Makefile.in || die
30 +
31 + # Bug 738936 fails to compile with clang/LLVM toolchain
32 + sed -i \
33 + -e 's/"NEWLINE/" NEWLINE/g'\
34 + "${S}"/config.C || die
35 eapply_user
36 }