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.in
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
513 B
Plaintext

--- configure.in.orig Mon Apr 8 22:31:30 2002
+++ configure.in Mon Apr 8 22:52:21 2002
@@ -105,7 +105,7 @@
dnl `header'.
define(MOO_FUNC_DECL_CHECK, [
changequote(,)dnl
-pattern="[^_a-zA-Z0-9]$2 *\("
+pattern="[^_a-zA-Z0-9]$2\)? *\("
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],