aboutsummaryrefslogtreecommitdiff
path: root/lang/luajit/patches
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2017-01-08 22:10:05 +0800
committerYousong Zhou <yszhou4tech@gmail.com>2017-01-08 22:10:25 +0800
commitea9e3b05ef29c81339c410a86b17c2adf5a87c69 (patch)
treeb70e48b1efbf952c16bcadf1061846293124f382 /lang/luajit/patches
parent0392cd0fc70e885f3d46f918928136edd1414efb (diff)
luajit: move patches dir to the right place
Closes #3792 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'lang/luajit/patches')
-rw-r--r--lang/luajit/patches/010-lua-path.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/luajit/patches/010-lua-path.patch b/lang/luajit/patches/010-lua-path.patch
new file mode 100644
index 000000000..63df9a110
--- /dev/null
+++ b/lang/luajit/patches/010-lua-path.patch
@@ -0,0 +1,13 @@
+--- a/src/luaconf.h
++++ b/src/luaconf.h
+@@ -35,8 +35,8 @@
+ #ifndef LUA_LMULTILIB
+ #define LUA_LMULTILIB "lib"
+ #endif
+-#define LUA_LROOT "/usr/local"
+-#define LUA_LUADIR "/lua/5.1/"
++#define LUA_LROOT "/usr"
++#define LUA_LUADIR "/lua/"
+ #define LUA_LJDIR "/luajit-2.1.0-beta2/"
+
+ #ifdef LUA_ROOT