[package] lua: add zlib build dependency, fix inaccuracy in gzip loader
[openwrt/svn-archive/archive.git] / package / lua / patches-host / 200-lua-path.patch
1 --- b/src/luaconf.h 2008-05-06 20:10:46.000000000 +0200
2 +++ a/src/luaconf.h 2008-05-06 20:10:27.000000000 +0200
3 @@ -95,9 +95,9 @@
4 ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
5
6 #else
7 -#define LUA_ROOT "/usr/local/"
8 -#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
9 -#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
10 +#define LUA_ROOT "/usr/"
11 +#define LUA_LDIR LUA_ROOT "share/lua/"
12 +#define LUA_CDIR LUA_ROOT "lib/lua/"
13 #define LUA_PATH_DEFAULT \
14 "./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
15 LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua"