diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
commit | b70981b68efcce5256eb11c6cd26ae123b10b6ea (patch) | |
tree | a38be6efae5e2ba15c2e839504632f9b7bfd5f91 /main/asterisk/101-caps-uclibc.patch | |
parent | 2b4df81538b8398442d5296650905c70341dd8d3 (diff) | |
download | aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2 aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz |
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/asterisk/101-caps-uclibc.patch')
-rw-r--r-- | main/asterisk/101-caps-uclibc.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/main/asterisk/101-caps-uclibc.patch b/main/asterisk/101-caps-uclibc.patch new file mode 100644 index 0000000000..1acf87f34f --- /dev/null +++ b/main/asterisk/101-caps-uclibc.patch @@ -0,0 +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 @@ + + AST_EXT_LIB_CHECK([CURSES], [curses], [initscr], [curses.h]) + +-if test "x${host_os}" = "xlinux-gnu" ; then +- AST_EXT_LIB_CHECK([CAP], [cap], [cap_from_text], [sys/capability.h]) +-fi ++case "${host_os}" in ++ linux*) ++ AST_EXT_LIB_CHECK([CAP], [cap], [cap_from_text], [sys/capability.h]) ++ ;; ++esac + + # BSD might not have exp2, and/or log2 + AST_EXT_LIB_CHECK([EXP2L], [m], [exp2l]) |