From eda7a83c8f760847910dbdb1ed26e77d13a3c9be Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Thu, 8 Sep 2016 16:37:57 +0200 Subject: [PATCH 1/2] lua: Correctly build in compatibility layers The environment variables for the Lua compatibility was changed in Lua 5.3, and overlooked in the Linux From Scratch book when updating the Lua version [1], probably using the recipe for Lua 5.2. > MYCFLAGS="-DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1": This environment > variable includes compatibility layers with Lua 5.1 and 5.2 in the > build. Fix this, so that the VLC media player, depending an Lua 5.1, builds and works correctly. [1] http://www.linuxfromscratch.org/blfs/view/7.10/general/lua.html --- lua.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua.be0 b/lua.be0 index b887ffcde..2fd96e713 100755 --- a/lua.be0 +++ b/lua.be0 @@ -27,7 +27,7 @@ mee_configure() { mee_build() { sed -i '/#define LUA_ROOT/s:/usr/local/:/usr/:' src/luaconf.h - bee_build linux "MYCFLAGS=-fPIC -DLUA_COMPAT_ALL" + bee_build linux "MYCFLAGS=-fPIC -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1" cat >lua.pc <<-EOF V=${PKGVERSION[2]} R=${PKGVERSION} From 5a262ff053236cb757d08f5db9b81bdaf3de553c Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Thu, 8 Sep 2016 16:39:08 +0200 Subject: [PATCH 2/2] lua: Increment revision --- lua.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua.be0 b/lua.be0 index 2fd96e713..bab4b6ed9 100755 --- a/lua.be0 +++ b/lua.be0 @@ -1,6 +1,6 @@ #!/bin/env beesh -# BEE_VERSION lua-5.3.3-0 +# BEE_VERSION lua-5.3.3-1 SRCURL[0]="https://www.lua.org/ftp/lua-${PKGVERSION}.tar.gz"