openwrt-packages/lang/lua-rs232/patches/100-remove-build-timestamps...

21 lines
584 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 @@ RS232_LIB int luaopen_luars232(lua_State
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");