summaryrefslogtreecommitdiffstats
path: root/package/lua/patches/200-lua-path.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-05-22 14:20:36 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-05-22 14:20:36 +0000
commitbdba5787663bee20325cabd76ed4661ee8c8dd96 (patch)
tree5d87b795c130a543db9101ba74c12d9068dd2d99 /package/lua/patches/200-lua-path.patch
parentd2ec372844004b8a21a7ea2fd0207f1ec48bef57 (diff)
add updated lua patchset from Steven Barth (cyrus) as explained in http://lists.openwrt.org/pipermail/openwrt-devel/2008-May/002170.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11239 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/lua/patches/200-lua-path.patch')
-rw-r--r--package/lua/patches/200-lua-path.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/lua/patches/200-lua-path.patch b/package/lua/patches/200-lua-path.patch
new file mode 100644
index 000000000..62dd00e39
--- /dev/null
+++ b/package/lua/patches/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"