diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-24 15:45:34 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-24 15:45:34 +0000 |
commit | d641c9d06b687b2a89f160ad4020ab4c2f663a66 (patch) | |
tree | 5c792339e183e10557422287794edfaf4deeb119 /main/lua5.2/lua-5.2-module_paths.patch | |
parent | 8078227b5a0d8243d98a3d61a92584f603283480 (diff) | |
download | aports-d641c9d06b687b2a89f160ad4020ab4c2f663a66.tar.bz2 aports-d641c9d06b687b2a89f160ad4020ab4c2f663a66.tar.xz |
main/lua5.2: moved from testing
Diffstat (limited to 'main/lua5.2/lua-5.2-module_paths.patch')
-rw-r--r-- | main/lua5.2/lua-5.2-module_paths.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/main/lua5.2/lua-5.2-module_paths.patch b/main/lua5.2/lua-5.2-module_paths.patch new file mode 100644 index 0000000000..3d0b3c21b6 --- /dev/null +++ b/main/lua5.2/lua-5.2-module_paths.patch @@ -0,0 +1,26 @@ +diff --git a/src/luaconf.h b/src/luaconf.h +index df802c9..f8f64e0 100644 +--- a/src/luaconf.h ++++ b/src/luaconf.h +@@ -101,13 +101,19 @@ + + #define LUA_VDIR LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "/" + #define LUA_ROOT "/usr/local/" ++#define LUA_ROOT2 "/usr/" + #define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR ++#define LUA_LDIR2 LUA_ROOT2 "share/lua/" LUA_VDIR + #define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR ++#define LUA_CDIR2 LUA_ROOT2 "lib/lua/" LUA_VDIR + #define LUA_PATH_DEFAULT \ + LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \ +- LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" "./?.lua" ++ LUA_LDIR2"?.lua;" LUA_LDIR2"?/init.lua;" \ ++ LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" "./?.lua;" \ ++ LUA_CDIR2"?.lua;" LUA_CDIR2"?/init.lua;" "./?.lua" + #define LUA_CPATH_DEFAULT \ +- LUA_CDIR"?.so;" LUA_CDIR"loadall.so;" "./?.so" ++ LUA_CDIR"?.so;" LUA_CDIR"loadall.so;" \ ++ LUA_CDIR2"?.so;" LUA_CDIR2"loadall.so;" "./?.so" + #endif /* } */ + + |