commit: 865707cc41e46c614026f596a5a38ba008cebba2 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Jun 22 16:55:29 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jun 22 16:57:46 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=865707cc
sys-apps/ucspi-unix: build w/ -std=gnu17 Other PRs sent to the same upstream haven't had a response so let's just -std=gnu17 this. Closes: https://bugs.gentoo.org/950208 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/ucspi-unix/ucspi-unix-1.0-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys-apps/ucspi-unix/ucspi-unix-1.0-r1.ebuild b/sys-apps/ucspi-unix/ucspi-unix-1.0-r1.ebuild index f22d4134ea79..f19eefeefaaa 100644 --- a/sys-apps/ucspi-unix/ucspi-unix-1.0-r1.ebuild +++ b/sys-apps/ucspi-unix/ucspi-unix-1.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="UCSPI implementation for Unix domain sockets" HOMEPAGE="https://untroubled.org/ucspi-unix/" @@ -17,6 +17,9 @@ KEYWORDS="~amd64 ~loong ~riscv ~sparc ~x86" DEPEND=">=dev-libs/bglibs-2.04" src_configure() { + # bug #950208 + append-cflags -std=gnu17 + echo "$(tc-getCC) ${CFLAGS} -D_GNU_SOURCE" > conf-cc || die echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die }
