summarylogtreecommitdiffstats
path: root/lua53_compat.patch
diff options
context:
space:
mode:
authorNimrod Maclomhair2017-04-23 01:40:38 +0200
committerNimrod Maclomhair2017-04-23 01:40:38 +0200
commit411f1c6459ee8b1bed5aa0909d88b5ea31c02f98 (patch)
tree90e7cd6a560cd6dd51a6696c21f54a6fe0dfce97 /lua53_compat.patch
downloadaur-411f1c6459ee8b1bed5aa0909d88b5ea31c02f98.tar.gz
So headless gnuplot is coming.
Diffstat (limited to 'lua53_compat.patch')
-rw-r--r--lua53_compat.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/lua53_compat.patch b/lua53_compat.patch
new file mode 100644
index 000000000000..9d3be770ae02
--- /dev/null
+++ b/lua53_compat.patch
@@ -0,0 +1,13 @@
+diff --git a/term/lua.trm b/term/lua.trm
+index af63d68..474221f 100644
+--- a/term/lua.trm
++++ b/term/lua.trm
+@@ -110,6 +110,8 @@ TERM_PUBLIC void LUA_boxed_text __PROTO((unsigned int, unsigned int, int));
+ # define LUA_EXTERNAL_IMAGES 1
+ #endif
+
++
++#define LUA_COMPAT_APIINTCASTS
+ #include <lua.h>
+ #include <lualib.h>
+ #include <lauxlib.h>