Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:dirkmueller:Factory
luajit
0003-Get-rid-of-LUAJIT_VERSION_SYM-that-changes...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0003-Get-rid-of-LUAJIT_VERSION_SYM-that-changes-ABI-on-ev.patch of Package luajit
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 --- src/lj_dispatch.c | 5 ----- src/luajit.c | 1 - src/luajit_rolling.h | 3 --- 3 files changed, 9 deletions(-) --- a/src/lj_dispatch.c +++ b/src/lj_dispatch.c @@ -318,11 +318,6 @@ int luaJIT_setmode(lua_State *L, int idx 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). */ --- a/src/luajit.c +++ b/src/luajit.c @@ -515,7 +515,6 @@ static int pmain(lua_State *L) int argn; int flags = 0; globalL = L; - LUAJIT_VERSION_SYM(); /* Linker-enforced version check. */ argn = collectargs(argv, &flags); if (argn < 0) { /* Invalid args? */ --- a/src/luajit_rolling.h +++ b/src/luajit_rolling.h @@ -73,8 +73,5 @@ LUA_API void luaJIT_profile_stop(lua_Sta 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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor