Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 3079835579 | |||
|
|
b38f8d3867 |
@@ -1,5 +0,0 @@
|
||||
mtime: 1759908582
|
||||
commit: e5b799710903889e0c62a445b2041aae54d6647f0e034e44f5da36645491291d
|
||||
url: https://src.opensuse.org/lua/luajit2.git
|
||||
revision: e5b799710903889e0c62a445b2041aae54d6647f0e034e44f5da36645491291d
|
||||
projectscmsync: https://src.opensuse.org/lua/_ObsPrj.git
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b7305824ba27d29154f383c43e20c2049bd4fefff13bb22edd41e66c2635a84a
|
||||
size 256
|
||||
10134
loong64-support.patch
10134
loong64-support.patch
File diff suppressed because it is too large
Load Diff
BIN
luajit2-2.1-20240815.tar.gz
LFS
Normal file
BIN
luajit2-2.1-20240815.tar.gz
LFS
Normal file
Binary file not shown.
BIN
luajit2-2.1-20250826.tar.gz
LFS
BIN
luajit2-2.1-20250826.tar.gz
LFS
Binary file not shown.
@@ -1,20 +1,20 @@
|
||||
diff -Pdpru luajit2-2.1-20250117.orig/Makefile luajit2-2.1-20250117/Makefile
|
||||
--- luajit2-2.1-20250117.orig/Makefile 2025-01-17 08:03:34.000000000 +0300
|
||||
+++ luajit2-2.1-20250117/Makefile 2025-01-18 12:03:03.025681445 +0300
|
||||
@@ -39,10 +39,10 @@ INSTALL_BIN= $(DPREFIX)/bin
|
||||
diff -Pdpru luajit2-2.1-20240815.orig/Makefile luajit2-2.1-20240815/Makefile
|
||||
--- luajit2-2.1-20240815.orig/Makefile 2024-08-15 03:29:18.000000000 +0300
|
||||
+++ luajit2-2.1-20240815/Makefile 2024-08-28 06:32:57.210186012 +0300
|
||||
@@ -38,10 +38,10 @@ DPREFIX= $(DESTDIR)$(PREFIX)
|
||||
INSTALL_BIN= $(DPREFIX)/bin
|
||||
INSTALL_LIB= $(DPREFIX)/$(MULTILIB)
|
||||
INSTALL_SHARE_= $(PREFIX)/share
|
||||
INSTALL_SHARE= $(DESTDIR)$(INSTALL_SHARE_)
|
||||
INSTALL_SHARE= $(DPREFIX)/share
|
||||
-INSTALL_DEFINC= $(DPREFIX)/include/luajit-$(MMVERSION)
|
||||
+INSTALL_DEFINC= $(DPREFIX)/include/luajit2-$(MMVERSION)
|
||||
INSTALL_INC= $(INSTALL_DEFINC)
|
||||
|
||||
-export INSTALL_LJLIBD= $(INSTALL_SHARE_)/luajit-$(MMVERSION)
|
||||
+export INSTALL_LJLIBD= $(INSTALL_SHARE_)/luajit2-$(MMVERSION)
|
||||
INSTALL_JITLIB= $(DESTDIR)$(INSTALL_LJLIBD)/jit
|
||||
-export INSTALL_LJLIBD= $(INSTALL_SHARE)/luajit-$(MMVERSION)
|
||||
+export INSTALL_LJLIBD= $(INSTALL_SHARE)/luajit2-$(MMVERSION)
|
||||
INSTALL_JITLIB= $(INSTALL_LJLIBD)/jit
|
||||
INSTALL_LMODD= $(INSTALL_SHARE)/lua
|
||||
INSTALL_LMOD= $(INSTALL_LMODD)/$(ABIVER)
|
||||
@@ -51,23 +51,20 @@ INSTALL_CMOD= $(INSTALL_CMODD)/$(ABIVER)
|
||||
@@ -50,23 +50,20 @@ INSTALL_CMOD= $(INSTALL_CMODD)/$(ABIVER)
|
||||
INSTALL_MAN= $(INSTALL_SHARE)/man/man1
|
||||
INSTALL_PKGCONFIG= $(INSTALL_LIB)/pkgconfig
|
||||
|
||||
@@ -47,7 +47,7 @@ diff -Pdpru luajit2-2.1-20250117.orig/Makefile luajit2-2.1-20250117/Makefile
|
||||
INSTALL_PC= $(INSTALL_PKGCONFIG)/$(INSTALL_PCNAME)
|
||||
|
||||
INSTALL_DIRS= $(INSTALL_BIN) $(INSTALL_LIB) $(INSTALL_INC) $(INSTALL_MAN) \
|
||||
@@ -79,20 +76,27 @@ RM= rm -f
|
||||
@@ -78,20 +75,27 @@ RM= rm -f
|
||||
MKDIR= mkdir -p
|
||||
RMDIR= rmdir 2>/dev/null
|
||||
SYMLINK= ln -sf
|
||||
@@ -81,7 +81,7 @@ diff -Pdpru luajit2-2.1-20250117.orig/Makefile luajit2-2.1-20250117/Makefile
|
||||
FILE_MAN= luajit.1
|
||||
FILE_PC= luajit.pc
|
||||
FILES_INC= lua.h lualib.h lauxlib.h luaconf.h lua.hpp luajit.h
|
||||
@@ -131,25 +135,25 @@ install: $(INSTALL_DEP)
|
||||
@@ -130,25 +134,25 @@ install: $(INSTALL_DEP)
|
||||
@echo "==== Installing LuaJIT $(VERSION) to $(PREFIX) ===="
|
||||
$(MKDIR) $(INSTALL_DIRS)
|
||||
cd src && $(INSTALL_X) $(FILE_T) $(INSTALL_T)
|
||||
@@ -111,10 +111,10 @@ diff -Pdpru luajit2-2.1-20250117.orig/Makefile luajit2-2.1-20250117/Makefile
|
||||
for file in $(FILES_JITLIB); do \
|
||||
$(UNINSTALL) $(INSTALL_JITLIB)/$$file; \
|
||||
done
|
||||
diff -Pdpru luajit2-2.1-20250117.orig/src/luaconf.h luajit2-2.1-20250117/src/luaconf.h
|
||||
--- luajit2-2.1-20250117.orig/src/luaconf.h 2025-01-17 08:03:34.000000000 +0300
|
||||
+++ luajit2-2.1-20250117/src/luaconf.h 2025-01-18 12:04:14.635265329 +0300
|
||||
@@ -50,7 +50,7 @@
|
||||
diff -Pdpru luajit2-2.1-20240815.orig/src/luaconf.h luajit2-2.1-20240815/src/luaconf.h
|
||||
--- luajit2-2.1-20240815.orig/src/luaconf.h 2024-08-15 03:29:18.000000000 +0300
|
||||
+++ luajit2-2.1-20240815/src/luaconf.h 2024-08-28 06:35:50.295523664 +0300
|
||||
@@ -51,7 +51,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef LUA_LJDIR
|
||||
@@ -123,9 +123,9 @@ diff -Pdpru luajit2-2.1-20250117.orig/src/luaconf.h luajit2-2.1-20250117/src/lua
|
||||
#endif
|
||||
|
||||
#define LUA_JPATH ";" LUA_LJDIR "/?.lua"
|
||||
diff -Pdpru luajit2-2.1-20250117.orig/src/Makefile luajit2-2.1-20250117/src/Makefile
|
||||
--- luajit2-2.1-20250117.orig/src/Makefile 2025-01-17 08:03:34.000000000 +0300
|
||||
+++ luajit2-2.1-20250117/src/Makefile 2025-01-18 12:09:11.660041483 +0300
|
||||
diff -Pdpru luajit2-2.1-20240815.orig/src/Makefile luajit2-2.1-20240815/src/Makefile
|
||||
--- luajit2-2.1-20240815.orig/src/Makefile 2024-08-15 03:29:18.000000000 +0300
|
||||
+++ luajit2-2.1-20240815/src/Makefile 2024-08-28 06:40:25.429926912 +0300
|
||||
@@ -214,11 +214,11 @@ TARGET_AR= $(CROSS)ar rcus
|
||||
TARGET_STRIP= $(CROSS)strip
|
||||
|
||||
|
||||
@@ -1,42 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 8 07:29:03 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Updated to 2.1.20250826 (1756211046)
|
||||
* FFI: Fix dangling CType references (again).
|
||||
* Avoid out-of-range PC for stack overflow error from snapshot restore.
|
||||
* x86/x64: Don't use undefined MUL/IMUL zero flag.
|
||||
* Windows: Add lua52compat option to msvcbuild.bat.
|
||||
- Cherry-pick riscv64-support.patch to add RISC-V support
|
||||
- Cherry-pick loong64-support.patch to add LoongArch support
|
||||
- Increase _default_patch_fuzz to 2 to allow patches to apply
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 11 14:07:00 UTC 2025 - Илья Индиго <ilya@ilya.top>
|
||||
|
||||
- Updated to 2.1.20250529 (1748495995).
|
||||
* https://github.com/openresty/luajit2/compare/v2.1-20250117...v2.1-20250529
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 18 10:16:26 UTC 2025 - Илья Индиго <ilya@ilya.top>
|
||||
|
||||
- Updated to 2.1.20250117 (1737090214).
|
||||
* Changed file luajit2-name.patch.
|
||||
* https://github.com/openresty/luajit2/compare/v2.1-20241203...v2.1-20250117
|
||||
* Fixed recording of BC_VARG.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 23 13:05:56 UTC 2024 - Илья Индиго <ilya@ilya.top>
|
||||
|
||||
- Updated to 2.1.20241113 (2.1.1731486438).
|
||||
* Upstream doesn't provide a ChangeLog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 7 08:00:47 UTC 2024 - Илья Индиго <ilya@ilya.top>
|
||||
|
||||
- Updated to 2.1.20241104 (2.1.1728714540).
|
||||
* FFI: Added missing coercion when recording 64-bit bit.*().
|
||||
* ARM64: Used ldr literal to load FP constants.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 28 03:54:34 UTC 2024 - Илья Индиго <ilya@ilya.top>
|
||||
|
||||
|
||||
13
luajit2.spec
13
luajit2.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package luajit2
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,13 +15,13 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%global _default_patch_fuzz 2
|
||||
|
||||
%define abi_ver 5.1
|
||||
%define so_ver 2
|
||||
%define lib_ver 5_1-%{so_ver}
|
||||
%define major 2.1
|
||||
%define minor 20250826
|
||||
%define upstream 1756211046
|
||||
%define minor 20240815
|
||||
%define upstream 1723681758
|
||||
Name: luajit2
|
||||
Version: %{major}.%{minor}
|
||||
Release: 0
|
||||
@@ -31,8 +31,6 @@ URL: https://github.com/openresty/%{name}
|
||||
Source0: https://github.com/openresty/%{name}/archive/refs/tags/v%{major}-%{minor}.tar.gz#/%{name}-%{major}-%{minor}.tar.gz
|
||||
Source1: baselibs.conf
|
||||
Patch0: %{name}-name.patch
|
||||
Patch1: https://patch-diff.githubusercontent.com/raw/openresty/luajit2/pull/236.patch#/riscv64-support.patch#/riscv64-support.patch
|
||||
Patch2: https://github.com/openresty/luajit2/pull/245/commits/8e40aca7b3a919456b15698273e9b00e9250e769.patch#/loong64-support.patch
|
||||
BuildRequires: pkgconfig
|
||||
Requires: lib%{name}-%{lib_ver} = %{version}
|
||||
|
||||
@@ -77,7 +75,8 @@ Devel files for %{name} package.
|
||||
PREFIX=%{_prefix} \
|
||||
MULTILIB=%{_lib}
|
||||
|
||||
%ldconfig_scriptlets -n lib%{name}-%{lib_ver}
|
||||
%post -n lib%{name}-%{lib_ver} -p /sbin/ldconfig
|
||||
%postun -n lib%{name}-%{lib_ver} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%{_bindir}/%{name}
|
||||
|
||||
12433
riscv64-support.patch
12433
riscv64-support.patch
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user