diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-12-29 10:37:47 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-12-29 10:40:01 +0100 |
commit | 1f13b9cc72547ceb18381658a5faddcfc8448d9c (patch) | |
tree | 7ef65ab549b1cbf4968b593758178c743b583433 /main/luajit/module-paths.patch | |
parent | 80540c1d0ea805c1cff515df8e120ad20dc8a0a2 (diff) | |
download | aports-1f13b9cc72547ceb18381658a5faddcfc8448d9c.tar.bz2 aports-1f13b9cc72547ceb18381658a5faddcfc8448d9c.tar.xz |
main/luajit: fix path for Lua modules compatible with all versions
Diffstat (limited to 'main/luajit/module-paths.patch')
-rw-r--r-- | main/luajit/module-paths.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/luajit/module-paths.patch b/main/luajit/module-paths.patch index 27e73675a1..46e8d12cf5 100644 --- a/main/luajit/module-paths.patch +++ b/main/luajit/module-paths.patch @@ -1,4 +1,4 @@ -Add /usr/share/common to LUA_PATH. We use this directory for Lua modules +Add /usr/share/lua/common to LUA_PATH. We use this directory for Lua modules that are compatible with Lua 5.1 and newer. --- a/src/luaconf.h @@ -7,7 +7,7 @@ that are compatible with Lua 5.1 and newer. #ifdef LUA_ROOT #define LUA_JROOT LUA_ROOT #define LUA_RLDIR LUA_ROOT "/share" LUA_LUADIR -+#define LUA_RLDIR2 LUA_ROOT "/share/common/" ++#define LUA_RLDIR2 LUA_ROOT "/share/lua/common/" #define LUA_RCDIR LUA_ROOT "/" LUA_MULTILIB LUA_LUADIR #define LUA_RLPATH ";" LUA_RLDIR "?.lua;" LUA_RLDIR "?/init.lua" +#define LUA_RLPATH2 ";" LUA_RLDIR2 "?.lua;" LUA_RLDIR2 "?/init.lua" |