From eeeaa4e1dfbc965e8f06f82a5d740df520d68943 Mon Sep 17 00:00:00 2001 From: "Z. Liu" Date: Sat, 10 May 2025 12:11:20 +0800 Subject: [PATCH] sys-apps/ucspi-tcp: build w/ -std=gnu17 too many changes if port to C23 Closes: https://bugs.gentoo.org/943897 Closes: https://bugs.gentoo.org/944142 Signed-off-by: Z. Liu Part-of: https://github.com/gentoo/gentoo/pull/42013 Closes: https://github.com/gentoo/gentoo/pull/42013 Signed-off-by: Sam James --- sys-apps/ucspi-tcp/ucspi-tcp-0.88-r20.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r20.ebuild b/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r20.ebuild index 5c08c3637970b..427544fce06b5 100644 --- a/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r20.ebuild +++ b/sys-apps/ucspi-tcp/ucspi-tcp-0.88-r20.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit qmail toolchain-funcs +inherit flag-o-matic qmail toolchain-funcs DESCRIPTION="Collection of tools for managing UNIX services" HOMEPAGE="https://cr.yp.to/ucspi-tcp.html" @@ -60,6 +60,9 @@ src_configure() { # See also the patch above for generating the "makelib" script. tc-export AR RANLIB + append-cflags $(test-flags-CC -std=gnu17) + + echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die echo "${EPREFIX}/usr/" > conf-home || die }