Files
telephony/net/asterisk/patches/140-use-default-lua.patch
Paul Donald 73fd665261 asterisk: bump to 22.7.0
remove deprecated modules from 20-21
21-22 is mostly bugfixes

See https://docs.asterisk.org/Asterisk_21_Documentation/Upgrading/
and https://docs.asterisk.org/Asterisk_22_Documentation/Upgrading/
and https://docs.asterisk.org/Development/Asterisk-Module-Deprecations/#removed-modules

- remove deprecated users.conf (otherwise asterisk logs:
  WARNING[24699] pbx_config.c: users.conf is deprecated and will be removed in
  a future version of Asterisk )
- add cdr.conf (otherwise asterisk logs:
  ERROR[24658] config_options.c: Unable to load config file 'cdr.conf' )
- add missing res-websocket-client (necessary for app_stasis, res_ari)
- app_macro -> app_stack

refresh patches

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2025-12-04 13:06:45 +01:00

12 lines
446 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -2641,7 +2641,7 @@ if test -z "$__opus_include" -o x"$__opu
fi
AST_EXT_LIB_CHECK([OPUSFILE], [opusfile], [op_open_callbacks], [opus/opusfile.h], [], [$__opus_include])
-for ver in ${LUA_VERSIONS:-5.4 5.3 5.2 5.1}; do
+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