head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2025.10.12.01.04.55; author mrg; state Exp; branches; next ; commitid bfziC9IOOShSudeG; desc @@ 1.1 log @fix build with GCC 14: give main a return type. @ text @$NetBSD$ Give main a return type. --- configure.orig 2001-08-23 10:44:13.000000000 -0700 +++ configure 2025-10-11 18:01:25.540045428 -0700 @@@@ -906,7 +906,7 @@@@ cat > conftest.$ac_ext << EOF #line 907 "configure" #include "confdefs.h" -main(){return(0);} +int main(){return(0);} EOF if { (eval echo configure:912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes @@@@ -1450,7 +1450,7 @@@@ cat > conftest.$ac_ext << EOF #line 1451 "configure" #include "confdefs.h" -main(){return(0);} +int main(){return(0);} EOF if { (eval echo configure:1456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes @