From 98a1bc7f0d2f5539100fe22e27f83cedb29ab040 Mon Sep 17 00:00:00 2001 From: Robert Clausecker Date: Mon, 7 Nov 2022 20:08:14 +0100 Subject: 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) --- net/traff/files/patch-readconfig.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/traff/files/patch-readconfig.c (limited to 'net/traff/files/patch-readconfig.c') 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, -- cgit v1.2.3