SHA256
10
0
forked from pool/luajit
Files
luajit/0003-Get-rid-of-LUAJIT_VERSION_SYM-that-changes-ABI-on-ev.patch

52 lines
2.1 KiB
Diff
Raw Permalink Normal View History

From: =?utf-8?q?Ond=C5=99ej_Sur=C3=BD?= <ondrej@sury.org>
Date: Thu, 19 Nov 2015 16:29:02 +0200
Subject: Get rid of LUAJIT_VERSION_SYM that changes ABI on every patch release
---
- Update to version 2.1.0~beta3+git.1692716794.03c3112: * Fix typo. * Handle the case when .git is not a directory. * Add .gitattributes to dynamically resolve .relver. * Add .gitattributes to dynamically resolve .relver. * Fix for last commit: also remove symlink on uninstall. * Switch to rolling releases: mark v2.1 as production. * Fix Windows build scripts for rolling releases. * Switch MSVC and console build scripts to rolling releases. * Switch build system to rolling releases. * Update documentation for switch to rolling releases. * Bump copyright date. * Remove work-in-progress notice in string buffer docs. * MIPS: Fix "bad FP FLOAD" assertion. * Ensure forward progress on trace exit to BC_ITERN. * ARM64: Add support for ARM64e pointer authentication codes (PAC). * DynASM/ARM64: Add instructions for ARM64e PAC. * Fix maxslots when recording BC_VARG, part 3. * Fix predict_next() in parser. * MIPS32: Declare that the assembler part uses the FR=0 model. * ARM64: Fix assembly of HREFK (again). * Fix frame for more types of on-trace error messages. * Add workaround for bytecode dump of builtins. * DynASM: Fix regression due to warning fix. * Fix base register coalescing in side trace. * ARM64: Fix assembly of HREFK. * Fix maxslots when recording BC_VARG, part 2. * Fix maxslots when recording BC_TSETM. * Fix maxslots when recording BC_VARG. * Fix register mask for stack check in head of side trace. OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/luajit?expand=0&rev=39
2023-08-23 14:27:54 +00:00
src/lj_dispatch.c | 5 -----
src/luajit.c | 1 -
src/luajit_rolling.h | 3 ---
3 files changed, 9 deletions(-)
Index: LuaJIT-5.1.2.1.0+git.1741730670.538a821/src/lj_dispatch.c
===================================================================
--- LuaJIT-5.1.2.1.0+git.1741730670.538a821.orig/src/lj_dispatch.c 2025-03-11 23:04:30.000000000 +0100
+++ LuaJIT-5.1.2.1.0+git.1741730670.538a821/src/lj_dispatch.c 2025-03-25 17:07:26.955530316 +0100
@@ -318,11 +318,6 @@
return 1; /* OK. */
}
-/* Enforce (dynamic) linker error for version mismatches. See luajit.c. */
-LUA_API void LUAJIT_VERSION_SYM(void)
-{
-}
-
/* -- Hooks --------------------------------------------------------------- */
/* This function can be called asynchronously (e.g. during a signal). */
Index: LuaJIT-5.1.2.1.0+git.1741730670.538a821/src/luajit.c
===================================================================
--- LuaJIT-5.1.2.1.0+git.1741730670.538a821.orig/src/luajit.c 2025-03-11 23:04:30.000000000 +0100
+++ LuaJIT-5.1.2.1.0+git.1741730670.538a821/src/luajit.c 2025-03-25 17:07:26.956030878 +0100
@@ -530,7 +530,6 @@
int argn;
int flags = 0;
globalL = L;
- LUAJIT_VERSION_SYM(); /* Linker-enforced version check. */
argn = collectargs(argv, &flags);
if (argn < 0) { /* Invalid args? */
Index: LuaJIT-5.1.2.1.0+git.1741730670.538a821/src/luajit_rolling.h
===================================================================
--- LuaJIT-5.1.2.1.0+git.1741730670.538a821.orig/src/luajit_rolling.h 2025-03-11 23:04:30.000000000 +0100
+++ LuaJIT-5.1.2.1.0+git.1741730670.538a821/src/luajit_rolling.h 2025-03-25 17:07:26.956298722 +0100
@@ -73,8 +73,5 @@
LUA_API const char *luaJIT_profile_dumpstack(lua_State *L, const char *fmt,
int depth, size_t *len);
-/* Enforce (dynamic) linker error for version mismatches. Call from main. */
-LUA_API void LUAJIT_VERSION_SYM(void);
-
#error "DO NOT USE luajit_rolling.h -- only include build-generated luajit.h"
#endif