summaryrefslogtreecommitdiff
path: root/net-ftp/ncftp/files/ncftp-3.2.7-fix-gcc14.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-06 18:54:07 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-06 18:54:07 +0000
commitcf7a256641d0729742707e68efe5e5ee3895b6c9 (patch)
tree10acbc3170c4b685aea3df6a9e96bb418a586725 /net-ftp/ncftp/files/ncftp-3.2.7-fix-gcc14.patch
parent56330f065f2b903d9e1b2dffc63719fef5897a45 (diff)
gentoo auto-resync : 06:01:2024 - 18:54:07
Diffstat (limited to 'net-ftp/ncftp/files/ncftp-3.2.7-fix-gcc14.patch')
-rw-r--r--net-ftp/ncftp/files/ncftp-3.2.7-fix-gcc14.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-ftp/ncftp/files/ncftp-3.2.7-fix-gcc14.patch b/net-ftp/ncftp/files/ncftp-3.2.7-fix-gcc14.patch
new file mode 100644
index 000000000000..f40f85e41d9e
--- /dev/null
+++ b/net-ftp/ncftp/files/ncftp-3.2.7-fix-gcc14.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/921487
+
+--- a/autoconf_local/aclocal.m4
++++ b/autoconf_local/aclocal.m4
+@@ -4196,7 +4196,7 @@
+ #include <sys/select.h>
+ #endif
+ #include <sys/socket.h> /* MG: always incl */
+-extern select ($ac_cv_func_select_arg1,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg5);],,dnl
++extern int select ($ac_cv_func_select_arg1,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg5);],,dnl
+ [ac_not_found=no ; break 3],ac_not_found=yes)
+ done
+ done