aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeswitch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-01-05 01:48:21 +0100
committerJakub Jirutka <jakub@jirutka.cz>2018-01-05 01:49:16 +0100
commit655258dee63d59769fcc190fef5e778b2ce0ab18 (patch)
tree12472b7921f6eac5b4ff0111dd0eecefb1bbb9b9 /main/freeswitch
parent23e18f5a1f8e83af235139fd23ffaed9778d9f41 (diff)
downloadaports-655258dee63d59769fcc190fef5e778b2ce0ab18.tar.bz2
aports-655258dee63d59769fcc190fef5e778b2ce0ab18.tar.xz
main/freeswitch: build with lua5.3 instead of lua5.2
Diffstat (limited to 'main/freeswitch')
-rw-r--r--main/freeswitch/APKBUILD6
-rw-r--r--main/freeswitch/configure-lua53.patch22
2 files changed, 26 insertions, 2 deletions
diff --git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD
index d3801a9e14..10109cb189 100644
--- a/main/freeswitch/APKBUILD
+++ b/main/freeswitch/APKBUILD
@@ -3,7 +3,7 @@
# Contributor: Cameron Banta <cbanta@gmail.com>
pkgname=freeswitch
pkgver=1.6.19
-pkgrel=0
+pkgrel=1
pkgdesc="A communications platform written in C from the ground up"
url="http://www.freeswitch.org"
arch="all"
@@ -31,7 +31,7 @@ makedepends="
libsndfile-dev
libvorbis-dev
linux-headers
- lua5.2-dev
+ lua5.3-dev
mpg123-dev
ncurses-dev
net-snmp-dev
@@ -67,6 +67,7 @@ source="http://files.freeswitch.org/freeswitch-releases/$pkgname-$pkgver.tar.xz
0002-FS-verto-bswap_64.patch
sofia-sip-libressl.patch
getlib.patch
+ configure-lua53.patch
modules.conf
freeswitch.confd
freeswitch.initd
@@ -219,6 +220,7 @@ db61d9a253105f7a1ef5f5c218b367a833f62a2e85e364e3971acc79f68037b0270c5b2f3e090964
5f93150e1acd632df98bc3bed5613fb1e45180ae4096dcfee5c060da213c8355339260eaf5758cd77c785f6d84cf0661650a872ec574b586ab19803d4f6955f8 0002-FS-verto-bswap_64.patch
5bb95dff04714bb94a8973a78cf46beb335e026e3b5e9bf6f6a5b60d94387dbe431a72c3bf37e553dc34a9773a3ea63e05b0b28d243a3ef97ad833c28c904f85 sofia-sip-libressl.patch
4ceb48f64d2bc26a02cc0846276506241bfd30c156422b0a1d608fd172c099feb5c121a763652e9a45046dcdd0ba0eb71eab240e0c6ce2ad63ff781719e135a4 getlib.patch
+6ff9a31b0b69efe13208f96e55fcbaa8fc1fad220dede74df75c5259e72a6c1fede8145981f3e81547bdfc3a849cfa8f50297a6799d7874299fc3056910e54dc configure-lua53.patch
6deecb303e765d44bdd970d5a7079c9dd9ce17d12056b68cd978a182a86b477b4a3c19d2f5a18f36199ca2e0594a3b84de521ab821e2f8c89f7449a3d7f21279 modules.conf
a585f6411185a26206137a1ad97a06fd6c73e80c5439e9be45eabfa70e7a83120169ba882971fcd328436c8e0242cbd664170b80754ea2846021689baf1f1595 freeswitch.confd
643d0a2e43f5d3bf3b99fcb6f6422302cb4b74a95eccf844eafb100b15aa9856b4ff41f112d6637255c2e9e2bec9fedc9a9215dfff214dfb83b52eae16b71dca freeswitch.initd"
diff --git a/main/freeswitch/configure-lua53.patch b/main/freeswitch/configure-lua53.patch
new file mode 100644
index 0000000000..d259cb8df9
--- /dev/null
+++ b/main/freeswitch/configure-lua53.patch
@@ -0,0 +1,22 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -597,7 +597,7 @@
+ AC_SUBST(SYS_XMLRPC_LDFLAGS)
+ AM_CONDITIONAL([SYSTEM_XMLRPCC],[test "${enable_xmlrpcc}" = "yes"])
+
+-for luaversion in lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua; do
++for luaversion in lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua; do
+ PKG_CHECK_MODULES([LUA],[${luaversion}],[have_lua=yes],[have_lua=no])
+ if test ${have_lua} = yes; then
+ break
+--- a/configure
++++ b/configure
+@@ -20080,7 +20080,7 @@
+ fi
+
+
+-for luaversion in lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua; do
++for luaversion in lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua; do
+
+ succeeded=no
+