summaryrefslogtreecommitdiffstats
path: root/package/lua/5.2.4/0001-root-path.patch
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2015-03-08 11:56:16 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-08 14:34:52 +0100
commit077193b6b3afb9af431d99a7a7ce5471f7a98a87 (patch)
tree726d21aa4f53b9e82ce4dfeb761f47bc486f3d98 /package/lua/5.2.4/0001-root-path.patch
parent1f361b26e8cbe5686d2a570b6cd9eeb4a7e684fe (diff)
downloadbuildroot-077193b6b3afb9af431d99a7a7ce5471f7a98a87.tar.gz
buildroot-077193b6b3afb9af431d99a7a7ce5471f7a98a87.zip
lua: bump to version 5.2.4
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/lua/5.2.4/0001-root-path.patch')
-rw-r--r--package/lua/5.2.4/0001-root-path.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/lua/5.2.4/0001-root-path.patch b/package/lua/5.2.4/0001-root-path.patch
new file mode 100644
index 0000000000..c6f242c20e
--- /dev/null
+++ b/package/lua/5.2.4/0001-root-path.patch
@@ -0,0 +1,17 @@
+Adjust installation location to /usr.
+
+Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
+
+Index: b/src/luaconf.h
+===================================================================
+--- a/src/luaconf.h
++++ b/src/luaconf.h
+@@ -100,7 +100,7 @@
+ #else /* }{ */
+
+ #define LUA_VDIR LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "/"
+-#define LUA_ROOT "/usr/local/"
++#define LUA_ROOT "/usr/"
+ #define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR
+ #define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR
+ #define LUA_PATH_DEFAULT \
OpenPOWER on IntegriCloud