From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1718920-garchives=archives.gentoo.org@lists.gentoo.org>
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) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 7F90D1582EF
	for <garchives@archives.gentoo.org>; Tue, 18 Feb 2025 00:12:07 +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) server-digest SHA256)
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 6D9B9340C7B
	for <garchives@archives.gentoo.org>; Tue, 18 Feb 2025 00:12:07 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id 6CBE21103A8;
	Tue, 18 Feb 2025 00:12:06 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id 61F831103A8
	for <gentoo-commits@lists.gentoo.org>; Tue, 18 Feb 2025 00:12:06 +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) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 1142E340C7B
	for <gentoo-commits@lists.gentoo.org>; Tue, 18 Feb 2025 00:12:06 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 67E7D175A
	for <gentoo-commits@lists.gentoo.org>; Tue, 18 Feb 2025 00:12:04 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1739837482.48b64f600bf44785c5b855ad5329a367b51a9a06.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/xen-tools/
X-VCS-Repository: repo/gentoo
X-VCS-Files: 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/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 48b64f600bf44785c5b855ad5329a367b51a9a06
X-VCS-Branch: master
Date: Tue, 18 Feb 2025 00:12:04 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: dc3ff4b6-0046-47d4-8ae6-9c0f8df1eed1
X-Archives-Hash: 37f9cd788d5a853c01c32f5d5f850d86

commit:     48b64f600bf44785c5b855ad5329a367b51a9a06
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 18 00:10:45 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 18 00:11:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48b64f60

app-emulation/xen-tools: make sed conditional

Closes: https://bugs.gentoo.org/949524
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-emulation/xen-tools/xen-tools-4.18.4_pre1.ebuild | 8 ++++----
 app-emulation/xen-tools/xen-tools-4.19.1.ebuild      | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

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 8292b81c6320..9d279062bd48 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
@@ -399,11 +399,11 @@ src_prepare() {
 		pushd tools/firmware/ovmf-dir-remote > /dev/null || die
 		eapply "${FILESDIR}"/edk2-202202-binutils-2.41-textrels.patch
 		popd > /dev/null || die
-	fi
 
-	# Use gnu17 because incompatible w/ C23
-	sed -i -e "s:-DZZLEXBUFSIZE=65536:-DZZLEXBUFSIZE=65536 -std=gnu17:" \
-		tools/firmware/ovmf-dir-remote/BaseTools/Source/C/VfrCompile/Pccts/*/makefile || die
+		# Use gnu17 because incompatible w/ C23
+		sed -i -e "s:-DZZLEXBUFSIZE=65536:-DZZLEXBUFSIZE=65536 -std=gnu17:" \
+			tools/firmware/ovmf-dir-remote/BaseTools/Source/C/VfrCompile/Pccts/*/makefile || die
+	fi
 
 	default
 }

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 06afb06cbb4d..0effdb741757 100644
--- a/app-emulation/xen-tools/xen-tools-4.19.1.ebuild
+++ b/app-emulation/xen-tools/xen-tools-4.19.1.ebuild
@@ -399,11 +399,11 @@ src_prepare() {
 		pushd tools/firmware/ovmf-dir-remote > /dev/null || die
 		eapply "${FILESDIR}"/edk2-202202-binutils-2.41-textrels.patch
 		popd > /dev/null || die
-	fi
 
-	# Use gnu17 because incompatible w/ C23
-	sed -i -e "s:-DZZLEXBUFSIZE=65536:-DZZLEXBUFSIZE=65536 -std=gnu17:" \
-		tools/firmware/ovmf-dir-remote/BaseTools/Source/C/VfrCompile/Pccts/*/makefile || die
+		# Use gnu17 because incompatible w/ C23
+		sed -i -e "s:-DZZLEXBUFSIZE=65536:-DZZLEXBUFSIZE=65536 -std=gnu17:" \
+			tools/firmware/ovmf-dir-remote/BaseTools/Source/C/VfrCompile/Pccts/*/makefile || die
+	fi
 
 	default
 }