summaryrefslogtreecommitdiff
path: root/sysutils/logtool/files/patch-src_readconf.c
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-22 13:28:40 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-22 13:28:40 +0000
commit6fc230b63497dbc649eb084f62fabb2f08b2edfd (patch)
tree48f188b573901e55b9b955dd079ead21fc853c78 /sysutils/logtool/files/patch-src_readconf.c
parent- Update to 1.4.3 (diff)
Fix build with -fno-common
While here add license (GPLv2)
Notes
Notes: svn path=/head/; revision=549592
Diffstat (limited to 'sysutils/logtool/files/patch-src_readconf.c')
-rw-r--r--sysutils/logtool/files/patch-src_readconf.c13
1 files changed, 13 insertions, 0 deletions
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);