summaryrefslogtreecommitdiff
path: root/net/asterisk/patches/140-use-default-lua.patch
diff options
context:
space:
mode:
authorSebastian Kemper <sebastian_ml@gmx.net>2020-11-01 09:37:44 +0100
committerSebastian Kemper <sebastian_ml@gmx.net>2020-11-01 09:37:46 +0100
commitb936fade673fca57d1ab51fbfa9323c9fc9880bb (patch)
tree7ede8fcc11b4366a179396b3751d42aa9ae6b0b7 /net/asterisk/patches/140-use-default-lua.patch
parent6238b6e3245270c93359c96414061fe8da4e9458 (diff)
asterisk: upgrade to Asterisk 18 LTS
- Bump to new LTS release. - Move to folder asterisk and remove AST_MAJOR_VERSION variable, as we only have one version anyway. - Add new modules. - Rename voicemail to app-voicemail. - Remove deps of voicemail on res-adsi and res-smdi as they are optional. - Use INSTALL_DATA for headers. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Diffstat (limited to 'net/asterisk/patches/140-use-default-lua.patch')
-rw-r--r--net/asterisk/patches/140-use-default-lua.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/asterisk/patches/140-use-default-lua.patch b/net/asterisk/patches/140-use-default-lua.patch
new file mode 100644
index 0000000..d088106
--- /dev/null
+++ b/net/asterisk/patches/140-use-default-lua.patch
@@ -0,0 +1,15 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -2560,7 +2560,11 @@ 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 5.3 5.2 5.1; do
++# This does not work for us. We have both liblua and liblua5.3 in
++# $(STAGING_DIR)/usr. But the headers for liblua5.3 are in
++# (STAGING_DIR)/usr/include/lua5.3. Using the below, Asterisk would
++# use the headers from liblua and link against liblua5.3 :/
++for ver in ; 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