head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.2 pkgsrc-2026Q1-base:1.1; locks; strict; comment @# @; 1.1 date 2026.01.20.08.18.09; author wiz; state Exp; branches; next ; commitid iovF8cHMulmfG6rG; desc @@ 1.1 log @libproplist: fix build on NetBSD-current @ text @$NetBSD$ Add missing return type to fix build with gcc 14+. --- configure.orig 2000-04-01 21:56:22.000000000 +0000 +++ configure @@@@ -1059,7 +1059,7 @@@@ cat > conftest.$ac_ext << EOF #line 1060 "configure" #include "confdefs.h" -main(){return(0);} +int main(){return(0);} EOF if { (eval echo configure:1065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes @@@@ -1607,7 +1607,7 @@@@ cat > conftest.$ac_ext << EOF #line 1608 "configure" #include "confdefs.h" -main(){return(0);} +int main(){return(0);} EOF if { (eval echo configure:1613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes @@@@ -2355,7 +2355,7 @@@@ else #line 2356 "configure" #include "confdefs.h" -main() +int main() { char c0 = 0x40, c1 = 0x80, c2 = 0x81; exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1); @