summaryrefslogtreecommitdiffstats
path: root/main/asterisk/101-caps-uclibc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/asterisk/101-caps-uclibc.patch')
-rw-r--r--main/asterisk/101-caps-uclibc.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/main/asterisk/101-caps-uclibc.patch b/main/asterisk/101-caps-uclibc.patch
index 1acf87f34..bb32d1ece 100644
--- a/main/asterisk/101-caps-uclibc.patch
+++ b/main/asterisk/101-caps-uclibc.patch
@@ -1,17 +1,17 @@
---- asterisk-1.6.0-beta7.1/configure.ac.orig 2008-04-04 07:31:06 +0000
-+++ asterisk-1.6.0-beta7.1/configure.ac 2008-04-04 07:36:14 +0000
-@@ -522,9 +522,11 @@
+--- asterisk-1.6.0.18/configure.ac.orig Mon Oct 26 23:13:28 2009
++++ asterisk-1.6.0.18/configure.ac Fri Nov 27 21:42:36 2009
+@@ -627,9 +627,11 @@
AST_EXT_LIB_CHECK([CURSES], [curses], [initscr], [curses.h])
--if test "x${host_os}" = "xlinux-gnu" ; then
+-if test "x${OSARCH}" = "xlinux-gnu" ; then
- AST_EXT_LIB_CHECK([CAP], [cap], [cap_from_text], [sys/capability.h])
-fi
-+case "${host_os}" in
-+ linux*)
++case "${OSARCH}" in
++ linux*)
+ AST_EXT_LIB_CHECK([CAP], [cap], [cap_from_text], [sys/capability.h])
-+ ;;
-+esac
++ ;;
++esac
+
+ AST_C_DEFINE_CHECK([DAHDI], [DAHDI_CODE], [dahdi/user.h])
- # BSD might not have exp2, and/or log2
- AST_EXT_LIB_CHECK([EXP2L], [m], [exp2l])