aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk/musl-libcap.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/asterisk/musl-libcap.patch')
-rw-r--r--main/asterisk/musl-libcap.patch25
1 files changed, 6 insertions, 19 deletions
diff --git a/main/asterisk/musl-libcap.patch b/main/asterisk/musl-libcap.patch
index d7ce52e7be..3a45d5455f 100644
--- a/main/asterisk/musl-libcap.patch
+++ b/main/asterisk/musl-libcap.patch
@@ -15,27 +15,14 @@ diff -ru asterisk-12.4.0.orig/configure.ac asterisk-12.4.0/configure.ac
AST_C_DEFINE_CHECK([DAHDI], [DAHDI_RESET_COUNTERS], [dahdi/user.h], [230])
AST_C_DEFINE_CHECK([DAHDI], [DAHDI_DEFAULT_MTU_MRU], [dahdi/user.h], [220])
-diff -ru asterisk-12.4.0.orig/main/Makefile asterisk-12.4.0/main/Makefile
---- asterisk-12.4.0.orig/main/Makefile 2014-08-06 08:53:33.000000000 -0300
-+++ asterisk-12.4.0/main/Makefile 2014-08-06 09:07:59.210630841 -0300
-@@ -1,4 +1,3 @@
--#
- # Asterisk -- An open source telephony toolkit.
- #
- # Makefile to build main Asterisk binary
-@@ -40,14 +39,12 @@
- AST_LIBS+=$(URIPARSER_LIB)
- AST_LIBS+=$(UUID_LIB)
+--- asterisk-13.3.1/main/Makefile.orig 2015-04-07 05:29:42.561354397 +0000
++++ asterisk-13.3.1/main/Makefile 2015-04-07 05:30:11.421884787 +0000
+@@ -42,7 +42,7 @@
AST_LIBS+=$(CRYPT_LIB)
-+AST_LIBS+=$(CAP_LIB)
+ AST_LIBS+=$(AST_CLANG_BLOCKS_LIBS)
- ifneq ($(findstring $(OSARCH), linux-gnu uclinux linux-uclibc kfreebsd-gnu),)
+-ifneq ($(findstring $(OSARCH), linux-gnu uclinux linux-uclibc kfreebsd-gnu),)
++ifneq ($(findstring $(OSARCH), linux-gnu uclinux linux-uclibc linux-musl kfreebsd-gnu),)
ifneq ($(findstring LOADABLE_MODULES,$(MENUSELECT_CFLAGS)),)
AST_LIBS+=-ldl
endif
-- ifneq (x$(CAP_LIB),x)
-- AST_LIBS+=$(CAP_LIB)
-- endif
- AST_LIBS+=-lpthread $(EDITLINE_LIB) -lm -lresolv
- else
- AST_LIBS+=$(EDITLINE_LIB) -lm