From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/xen-tools/, app-emulation/xen-tools/files/
Date: Sat, 08 Feb 2025 00:55:31 +0000 (UTC) [thread overview]
Message-ID: <1738976094.be24a12f4abbd8f2bb0c38c9f5130f104af2524b.sam@gentoo> (raw)
commit: be24a12f4abbd8f2bb0c38c9f5130f104af2524b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 8 00:44:43 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 8 00:54:54 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be24a12f
app-emulation/xen-tools: build 4.19.1 w/ gnu17 in some parts
Fails to build w/ gnu23.
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-emulation/xen-tools/files/xen-tools-4.19.1-gnu17.patch | 10 ++++++++++
app-emulation/xen-tools/xen-tools-4.18.4_pre1.ebuild | 4 ++++
app-emulation/xen-tools/xen-tools-4.19.1.ebuild | 4 ++++
3 files changed, 18 insertions(+)
diff --git a/app-emulation/xen-tools/files/xen-tools-4.19.1-gnu17.patch b/app-emulation/xen-tools/files/xen-tools-4.19.1-gnu17.patch
new file mode 100644
index 000000000000..82f0068f02bc
--- /dev/null
+++ b/app-emulation/xen-tools/files/xen-tools-4.19.1-gnu17.patch
@@ -0,0 +1,10 @@
+ipxe relies on () not being (void), so just force gnu17 for now for compat
+w/ compilers that default to gnu23.
+--- a/tools/firmware/etherboot/Config
++++ b/tools/firmware/etherboot/Config
+@@ -7,3 +7,5 @@ CFLAGS += -DNO_POST_PROMPT
+
+ CFLAGS += -UCONSOLE_SERIAL
+ CFLAGS += -DCONSOLE_SERIAL=1
++
++CFLAGS += -std=gnu17
diff --git a/app-emulation/xen-tools/xen-tools-4.18.4_pre1.ebuild b/app-emulation/xen-tools/xen-tools-4.18.4_pre1.ebuild
index 81da2098293f..fab9255020b0 100644
--- a/app-emulation/xen-tools/xen-tools-4.18.4_pre1.ebuild
+++ b/app-emulation/xen-tools/xen-tools-4.18.4_pre1.ebuild
@@ -208,6 +208,10 @@ QA_PREBUILT="
RESTRICT="test"
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.19.1-gnu17.patch
+)
+
pkg_setup() {
python_setup
export "CONFIG_LOMOUNT=y"
diff --git a/app-emulation/xen-tools/xen-tools-4.19.1.ebuild b/app-emulation/xen-tools/xen-tools-4.19.1.ebuild
index a7d7cfdd27de..bf00cacae073 100644
--- a/app-emulation/xen-tools/xen-tools-4.19.1.ebuild
+++ b/app-emulation/xen-tools/xen-tools-4.19.1.ebuild
@@ -208,6 +208,10 @@ QA_PREBUILT="
RESTRICT="test"
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.19.1-gnu17.patch
+)
+
pkg_setup() {
python_setup
export "CONFIG_LOMOUNT=y"
next reply other threads:[~2025-02-08 0:55 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-08 0:55 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-05-16 9:29 [gentoo-commits] repo/gentoo:master commit in: app-emulation/xen-tools/, app-emulation/xen-tools/files/ Florian Schmaus
2022-07-13 18:49 Florian Schmaus
2022-02-20 0:31 Sam James
2021-12-21 1:37 Sam James
2021-10-20 9:59 Sam James
2021-09-18 9:50 Joonas Niilola
2021-05-11 15:47 Thomas Deutschmann
2021-02-01 19:24 Thomas Deutschmann
2020-11-11 22:37 Thomas Deutschmann
2020-11-10 15:29 Thomas Deutschmann
2020-07-26 16:22 Thomas Deutschmann
2020-07-09 13:47 Yixun Lan
2020-06-17 15:25 Thomas Deutschmann
2020-05-25 14:21 Yixun Lan
2020-05-25 14:21 Yixun Lan
2020-03-02 10:40 Yixun Lan
2020-03-01 23:59 Yixun Lan
2019-12-10 9:43 Yixun Lan
2019-12-10 9:43 Yixun Lan
2019-11-29 14:51 Yixun Lan
2019-11-13 14:11 Yixun Lan
2019-04-03 4:55 Yixun Lan
2019-03-07 13:35 Yixun Lan
2019-02-16 13:59 Yixun Lan
2018-10-02 11:03 Thomas Deutschmann
2018-08-14 1:20 Yixun Lan
2017-11-22 1:45 Yixun Lan
2017-10-17 7:24 Yixun Lan
2017-10-13 8:05 Yixun Lan
2017-09-07 7:12 Yixun Lan
2017-04-09 0:10 Yixun Lan
2016-12-26 6:09 Yixun Lan
2016-11-22 12:41 Yixun Lan
2016-11-15 10:12 Yixun Lan
2016-11-11 7:23 Yixun Lan
2016-06-27 7:38 Yixun Lan
2015-11-05 7:54 Yixun Lan
2015-10-09 3:37 Yixun Lan
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=1738976094.be24a12f4abbd8f2bb0c38c9f5130f104af2524b.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