mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-util/its4: Fix build for clang/LLVM toolchain
The config.C file has five instances of string literals being immediately followed by NEWLINE (a macro that expands to another string literal). C++11 requires a space between string literals. Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz> Closes: https://bugs.gentoo.org/738936 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
91d6e8e1eb
commit
5973f2fdae
@@ -22,6 +22,11 @@ src_prepare() {
|
||||
sed -i \
|
||||
-e 's/$(CC) -o/$(CC) $(OPTIMIZATION) $(EXTRA_FLAGS) -o/' \
|
||||
"${S}"/Makefile.in || die
|
||||
|
||||
# Bug 738936 fails to compile with clang/LLVM toolchain
|
||||
sed -i \
|
||||
-e 's/"NEWLINE/" NEWLINE/g'\
|
||||
"${S}"/config.C || die
|
||||
eapply_user
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user