1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/net/lambdamoo/files/patch-configure
Martin Wilke 1ca706ea46 - Fix build with CLANG
PR:		163293
Submitted by:	Jan Beich <jbeich@tormail.net>
2011-12-29 15:44:11 +00:00

21 lines
493 B
Plaintext

--- 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"
-pattern="[^_a-zA-Z0-9]$func *\("
+pattern="[^_a-zA-Z0-9]$func\)? *\("
cat > conftest.c <<EOF
#include "confdefs.h"