mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-18 08:47:55 -04:00
41 lines
967 B
Plaintext
41 lines
967 B
Plaintext
$NetBSD: patch-configure,v 1.1 2012/07/03 17:32:00 joerg Exp $
|
|
|
|
--- configure.orig 2002-01-18 01:16:44.000000000 +0000
|
|
+++ configure
|
|
@@ -665,7 +665,7 @@ cat > conftest.$ac_ext << EOF
|
|
#line 666 "configure"
|
|
#include "confdefs.h"
|
|
|
|
-main(){return(0);}
|
|
+int main(){return(0);}
|
|
EOF
|
|
if { (eval echo configure:671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
ac_cv_prog_cc_works=yes
|
|
@@ -1664,7 +1664,7 @@ extern "C" void exit(int);
|
|
#endif
|
|
#include <stdio.h>
|
|
#include <sys/types.h>
|
|
-main()
|
|
+int main()
|
|
{
|
|
FILE *f=fopen("conftestval", "w");
|
|
if (!f) exit(1);
|
|
@@ -1706,7 +1706,7 @@ extern "C" void exit(int);
|
|
#endif
|
|
#include <stdio.h>
|
|
#include <sys/types.h>
|
|
-main()
|
|
+int main()
|
|
{
|
|
FILE *f=fopen("conftestval", "w");
|
|
if (!f) exit(1);
|
|
@@ -1748,7 +1748,7 @@ extern "C" void exit(int);
|
|
#endif
|
|
#include <stdio.h>
|
|
#include <sys/types.h>
|
|
-main()
|
|
+int main()
|
|
{
|
|
FILE *f=fopen("conftestval", "w");
|
|
if (!f) exit(1);
|