From 27ce29590fe3ffbdaa57a4f1647fd190f101aeff Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 9 Dec 2024 05:09:52 +0000 Subject: [PATCH] sys-apps/ed: build w/ -std=gnu17 (for now) It's already been reported upstream (thank you!) and the next release should work. Added a TODO to drop the hack then. Closes: https://bugs.gentoo.org/943764 Signed-off-by: Sam James --- sys-apps/ed/ed-1.20.2.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys-apps/ed/ed-1.20.2.ebuild b/sys-apps/ed/ed-1.20.2.ebuild index ec44180112ba5..43d94fb05eb34 100644 --- a/sys-apps/ed/ed-1.20.2.ebuild +++ b/sys-apps/ed/ed-1.20.2.ebuild @@ -38,8 +38,9 @@ src_unpack() { } src_configure() { + # TOOD: -std=gnu99 can be dropped on next release > 1.20.2 edo ./configure \ - CC="$(tc-getCC)" \ + CC="$(tc-getCC) -std=gnu99" \ CFLAGS="${CFLAGS}" \ LDFLAGS="${LDFLAGS}" \ CPPFLAGS="${CPPFLAGS}" \