aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2016-03-29 00:24:26 +0800
committerpi <pi@FreeBSD.org>2016-03-29 00:24:26 +0800
commit8aa8b38fa6b06ad9071ce76ea8514a1e99eeebfd (patch)
treef2ab6e9437f5247fcb4970d99d4305cc99e5fa56
parentbb074ad7adcd69887d530215f488029130222b1a (diff)
downloadfreebsd-ports-gnome-8aa8b38fa6b06ad9071ce76ea8514a1e99eeebfd.tar.gz
freebsd-ports-gnome-8aa8b38fa6b06ad9071ce76ea8514a1e99eeebfd.tar.zst
freebsd-ports-gnome-8aa8b38fa6b06ad9071ce76ea8514a1e99eeebfd.zip
net-mgmt/arpwatch: add missing files for -z flag
PR: 208361 Reported by: ohartman@zedat.fu-berlin.de
-rw-r--r--net-mgmt/arpwatch/files/patch-util.c10
-rw-r--r--net-mgmt/arpwatch/files/patch-util.h8
2 files changed, 18 insertions, 0 deletions
diff --git a/net-mgmt/arpwatch/files/patch-util.c b/net-mgmt/arpwatch/files/patch-util.c
new file mode 100644
index 000000000000..24a46e363179
--- /dev/null
+++ b/net-mgmt/arpwatch/files/patch-util.c
@@ -0,0 +1,10 @@
+--- util.c.orig 2004-01-22 22:25:39 UTC
++++ util.c
+@@ -60,6 +60,7 @@ u_char zero[6] = { 0, 0, 0, 0, 0, 0 };
+ u_char allones[6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
+
+ int debug = 0;
++int zeroflag = 0;
+ int initializing = 1; /* true if initializing */
+
+ /* syslog() helper routine */
diff --git a/net-mgmt/arpwatch/files/patch-util.h b/net-mgmt/arpwatch/files/patch-util.h
new file mode 100644
index 000000000000..a2acc88abf37
--- /dev/null
+++ b/net-mgmt/arpwatch/files/patch-util.h
@@ -0,0 +1,8 @@
+--- util.h.orig 1996-10-06 10:22:14 UTC
++++ util.h
+@@ -16,4 +16,5 @@ extern u_char zero[6];
+ extern u_char allones[6];
+
+ extern int debug;
++extern int zeroflag;
+ extern int initializing;