From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/uasm/
Date: Tue, 11 Mar 2025 02:16:52 +0000 (UTC) [thread overview]
Message-ID: <1741659380.51143f93debf35fb8c878bf09cbb63342ab596c4.sam@gentoo> (raw)
commit: 51143f93debf35fb8c878bf09cbb63342ab596c4
Author: NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Mon Mar 10 13:53:55 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 11 02:16:20 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51143f93
dev-lang/uasm: fix build on newer gcc
ideally the source should be fixed upstream. but many of the
existing fixes have already been reported to upstream, both by
myself and others [1] [2] and upstream has not been responsive.
so just patch it up with -std=gnu17 for now.
1: https://github.com/Terraspace/UASM/issues/197
2: https://github.com/Terraspace/UASM/pulls
Closes: https://bugs.gentoo.org/951108
Signed-off-by: NRK <nrk <AT> disroot.org>
Closes: https://github.com/gentoo/gentoo/pull/40998
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lang/uasm/uasm-2.56.2.ebuild | 2 ++
dev-lang/uasm/uasm-2.57.ebuild | 2 ++
2 files changed, 4 insertions(+)
diff --git a/dev-lang/uasm/uasm-2.56.2.ebuild b/dev-lang/uasm/uasm-2.56.2.ebuild
index 71f4e7f3518f..de92e4d8306b 100644
--- a/dev-lang/uasm/uasm-2.56.2.ebuild
+++ b/dev-lang/uasm/uasm-2.56.2.ebuild
@@ -30,6 +30,8 @@ src_compile() {
append-cflags -fcommon
# https://github.com/Terraspace/UASM/issues/197
append-cflags -Wno-error=incompatible-pointer-types
+ # BUG: 951108
+ append-cflags -std=gnu17
emake -f gccLinux64.mak \
CC="$(tc-getCC)" \
diff --git a/dev-lang/uasm/uasm-2.57.ebuild b/dev-lang/uasm/uasm-2.57.ebuild
index 4aff172e02f6..871332b4c96c 100644
--- a/dev-lang/uasm/uasm-2.57.ebuild
+++ b/dev-lang/uasm/uasm-2.57.ebuild
@@ -31,6 +31,8 @@ src_compile() {
append-cflags -fcommon
# BUG: https://github.com/Terraspace/UASM/issues/197
append-cflags -Wno-error=incompatible-pointer-types
+ # BUG: 951108
+ append-cflags -std=gnu17
emake -f Makefile-Linux-GCC-64.mak \
CC="$(tc-getCC)" \
next reply other threads:[~2025-03-11 2:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-11 2:16 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-05 14:26 [gentoo-commits] repo/gentoo:master commit in: dev-lang/uasm/ Sam James
2024-04-05 14:26 Sam James
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=1741659380.51143f93debf35fb8c878bf09cbb63342ab596c4.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