aboutsummaryrefslogtreecommitdiffstats
path: root/main/highlight/lua5.1-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/highlight/lua5.1-compat.patch')
-rw-r--r--main/highlight/lua5.1-compat.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/highlight/lua5.1-compat.patch b/main/highlight/lua5.1-compat.patch
new file mode 100644
index 000000000..8fe59e9fb
--- /dev/null
+++ b/main/highlight/lua5.1-compat.patch
@@ -0,0 +1,11 @@
+--- a/src/makefile
++++ b/src/makefile
+@@ -38,7 +38,7 @@
+ # - remove -DUSE_LUA52
+ # - use lua5.1 in the pkg-config calls
+
+-LUA_CFLAGS=$(shell pkg-config --cflags lua) -DUSE_LUA52
++LUA_CFLAGS=$(shell pkg-config --cflags lua)
+
+ # default lua lib
+ LUA_LIBS=$(shell pkg-config --libs lua)