diff options
| author | Sebastian Kemper <sebastian_ml@gmx.net> | 2021-03-19 18:24:43 +0100 |
|---|---|---|
| committer | Sebastian Kemper <sebastian_ml@gmx.net> | 2021-03-20 09:33:41 +0100 |
| commit | fad04b6d2e57afacee6c94f4f6776619fcf0606c (patch) | |
| tree | 88b8915377c23b786a8a85746d63caaf28dacd31 /net/asterisk/patches/140-use-default-lua.patch | |
| parent | 9452a933ad7578ff295664600297e33224caaf82 (diff) | |
asterisk: update to 18.2.2
Updated 140-use-default-lua.patch.
Patches refreshed:
001-disable-semaphores-on-uclibc-otherwise-allow.patch
002-configure-fix-detection-of-re-entrant-resolver-funct.patch
100-build-reproducibly.patch
130-eventfd.patch
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.patch | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/net/asterisk/patches/140-use-default-lua.patch b/net/asterisk/patches/140-use-default-lua.patch index 1dcbd05..f50af3e 100644 --- a/net/asterisk/patches/140-use-default-lua.patch +++ b/net/asterisk/patches/140-use-default-lua.patch @@ -1,15 +1,11 @@ --- a/configure.ac +++ b/configure.ac -@@ -2560,7 +2560,11 @@ if test -z "$__opus_include" -o x"$__opu +@@ -2567,7 +2567,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 5.4 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 +-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 |
