aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk/musl-libcap.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-04-15 07:02:19 +0000
committerTimo Teräs <timo.teras@iki.fi>2015-04-15 07:02:19 +0000
commitc85cd9d8d6550540bea93baeba24f5f3d8bfeb04 (patch)
tree329e60a5a2afdf365f360b7b234f207b976c32d1 /main/asterisk/musl-libcap.patch
parent2420eee64a2eff42a4178c26caceefedda58bdd2 (diff)
downloadaports-c85cd9d8d6550540bea93baeba24f5f3d8bfeb04.tar.bz2
aports-c85cd9d8d6550540bea93baeba24f5f3d8bfeb04.tar.xz
main/asterisk: fix arm build
Diffstat (limited to 'main/asterisk/musl-libcap.patch')
-rw-r--r--main/asterisk/musl-libcap.patch21
1 files changed, 15 insertions, 6 deletions
diff --git a/main/asterisk/musl-libcap.patch b/main/asterisk/musl-libcap.patch
index 3a45d5455f..a414e05fd3 100644
--- a/main/asterisk/musl-libcap.patch
+++ b/main/asterisk/musl-libcap.patch
@@ -1,7 +1,16 @@
-diff -ru asterisk-12.4.0.orig/configure.ac asterisk-12.4.0/configure.ac
---- asterisk-12.4.0.orig/configure.ac 2014-08-06 09:07:19.000000000 -0300
-+++ asterisk-12.4.0/configure.ac 2014-08-06 09:10:16.350632198 -0300
-@@ -1259,9 +1259,11 @@
+--- asterisk-13.3.2.orig/configure.ac
++++ asterisk-13.3.2/configure.ac
+@@ -181,6 +181,9 @@
+ linux-gnueabi* | linux-gnuspe)
+ OSARCH=linux-gnu
+ ;;
++ linux-musl*)
++ OSARCH=linux-musl
++ ;;
+ kfreebsd*-gnu)
+ OSARCH=kfreebsd-gnu
+ ;;
+@@ -1328,9 +1331,11 @@
AST_EXT_LIB_CHECK([BFD], [bfd], [bfd_check_format], [bfd.h], [-ldl -liberty -lz])
fi
@@ -15,8 +24,8 @@ 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])
---- 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
+--- asterisk-13.3.2.orig/main/Makefile
++++ asterisk-13.3.2/main/Makefile
@@ -42,7 +42,7 @@
AST_LIBS+=$(CRYPT_LIB)
AST_LIBS+=$(AST_CLANG_BLOCKS_LIBS)