asterisk: update to version 20.14.0

This commit is contained in:
hayzam 2025-07-09 10:52:31 +04:00
parent 2606056893
commit 0a3d1c271e
5 changed files with 10 additions and 10 deletions

View file

@ -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

View file

@ -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 */

View file

@ -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 <sys/eventfd.h>],
[return eventfd(0, EFD_NONBLOCK | EFD_SEMAPHORE) == -1;])],
AC_MSG_RESULT(yes)
AC_MSG_RESULT(yes)

View file

@ -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

View file

@ -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;
}
}