Files
telephony/net/asterisk/patches/140-use-default-lua.patch
Sebastian Kemper 4f4e681c20 asterisk: bump to 18.15.1
This is a manual cherry-pick of commit
aa3bc352e7 as well as commit
b71770db41. The latter is currently in a
pull request to update asterisk to 18.15.1 in the openwrt-22.03 branch.

- add new modules
- res-geolocation depends on asterisk being built with libxlt support,
  but to make libxslt a general dependency is probably not a good idea
  for small devices, so this adds a config option
  ASTERISK_LIBXSLT_SUPPORT that is off by default except on x86_64
  builds
- refresh patches
- 180_build-fix-bininstall-launchd-issue-on-cross-platfrom.patch removed
  as included in upstream release
- added 170-menuselect-force-use-of-xml2-config.patch as upstream
  switched to use pkg-config for libxml2 detection, which would be fine,
  except OpenWrt's host libxml2 is static and Asterisk can't handle that
- the bump to 18.15.1 contains fixes for AST-2022-007, AST-2022-008 and
  AST-2022-009

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-12-03 15:53:43 +01:00

12 lines
446 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -2632,7 +2632,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