/external/lua.patch
diff -ur lua-5.3.5/src/luaconf.h lua-5.3.5.orig/src/luaconf.h
-/* #define LUA_32BITS */
+#define LUA_32BITS
/*
** 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
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)
** ensure that all software connected to Lua will be compiled with the
** same configuration.
*/