summaryrefslogtreecommitdiff
path: root/repo/system/lua/lua.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-22 17:47:09 +0100
committerdavidovski <david@davidovski.xyz>2022-05-22 17:47:09 +0100
commit79062a39e9bcb9731adbacd0bd9bcd0b59d19d0a (patch)
treef67d3b58f0c4387e7248967c491442afcee0cd06 /repo/system/lua/lua.xibuild
parent2f6c333a5bcef47d9fee59f180fa827cb24290d4 (diff)
fixes to allow for full build
Diffstat (limited to 'repo/system/lua/lua.xibuild')
-rw-r--r--repo/system/lua/lua.xibuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/repo/system/lua/lua.xibuild b/repo/system/lua/lua.xibuild
index fdcf8ab..167fd70 100644
--- a/repo/system/lua/lua.xibuild
+++ b/repo/system/lua/lua.xibuild
@@ -6,18 +6,22 @@ DEPS="readline"
PKG_VER=5.4.4
SOURCE=https://www.lua.org/ftp/lua-$PKG_VER.tar.gz
ADDITIONAL="
- https://www.linuxfromscratch.org/patches/blfs/svn/lua-$PKG_VER-shared_library-1.patch
lua5.4.pc
+
+CVE-2022-28805.patch
+extern-c-for-cpp.patch
+fix-double-free.patch
+lua-5.4.4-shared_library-1.patch
"
DESC="A powerful lightweight scripting language"
prepare () {
+ apply_patches
sed -e "s|@MAJOR_VER@|${PKG_VER%.*}|g" \
-e "s|@MINOR_VER@|${PKG_VER}|g" \
-i lua5.4.pc
- patch -Np1 -i lua-$PKG_VER-shared_library-1.patch
cat > configure.ac <<-EOF
top_buildir=.