diff options
| -rw-r--r-- | luarocks.exe.c.jit.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/luarocks.exe.c.jit.patch b/luarocks.exe.c.jit.patch index 3ba5e87..43a1891 100644 --- a/luarocks.exe.c.jit.patch +++ b/luarocks.exe.c.jit.patch | |||
| @@ -1,5 +1,17 @@ | |||
| 1 | --- luarocks.exe.c 2024-09-23 15:25:00.870448000 -0500 | 1 | --- luarocks.exe.c 2024-09-23 15:25:00.870448000 -0500 |
| 2 | +++ luarocks.exe.c 2024-09-23 15:27:52.663551300 -0500 | 2 | +++ luarocks.exe.c 2024-09-23 15:27:52.663551300 -0500 |
| 3 | @@ -17,6 +17,33 @@ | ||
| 4 | #define getprogname() | ||
| 5 | #endif | ||
| 6 | |||
| 7 | +/* LUA_OK defined in lua 5.2+ */ | ||
| 8 | +#ifndef LUA_OK | ||
| 9 | +#define LUA_OK 0 | ||
| 10 | +#endif | ||
| 11 | + | ||
| 12 | static int registry_key; | ||
| 13 | |||
| 14 | /* fatal error, from srlua */ | ||
| 3 | @@ -38282,7 +38309,9 @@ | 15 | @@ -38282,7 +38309,9 @@ |
| 4 | lua_pop(L, 1); | 16 | lua_pop(L, 1); |
| 5 | lua_getfield(L, -1, "loaders"); /* table table.insert package package.loaders */ | 17 | lua_getfield(L, -1, "loaders"); /* table table.insert package package.loaders */ |
