/external/lua.patch
diff -ur lua-5.3.5/src/luaconf.h lua-5.3.5.orig/src/luaconf.h
--- lua-5.3.5/src/luaconf.h	2017-04-19 12:29:57.000000000 -0500
+++ lua-5.3.5.orig/src/luaconf.h	2019-01-10 23:01:29.048803300 -0600
@@ -33,7 +33,7 @@
 ** ensure that all software connected to Lua will be compiled with the
 ** same configuration.
 */
-/* #define LUA_32BITS */
+#define LUA_32BITS
 
 
 /*
@@ -782,7 +782,7 @@
 ** without modifying the main part of the file.
 */
 
-
+#define l_signalT unsigned int
 
 
 
Only in lua-5.3.5.orig/src: lundump.o
Only in lua-5.3.5.orig/src: lutf8lib.o
Only in lua-5.3.5.orig/src: lvm.o
Only in lua-5.3.5.orig/src: lzio.o
diff -ur lua-5.3.5/src/Makefile lua-5.3.5.orig/src/Makefile
--- lua-5.3.5/src/Makefile	2018-06-25 12:46:36.000000000 -0500
+++ lua-5.3.5.orig/src/Makefile	2019-01-21 23:54:50.177074600 -0600
@@ -7,7 +7,7 @@
 PLAT= none
 
 CC= gcc -std=gnu99
-CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS)
+CFLAGS= -O2 -g -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS)
 LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
 LIBS= -lm $(SYSLIBS) $(MYLIBS)