diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-02-22 23:54:26 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-02-22 23:54:26 +0000 |
commit | 9fcd4ac70286058e744bd2cd90317b320491facc (patch) | |
tree | 8ed07da043d48a28388ad3bf594e28be7571b506 /package/lua/patches-host/200-lua-path.patch | |
parent | 835b12f4adb7a71243c8b7c7c3f844710953320d (diff) | |
download | upstream-9fcd4ac70286058e744bd2cd90317b320491facc.tar.gz upstream-9fcd4ac70286058e744bd2cd90317b320491facc.tar.bz2 upstream-9fcd4ac70286058e744bd2cd90317b320491facc.zip |
add back the old host patches for lua to improve portability
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14631 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/lua/patches-host/200-lua-path.patch')
-rw-r--r-- | package/lua/patches-host/200-lua-path.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/lua/patches-host/200-lua-path.patch b/package/lua/patches-host/200-lua-path.patch new file mode 100644 index 0000000000..62dd00e399 --- /dev/null +++ b/package/lua/patches-host/200-lua-path.patch @@ -0,0 +1,15 @@ +--- b/src/luaconf.h 2008-05-06 20:10:46.000000000 +0200 ++++ a/src/luaconf.h 2008-05-06 20:10:27.000000000 +0200 +@@ -95,9 +95,9 @@ + ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll" + + #else +-#define LUA_ROOT "/usr/local/" +-#define LUA_LDIR LUA_ROOT "share/lua/5.1/" +-#define LUA_CDIR LUA_ROOT "lib/lua/5.1/" ++#define LUA_ROOT "/usr/" ++#define LUA_LDIR LUA_ROOT "share/lua/" ++#define LUA_CDIR LUA_ROOT "lib/lua/" + #define LUA_PATH_DEFAULT \ + "./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \ + LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua" |