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.56.16; author mrg; state Exp; branches; next ; commitid N6uXSAc5bprDBAdG; desc @@ 1.1 log @Fix build with GCC 14: give main() a return type. @ text @$NetBSD$ Give main() a return type for GCC 14. --- configure.orig 2000-11-26 09:31:50.000000000 -0800 +++ configure 2025-09-29 14:25:24.827542871 -0700 @@@@ -652,7 +652,7 @@@@ #line 653 "configure" #include "confdefs.h" -main(){return(0);} +int main(){return(0);} EOF if { (eval echo configure:658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes @