From 8d86cea08244dab3d45172137f674cdc087a6868 Mon Sep 17 00:00:00 2001 From: OldManSeph7818 Date: Tue, 10 Dec 2024 05:45:19 +0000 Subject: [PATCH] net-ftp/ftp: build with -std=gnu17 in 0.17.34.0.2.5.1 this version of the package will not compile with c23. 'append-cflags' was added to the ebuild to use '-std=gnu17' to compile the package successfully. The error given with c23: error: two or more data types in declaration specifiers Closes: https://bugs.gentoo.org/943875 Signed-off-by: OldManSeph7818 Part-of: https://github.com/gentoo/gentoo/pull/39656 Closes: https://github.com/gentoo/gentoo/pull/39656 Signed-off-by: Sam James --- net-ftp/ftp/ftp-0.17.34.0.2.5.1.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net-ftp/ftp/ftp-0.17.34.0.2.5.1.ebuild b/net-ftp/ftp/ftp-0.17.34.0.2.5.1.ebuild index 66a91857d968..ca63630adac2 100644 --- a/net-ftp/ftp/ftp-0.17.34.0.2.5.1.ebuild +++ b/net-ftp/ftp/ftp-0.17.34.0.2.5.1.ebuild @@ -56,6 +56,9 @@ src_configure() { append-lfs-flags tc-export CC + # bug #943875 + append-cflags "-std=gnu17" + # Not an autoconf script edo ./configure \ --prefix=/usr \