summaryrefslogtreecommitdiff
path: root/comms/asterisk/patches/patch-configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'comms/asterisk/patches/patch-configure.ac')
-rw-r--r--comms/asterisk/patches/patch-configure.ac17
1 files changed, 13 insertions, 4 deletions
diff --git a/comms/asterisk/patches/patch-configure.ac b/comms/asterisk/patches/patch-configure.ac
index 349d66a4fd4..f47a0e313c4 100644
--- a/comms/asterisk/patches/patch-configure.ac
+++ b/comms/asterisk/patches/patch-configure.ac
@@ -1,8 +1,17 @@
-$NetBSD: patch-configure.ac,v 1.1 2012/12/11 08:22:49 jnemeth Exp $
+$NetBSD: patch-configure.ac,v 1.2 2013/06/14 04:26:55 jnemeth Exp $
---- configure.ac.orig 2012-08-09 19:11:01.000000000 +0000
+--- configure.ac.orig 2013-02-26 19:45:09.000000000 +0000
+++ configure.ac
-@@ -1004,7 +1004,7 @@ if $(${CC} -march=native -S -o /dev/null
+@@ -584,7 +584,7 @@ AC_FUNC_STRNLEN
+ AC_FUNC_STRTOD
+ AC_FUNC_UTIME_NULL
+ AC_FUNC_VPRINTF
+-AC_CHECK_FUNCS([asprintf atexit closefrom dup2 eaccess endpwent euidaccess ffsll ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday glob htonll ioperm inet_ntoa isascii memchr memmove memset mkdir mkdtemp munmap ntohll newlocale ppoll putenv re_comp regcomp select setenv socket strcasecmp strcasestr strchr strcspn strdup strerror strlcat strlcpy strncasecmp strndup strnlen strrchr strsep strspn strstr strtod strtol strtold strtoq unsetenv utime vasprintf getpeereid sysctl swapctl])
++AC_CHECK_FUNCS([asprintf atexit closefrom dup2 eaccess endpwent euidaccess ffsll ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday glob htonll ioperm inet_ntoa isascii memchr memmove memset mkdir mkdtemp munmap ntohll newlocale ppoll putenv re_comp regcomp select setenv socket strcasecmp strcasestr strchr strcspn strdup strerror strlcat strlcpy strncasecmp strndup strnlen strrchr strsep strspn strstr strptime_l strftime_l strtod strtol strtold strtoq unsetenv utime vasprintf getpeereid sysctl swapctl])
+
+ # NOTE: we use AC_CHECK_LIB to get -lm into the arguments for later checks,
+ # so that AC_CHECK_FUNCS can detect functions in that library.
+@@ -1036,7 +1036,7 @@ if $(${CC} -march=native -S -o /dev/null
fi
else
AC_MSG_RESULT(no)
@@ -11,7 +20,7 @@ $NetBSD: patch-configure.ac,v 1.1 2012/12/11 08:22:49 jnemeth Exp $
fi
AC_SUBST(AST_NATIVE_ARCH)
-@@ -1084,6 +1084,9 @@ AST_C_DEFINE_CHECK([IP_MTU_DISCOVER], [I
+@@ -1160,6 +1160,9 @@ AST_C_DEFINE_CHECK([IP_MTU_DISCOVER], [I
AC_CHECK_HEADER([libkern/OSAtomic.h],
[AC_DEFINE_UNQUOTED([HAVE_OSX_ATOMICS], 1, [Define to 1 if OSX atomic operations are supported.])])