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.07.03.55.51; author mrg; state Exp; branches; next ; commitid enVqZlnVRBsuBAdG; desc @@ 1.1 log @Fix build with GCC 14 by providing a main() return type. @ text @$NetBSD$ Fix build with GCC 14 by providing a main() return type. --- configure.orig 2003-10-04 18:55:22.000000000 -0700 +++ configure 2025-09-29 13:57:44.464379861 -0700 @@@@ -655,7 +655,7 @@@@ cat > conftest.$ac_ext << EOF #line 656 "configure" #include "confdefs.h" -main(){return(0);} +int main(){return(0);} EOF if { (eval echo configure:661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes @