diff options
author | miwi <miwi@FreeBSD.org> | 2011-12-29 23:44:11 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2011-12-29 23:44:11 +0800 |
commit | 2471b158ccceedd690bd63371d9819a4bd125203 (patch) | |
tree | 94947b475604da6eab6fa7ae1f4bfc5dbcebccec /net/lambdamoo | |
parent | 3982fe0193146a9f29b1b86e30a189653ebd9bdd (diff) | |
download | freebsd-ports-gnome-2471b158ccceedd690bd63371d9819a4bd125203.tar.gz freebsd-ports-gnome-2471b158ccceedd690bd63371d9819a4bd125203.tar.zst freebsd-ports-gnome-2471b158ccceedd690bd63371d9819a4bd125203.zip |
- Fix build with CLANG
PR: 163293
Submitted by: Jan Beich <jbeich@tormail.net>
Diffstat (limited to 'net/lambdamoo')
-rw-r--r-- | net/lambdamoo/files/patch-configure | 9 | ||||
-rw-r--r-- | net/lambdamoo/files/patch-configure.in | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/net/lambdamoo/files/patch-configure b/net/lambdamoo/files/patch-configure index 79fcec9f06c2..9d8f229f1cb2 100644 --- a/net/lambdamoo/files/patch-configure +++ b/net/lambdamoo/files/patch-configure @@ -1,5 +1,14 @@ --- configure.orig Mon Apr 8 22:32:10 2002 +++ configure Mon Apr 8 22:51:13 2002 +@@ -599,7 +599,7 @@ + cat > conftest.c <<EOF + #include "confdefs.h" + +-int main(int argc, char *argv) { void *ptr; exit(0); } ++int main(int argc, char **argv) { void *ptr; exit(0); } + + EOF + eval $compile @@ -1618,7 +1618,7 @@ do echo "checking whether $func is declared in sys/ioctl.h" diff --git a/net/lambdamoo/files/patch-configure.in b/net/lambdamoo/files/patch-configure.in index fb633aad702b..e78200893094 100644 --- a/net/lambdamoo/files/patch-configure.in +++ b/net/lambdamoo/files/patch-configure.in @@ -9,3 +9,12 @@ changequote([,])dnl AC_PROGRAM_EGREP($pattern, [ #include <$1> +@@ -260,7 +260,7 @@ + SAVECC="$CC" + CC="$CC $opt" + AC_TEST_PROGRAM([ +-int main(int argc, char *argv) { void *ptr; exit(0); } ++int main(int argc, char **argv) { void *ptr; exit(0); } + ], + [have_ansi=1 + break], |