1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-15 11:53:59 +02:00
openwrt-packages/lang/lua-rs232/patches/100-remove-build-timestamps.patch
Ilya Lipnitskiy b1cbd93bcd
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
(cherry picked from commit 5d8d4fbbcb)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-02-25 01:26:05 +08:00

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");