diff options
author | Robert Clausecker <fuz@fuz.su> | 2022-11-07 20:08:14 +0100 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2022-11-17 08:03:33 +0100 |
commit | 98a1bc7f0d2f5539100fe22e27f83cedb29ab040 (patch) | |
tree | f6e61425334f89d799c334bc4f3c5b2076bf1650 /net/traff/files/patch-readconfig.h | |
parent | lang/rust: Bump revisions after 1.65.0 (diff) |
net/traff: fix build with -fno-common
Also:
* define LICENSE
* fix missing LIB_DEPENDS on libargp.so
PR: 267594
Reported by: fuz@fuz.su
Approved by: daniel@freebsd.ro (maintainer, timeout 2 weeks)
MFH: 2022Q4 (build fix)
Diffstat (limited to 'net/traff/files/patch-readconfig.h')
-rw-r--r-- | net/traff/files/patch-readconfig.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/net/traff/files/patch-readconfig.h b/net/traff/files/patch-readconfig.h index 0f0af5b4f64f..15c31d3ae1c8 100644 --- a/net/traff/files/patch-readconfig.h +++ b/net/traff/files/patch-readconfig.h @@ -1,5 +1,5 @@ ---- readconfig.h.orig 2009-11-10 20:55:07.000000000 -0500 -+++ readconfig.h 2011-05-26 21:06:12.000000000 -0400 +--- readconfig.h.orig 2009-11-11 01:55:07 UTC ++++ readconfig.h @@ -13,7 +13,7 @@ #endif @@ -9,3 +9,11 @@ #endif #include <stdlib.h> +@@ -118,6 +118,6 @@ int config_read_config_file(t_config * config,char * f + void config_destroy(t_config * config); + char * get_dump_type_str(e_dumptypes dumptype); + +-char conf_file[FILELENGTH]; ++extern char conf_file[FILELENGTH]; + + #endif |