From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6590A1582EF for ; Sat, 08 Feb 2025 00:55:38 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 3FC79343074 for ; Sat, 08 Feb 2025 00:55:38 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 9F8EC110472; Sat, 08 Feb 2025 00:55:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 96375110472 for ; Sat, 08 Feb 2025 00:55:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4A280340C43 for ; Sat, 08 Feb 2025 00:55:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D728926CA for ; Sat, 08 Feb 2025 00:55:31 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1738976094.be24a12f4abbd8f2bb0c38c9f5130f104af2524b.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/xen-tools/, app-emulation/xen-tools/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/xen-tools/files/xen-tools-4.19.1-gnu17.patch app-emulation/xen-tools/xen-tools-4.18.4_pre1.ebuild app-emulation/xen-tools/xen-tools-4.19.1.ebuild X-VCS-Directories: app-emulation/xen-tools/files/ app-emulation/xen-tools/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: be24a12f4abbd8f2bb0c38c9f5130f104af2524b X-VCS-Branch: master Date: Sat, 08 Feb 2025 00:55:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6fa303b1-a3bf-4aba-8cad-eaba8fb9d265 X-Archives-Hash: 34a2ba4267ed6fc96a67003ebff9d7a3 commit: be24a12f4abbd8f2bb0c38c9f5130f104af2524b Author: Sam James gentoo org> AuthorDate: Sat Feb 8 00:44:43 2025 +0000 Commit: Sam James gentoo 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 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"