summaryrefslogtreecommitdiff
path: root/net-ftp/ncftp/files/ncftp-3.2.7-fix-gcc14.patch
blob: f40f85e41d9ee2364c1f735042b275997fd5fc1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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