commit:     8d86cea08244dab3d45172137f674cdc087a6868
Author:     OldManSeph7818 <sschaefering <AT> gmail <DOT> com>
AuthorDate: Tue Dec 10 05:45:19 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 30 14:23:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d86cea0

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 <sschaefering <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/39656
Closes: https://github.com/gentoo/gentoo/pull/39656
Signed-off-by: Sam James <sam <AT> gentoo.org>

 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 \

Reply via email to