commit: 74bead07daccb608dacc9def810ad9924a9260b0 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Dec 1 14:39:35 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Dec 1 14:55:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74bead07
dev-java/byaccj: build w/ -std=gnu17 Closes: https://bugs.gentoo.org/880329 Closes: https://bugs.gentoo.org/944104 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-java/byaccj/byaccj-1.15-r3.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-java/byaccj/byaccj-1.15-r3.ebuild b/dev-java/byaccj/byaccj-1.15-r3.ebuild index e1f996fcb550..a2d15fc92a46 100644 --- a/dev-java/byaccj/byaccj-1.15-r3.ebuild +++ b/dev-java/byaccj/byaccj-1.15-r3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="A Java extension of BSD YACC-compatible parser generator" HOMEPAGE="https://byaccj.sourceforge.net/" @@ -22,6 +22,9 @@ PATCHES=( src_compile() { cp "${FILESDIR}/Makefile" src/Makefile || die + + # bug #880329, bug #944104 + append-cflags -std=gnu17 emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" -C src linux }
