summarylogtreecommitdiffstats
path: root/lua53_compat.patch
diff options
context:
space:
mode:
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>