packages/lang/lua-rs232/patches/100-remove-build-timestamps.patch
Rosen Penev e87573a5a7
lua-rs232: Update to latest master
Should fix the no previous prototype errors.

Also fixed the install paths. Now running this should be correct.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-16 12:55:39 -08:00

20 lines
543 B
Diff

--- a/bindings/lua/luars232.c
+++ b/bindings/lua/luars232.c
@@ -31,7 +31,6 @@
#include "librs232/rs232.h"
-#define MODULE_TIMESTAMP __DATE__ " " __TIME__
#define MODULE_NAMESPACE "luars232"
#define MODULE_VERSION "1.0.3"
#define MODULE_BUILD "$Id: luars232.c 15 2011-02-23 09:02:20Z sp $"
@@ -553,9 +552,6 @@
lua_pushstring(L, MODULE_BUILD);
lua_setfield(L, -2, "_BUILD");
- lua_pushstring(L, MODULE_TIMESTAMP);
- lua_setfield(L, -2, "_TIMESTAMP");
-
lua_pushstring(L, MODULE_COPYRIGHT);
lua_setfield(L, -2, "_COPYRIGHT");