Browse Source

asterisk: update to 22.7.0

Waldemar Brodkorb 1 month ago
parent
commit
1809e52088

+ 2 - 4
package/asterisk/Makefile

@@ -4,9 +4,9 @@
 include $(ADK_TOPDIR)/rules.mk
 
 PKG_NAME:=		asterisk
-PKG_VERSION:=		22.6.0
+PKG_VERSION:=		22.7.0
 PKG_RELEASE:=		1
-PKG_HASH:=		e5b33b9b6fd6fb2bbbe748bd34f517d9c634afbbd6c53bbbdd3214ec8a6a7749
+PKG_HASH:=		5b0e5d276aeb014bf8a08a94d1055a9e97b9dce3375846eea70da5221bf9efe7
 PKG_DESCR:=		open source pbx
 PKG_SECTION:=		net/voip
 PKG_DEPENDS:=		libncurses libcurl libopenssl libedit libuuid libjansson
@@ -58,13 +58,11 @@ CONFIGURE_ARGS=		--with-z=${STAGING_TARGET_DIR}/usr \
 			--with-ssl=${STAGING_TARGET_DIR}/usr \
 			--disable-xmldoc \
 			--without-tonezone \
-			--without-asound \
 			--without-gtk2 \
 			--without-iksemel \
 			--without-imap \
 			--without-netsnmp \
 			--without-newt \
-			--without-osptk \
 			--without-popt \
 			--without-portaudio \
 			--without-pri \

+ 22 - 0
package/asterisk/patches/patch-configure

@@ -0,0 +1,22 @@
+--- asterisk-22.7.0.orig/configure	2025-11-20 21:00:34.000000000 +0100
++++ asterisk-22.7.0/configure	2026-01-10 10:22:02.971366731 +0100
+@@ -32294,19 +32294,6 @@ printf "%s\n" "no" >&6; }
+ fi
+ 
+ 
+-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -march=native support" >&5
+-printf %s "checking for -march=native support... " >&6; }
+-if $(${CC} -march=native -S -o /dev/null -xc /dev/null > /dev/null 2>&1); then
+-	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+-printf "%s\n" "yes" >&6; }
+-	AST_NATIVE_ARCH=1
+-else
+-	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+-printf "%s\n" "no" >&6; }
+-	AST_NATIVE_ARCH=0
+-fi
+-
+-
+ 
+ # Check whether --enable-rpath was given.
+ if test ${enable_rpath+y}

+ 3 - 3
package/asterisk/patches/patch-res_stasis_control_c

@@ -1,5 +1,5 @@
---- asterisk-20.6.0.orig/res/stasis/control.c	2024-01-25 17:19:33.000000000 +0100
-+++ asterisk-20.6.0/res/stasis/control.c	2024-02-05 15:20:24.824145190 +0100
+--- asterisk-22.7.0.orig/res/stasis/control.c	2025-11-20 21:00:34.000000000 +0100
++++ asterisk-22.7.0/res/stasis/control.c	2026-01-10 03:26:57.181013106 +0100
 @@ -25,6 +25,8 @@
  
  #include "asterisk.h"
@@ -8,4 +8,4 @@
 +
  #include "asterisk/stasis_channels.h"
  #include "asterisk/stasis_app.h"
- 
+ #include "asterisk/causes.h"