summaryrefslogtreecommitdiff
path: root/net/traff/files/patch-readconfig.c
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@fuz.su>2022-11-07 20:08:14 +0100
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2022-11-17 08:03:33 +0100
commit98a1bc7f0d2f5539100fe22e27f83cedb29ab040 (patch)
treef6e61425334f89d799c334bc4f3c5b2076bf1650 /net/traff/files/patch-readconfig.c
parentlang/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.c')
-rw-r--r--net/traff/files/patch-readconfig.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/traff/files/patch-readconfig.c b/net/traff/files/patch-readconfig.c
new file mode 100644
index 000000000000..1d89296124ff
--- /dev/null
+++ b/net/traff/files/patch-readconfig.c
@@ -0,0 +1,11 @@
+--- readconfig.c.orig 2022-11-06 12:02:53 UTC
++++ readconfig.c
+@@ -23,6 +23,8 @@
+
+ #define WHITESPACE " \t\r\n"
+
++char conf_file[];
++
+ typedef enum {
+ // oSQL,
+ oBadOption,oDevices,oPeriod,oCat,