summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-12-09 05:09:52 +0000
committerSam James <sam@gentoo.org>2024-12-09 05:15:45 +0000
commit27ce29590fe3ffbdaa57a4f1647fd190f101aeff (patch)
tree4417fcf73620e4fbbbf09e548375fa35025c7026 /sys-apps/ed
parentsys-apps/ed: drop 1.19-r1 (diff)
downloadgentoo-27ce29590fe3ffbdaa57a4f1647fd190f101aeff.tar.gz
gentoo-27ce29590fe3ffbdaa57a4f1647fd190f101aeff.tar.bz2
gentoo-27ce29590fe3ffbdaa57a4f1647fd190f101aeff.zip
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 <sam@gentoo.org>
Diffstat (limited to 'sys-apps/ed')
-rw-r--r--sys-apps/ed/ed-1.20.2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-apps/ed/ed-1.20.2.ebuild b/sys-apps/ed/ed-1.20.2.ebuild
index ec44180112ba..43d94fb05eb3 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}" \