diff options
Diffstat (limited to 'testing/asterisk/101-caps-uclibc.patch')
-rw-r--r-- | testing/asterisk/101-caps-uclibc.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/asterisk/101-caps-uclibc.patch b/testing/asterisk/101-caps-uclibc.patch new file mode 100644 index 0000000000..bb32d1ece1 --- /dev/null +++ b/testing/asterisk/101-caps-uclibc.patch @@ -0,0 +1,17 @@ +--- 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${OSARCH}" = "xlinux-gnu" ; then +- AST_EXT_LIB_CHECK([CAP], [cap], [cap_from_text], [sys/capability.h]) +-fi ++case "${OSARCH}" in ++ linux*) ++ AST_EXT_LIB_CHECK([CAP], [cap], [cap_from_text], [sys/capability.h]) ++ ;; ++esac + + AST_C_DEFINE_CHECK([DAHDI], [DAHDI_CODE], [dahdi/user.h]) + |