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 }