diff --git a/net/asterisk/Makefile b/net/asterisk/Makefile index f38c4ff..6e84620 100644 --- a/net/asterisk/Makefile +++ b/net/asterisk/Makefile @@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=asterisk -PKG_VERSION:=20.8.1 +PKG_VERSION:=20.14.0 PKG_RELEASE:=1 PKG_CPE_ID:=cpe:/a:digium:asterisk PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/asterisk/releases -PKG_HASH:=fa498b6224e8c262de6840a67e00e3747e178fcefd9fb2595885d402ca3248f5 +PKG_HASH:=f9152e87467d5b57a898e3bc69bcded87b8525db21e5bf06ea361120af838ce6 PKG_BUILD_DEPENDS:=libxml2/host diff --git a/net/asterisk/patches/053-musl-mutex-init.patch b/net/asterisk/patches/053-musl-mutex-init.patch index 98cdccf..334f02b 100644 --- a/net/asterisk/patches/053-musl-mutex-init.patch +++ b/net/asterisk/patches/053-musl-mutex-init.patch @@ -1,6 +1,6 @@ --- a/include/asterisk/lock.h +++ b/include/asterisk/lock.h -@@ -66,7 +66,7 @@ +@@ -70,7 +70,7 @@ extern "C" { #define AST_PTHREADT_NULL (pthread_t) -1 #define AST_PTHREADT_STOP (pthread_t) -2 @@ -8,4 +8,4 @@ +#if (defined(SOLARIS) || defined(BSD) || !defined(HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP)) #define AST_MUTEX_INIT_W_CONSTRUCTORS #endif /* SOLARIS || BSD */ - + \ No newline at end of file diff --git a/net/asterisk/patches/130-eventfd.patch b/net/asterisk/patches/130-eventfd.patch index 81bd332..dc3b889 100644 --- a/net/asterisk/patches/130-eventfd.patch +++ b/net/asterisk/patches/130-eventfd.patch @@ -1,6 +1,6 @@ --- a/configure.ac +++ b/configure.ac -@@ -1272,7 +1272,7 @@ if test "${ac_cv_have_variable_fdset}x" +@@ -1293,7 +1293,7 @@ if test "${ac_cv_have_variable_fdset}x" fi AC_MSG_CHECKING([if we have usable eventfd support]) @@ -8,4 +8,4 @@ +AC_LINK_IFELSE( [AC_LANG_PROGRAM([#include ], [return eventfd(0, EFD_NONBLOCK | EFD_SEMAPHORE) == -1;])], - AC_MSG_RESULT(yes) + AC_MSG_RESULT(yes) \ No newline at end of file diff --git a/net/asterisk/patches/140-use-default-lua.patch b/net/asterisk/patches/140-use-default-lua.patch index 3857d13..d3695be 100644 --- a/net/asterisk/patches/140-use-default-lua.patch +++ b/net/asterisk/patches/140-use-default-lua.patch @@ -1,6 +1,6 @@ --- a/configure.ac +++ b/configure.ac -@@ -2623,7 +2623,7 @@ if test -z "$__opus_include" -o x"$__opu +@@ -2645,7 +2645,7 @@ if test -z "$__opus_include" -o x"$__opu fi AST_EXT_LIB_CHECK([OPUSFILE], [opusfile], [op_open_callbacks], [opus/opusfile.h], [], [$__opus_include]) @@ -8,4 +8,4 @@ +for ver in ${LUA_VERSIONS}; do AST_EXT_LIB_CHECK([LUA], lua${ver}, [luaL_newstate], lua${ver}/lua.h, [-lm]) if test "x${PBX_LUA}" = "x1" ; then - if test x"${LUA_DIR}" = x; then + if test x"${LUA_DIR}" = x; then \ No newline at end of file diff --git a/net/asterisk/patches/180-app_queue_time_t.patch b/net/asterisk/patches/180-app_queue_time_t.patch index 3e47c0f..0751e92 100644 --- a/net/asterisk/patches/180-app_queue_time_t.patch +++ b/net/asterisk/patches/180-app_queue_time_t.patch @@ -1,6 +1,6 @@ --- a/apps/app_queue.c +++ b/apps/app_queue.c -@@ -4625,8 +4625,12 @@ static int is_longest_waiting_caller(str +@@ -4800,8 +4800,12 @@ static int is_longest_waiting_caller(str * will be unused until the first caller is picked up. */ if (ch->start < caller->start && !ch->pending) { @@ -14,4 +14,4 @@ + q->name, ch->pos, time1, time2); is_longest_waiting = 0; break; - } + } \ No newline at end of file