$NetBSD: patch-ad,v 1.2 2025/10/07 15:54:33 ryoon Exp $ * GCC 14 does not accept to define function without explicit return type. --- src/configure.orig 2004-01-05 06:37:17.000000000 +0000 +++ src/configure @@ -675,6 +675,7 @@ cat > conftest.$ac_ext << EOF #line 676 "configure" #include "confdefs.h" +int main(){return(0);} EOF if { (eval echo configure:681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then @@ -1440,7 +1441,7 @@ done -for ac_func in sigvec tgetnum setlocale +for ac_func in sigaction tgetnum setlocale do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 echo "configure:1447: checking for $ac_func" >&5 @@ -1520,6 +1521,7 @@ int pid; int pg1, pg2, pg3, pg4; int ng, np, s, child; +int main() { pid = getpid();