Commit: d1063e30adbae693253ea169c8daeab5fbd80bbc
Parent: 2e66a6b699bd833b5f33facdfeca189e393182ce
Author: Randy Palamar
Date: Sun, 24 Sep 2023 15:32:01 -0600
lua: update to 5.4.6
Diffstat:
6 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/pkg/editors/vis/gen.lua b/pkg/editors/vis/gen.lua
@@ -6,9 +6,10 @@ cflags({
'-D CONFIG_LUA=1',
'-D CONFIG_LPEG=1',
'-D CONFIG_TRE=0',
- '-D CONFIG_SELINUX=0',
'-D CONFIG_ACL=0',
+ '-D CONFIG_SELINUX=0',
'-D HAVE_MEMRCHR=1',
+ '-D LUA_COMPAT_5_3',
'-D _XOPEN_SOURCE=700',
[[-D 'VERSION="$version"']],
string.format([[-D 'VIS_PATH="%s/share/vis"']], config.prefix),
diff --git a/pkg/lang/lua/.gitignore b/pkg/lang/lua/.gitignore
@@ -1,2 +1,2 @@
-/lua-5.2.4.tar.gz
+/lua-5.4.6.tar.gz
/src
diff --git a/pkg/lang/lua/gen.lua b/pkg/lang/lua/gen.lua
@@ -13,14 +13,14 @@ lib('liblua.a', [[src/(
lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c llex.c
lmem.c lobject.c lopcodes.c lparser.c lstate.c lstring.c ltable.c
ltm.c lundump.c lvm.c lzio.c
- lauxlib.c lbaselib.c lbitlib.c lcorolib.c ldblib.c liolib.c
- lmathlib.c loslib.c lstrlib.c ltablib.c loadlib.c linit.c
+ lauxlib.c lbaselib.c lcorolib.c ldblib.c liolib.c lmathlib.c
+ loadlib.c loslib.c lstrlib.c ltablib.c lutf8lib.c linit.c
)]])
file('lib/liblua.a', '644', '$outdir/liblua.a')
exe('lua', {'src/lua.c', 'liblua.a'})
-file('bin/lua5.2', '755', '$outdir/lua')
-sym('bin/lua', 'lua5.2')
+file('bin/lua5.4', '755', '$outdir/lua')
+sym('bin/lua', 'lua5.4')
man({'doc/lua.1'})
fetch('curl')
diff --git a/pkg/lang/lua/sha256 b/pkg/lang/lua/sha256
@@ -1 +1 @@
-b9e2e4aad6789b3b63a056d442f7b39f0ecfca3ae0f1fc0ae4e9614401b69f4b lua-5.2.4.tar.gz
+7d5ea1b9cb6aa0b59ca3dde1c6adcb57ef83a1ba8e5432c0ecd06bf439b3ad88 lua-5.4.6.tar.gz
diff --git a/pkg/lang/lua/url b/pkg/lang/lua/url
@@ -1 +1 @@
-url = "http://www.lua.org/ftp/lua-5.2.4.tar.gz"
+url = "http://www.lua.org/ftp/lua-5.4.6.tar.gz"
diff --git a/pkg/lang/lua/ver b/pkg/lang/lua/ver
@@ -1 +1 @@
-5.2.4 r0
+5.4.6 r0