desktop/gnuplot/lua53_compat.patch
2018-07-27 10:02:18 +02:00

14 lines
342 B
Diff

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>