aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2006-12-16 22:49:12 +0800
committerse <se@FreeBSD.org>2006-12-16 22:49:12 +0800
commit81c12947fc4adbf6b6a984ade9394bc9aa0e1fc6 (patch)
treebbad3e740d93f4abb762ec3b5c2d6225ae058407 /net-mgmt
parent0ef549f184aae8bd080bd21d44bab4f0d9aa4e90 (diff)
downloadfreebsd-ports-gnome-81c12947fc4adbf6b6a984ade9394bc9aa0e1fc6.tar.gz
freebsd-ports-gnome-81c12947fc4adbf6b6a984ade9394bc9aa0e1fc6.tar.zst
freebsd-ports-gnome-81c12947fc4adbf6b6a984ade9394bc9aa0e1fc6.zip
Adapt to stricter "static follows non-static declaration" check in gcc4.
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/argus-clients/files/patch-common_gencode.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/argus-clients/files/patch-common_gencode.c b/net-mgmt/argus-clients/files/patch-common_gencode.c
new file mode 100644
index 000000000000..0628f33fa7c8
--- /dev/null
+++ b/net-mgmt/argus-clients/files/patch-common_gencode.c
@@ -0,0 +1,11 @@
+--- common/gencode.c~ Mon Apr 26 18:30:23 2004
++++ common/gencode.c Sat Dec 16 15:40:07 2006
+@@ -232,7 +232,7 @@
+ #include <signal.h>
+ #include <sys/wait.h>
+
+-static u_int ArgusNetMask;
++u_int ArgusNetMask;
+ static int snaplen;
+
+ int