public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/its4/
Date: Sun, 20 Feb 2022 00:31:35 +0000 (UTC)	[thread overview]
Message-ID: <1645316993.5973f2fdaef90add74d849934d5b96ab48dafa6e.sam@gentoo> (raw)

commit:     5973f2fdaef90add74d849934d5b96ab48dafa6e
Author:     Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
AuthorDate: Thu Feb  3 21:24:55 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 20 00:29:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5973f2fd

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 <AT> laumann.xyz>
Closes: https://bugs.gentoo.org/738936
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/its4/its4-1.1.1-r2.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-util/its4/its4-1.1.1-r2.ebuild b/dev-util/its4/its4-1.1.1-r2.ebuild
index 5bb0c4ed44fc..86e78a42d315 100644
--- a/dev-util/its4/its4-1.1.1-r2.ebuild
+++ b/dev-util/its4/its4-1.1.1-r2.ebuild
@@ -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
 }
 


             reply	other threads:[~2022-02-20  0:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-20  0:31 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-20  0:16 [gentoo-commits] repo/gentoo:master commit in: dev-util/its4/ Sam James
2022-03-15 19:54 Sam James
2022-03-15 19:44 Jakov Smolić
2022-02-20  0:31 Sam James
2019-10-07 13:53 Michał Górny
2017-03-30 20:25 Robin H. Johnson
2017-03-30 18:29 Robin H. Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1645316993.5973f2fdaef90add74d849934d5b96ab48dafa6e.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox