From 6fc230b63497dbc649eb084f62fabb2f08b2edfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Tue, 22 Sep 2020 13:28:40 +0000 Subject: Fix build with -fno-common While here add license (GPLv2) --- sysutils/logtool/files/patch-src_readconf.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sysutils/logtool/files/patch-src_readconf.c (limited to 'sysutils/logtool/files/patch-src_readconf.c') diff --git a/sysutils/logtool/files/patch-src_readconf.c b/sysutils/logtool/files/patch-src_readconf.c new file mode 100644 index 000000000000..1cbe38a85eba --- /dev/null +++ b/sysutils/logtool/files/patch-src_readconf.c @@ -0,0 +1,13 @@ +--- src/readconf.c.orig 2003-04-17 11:12:41 UTC ++++ src/readconf.c +@@ -19,6 +19,10 @@ + */ + + #include "includes.h" ++ ++CONFIG cf; ++STRUCTURE_REGEXS reg; ++ + void lt_set_config_err(char *option, char *val) { + printf("Error: invalid value [%s] to option [%s] in cfg file\n", val, option); + exit (1); -- cgit v1.2.3