commit:     8ad08d726b0b53a637967562336c09238a44b00f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 22 16:56:39 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=8ad08d72

sys-apps/ucspi-proxy: uild 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/946204
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/ucspi-proxy/ucspi-proxy-1.1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sys-apps/ucspi-proxy/ucspi-proxy-1.1.ebuild 
b/sys-apps/ucspi-proxy/ucspi-proxy-1.1.ebuild
index 05bc1325eda0..2e6173f9f7be 100644
--- a/sys-apps/ucspi-proxy/ucspi-proxy-1.1.ebuild
+++ b/sys-apps/ucspi-proxy/ucspi-proxy-1.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Proxy program for two connections set up by a UCSPI server and a 
UCSPI client"
 HOMEPAGE="https://untroubled.org/ucspi-proxy/";
@@ -18,6 +18,9 @@ RDEPEND=">=dev-libs/bglibs-2.04"
 DEPEND="${RDEPEND}"
 
 src_configure() {
+       # bug #946204
+       append-cflags -std=gnu17
+
        echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die
        echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die
        echo "${EPREFIX}/usr/bin" > conf-bin || die

Reply via email to