aboutsummaryrefslogtreecommitdiffstats
path: root/main/luajit/module-paths.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/luajit/module-paths.patch')
-rw-r--r--main/luajit/module-paths.patch4
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"