[packages/luajit] - really enable lua 5.2 abi, rel 3
baggins
baggins at pld-linux.org
Sun Dec 22 21:31:25 CET 2024
commit a7e4fc7fa4ec0f75cd04a07767e8d6153d6ce06e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Dec 22 22:21:39 2024 +0100
- really enable lua 5.2 abi, rel 3
abi-5.2.patch | 11 +++++++++++
luajit.spec | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/luajit.spec b/luajit.spec
index 25b9323..368618d 100644
--- a/luajit.spec
+++ b/luajit.spec
@@ -8,7 +8,7 @@ Summary: Just-in-Time compiler for Lua
Summary(pl.UTF-8): Kompilator JIT dla języka Lua
Name: luajit
Version: 2.1.0
-Release: 0.%{snap}.2
+Release: 0.%{snap}.3
License: MIT
Group: Libraries
# Source0Download: http://luajit.org/download.html
diff --git a/abi-5.2.patch b/abi-5.2.patch
index 167775c..15ba1ff 100644
--- a/abi-5.2.patch
+++ b/abi-5.2.patch
@@ -31,3 +31,14 @@
prefix=/usr/local
multilib=lib
+--- luajit/src/Makefile~ 2024-12-22 21:21:53.000000000 +0100
++++ luajit/src/Makefile 2024-12-22 22:05:27.549999703 +0100
+@@ -98,7 +98,7 @@
+ # enabled by default. Some other features that *might* break some existing
+ # code (e.g. __pairs or os.execute() return values) can be enabled here.
+ # Note: this does not provide full compatibility with Lua 5.2 at this time.
+-#XCFLAGS+= -DLUAJIT_ENABLE_LUA52COMPAT
++XCFLAGS+= -DLUAJIT_ENABLE_LUA52COMPAT
+ #
+ # Disable the JIT compiler, i.e. turn LuaJIT into a pure interpreter.
+ #XCFLAGS+= -DLUAJIT_DISABLE_JIT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/luajit.git/commitdiff/a7e4fc7fa4ec0f75cd04a07767e8d6153d6ce06e
More information about the pld-cvs-commit
mailing list