From 54d92ebab5f402409b26a28994ed9309e47c4b41 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 7 May 2008 07:00:45 +0000 Subject: --- contrib/package/lua-luci/patches/200-lua-path | 15 --------------- contrib/package/lua-luci/patches/200-lua-path.patch | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 contrib/package/lua-luci/patches/200-lua-path create mode 100644 contrib/package/lua-luci/patches/200-lua-path.patch (limited to 'contrib/package/lua-luci/patches') diff --git a/contrib/package/lua-luci/patches/200-lua-path b/contrib/package/lua-luci/patches/200-lua-path deleted file mode 100644 index 62dd00e399..0000000000 --- a/contrib/package/lua-luci/patches/200-lua-path +++ /dev/null @@ -1,15 +0,0 @@ ---- 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" diff --git a/contrib/package/lua-luci/patches/200-lua-path.patch b/contrib/package/lua-luci/patches/200-lua-path.patch new file mode 100644 index 0000000000..62dd00e399 --- /dev/null +++ b/contrib/package/lua-luci/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" -- cgit v1.2.3