aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2006-09-17 04:47:59 +0800
committerse <se@FreeBSD.org>2006-09-17 04:47:59 +0800
commitfa4e267a29aeb3e0ade7d1d61b9cf0d75a4255b2 (patch)
tree2af2c95f1cce2d381fc40c3ced3bc426e158c809 /net-mgmt
parent4e546b365069c68fef0a2d62fd1c52f0a949039a (diff)
downloadfreebsd-ports-gnome-fa4e267a29aeb3e0ade7d1d61b9cf0d75a4255b2.tar.gz
freebsd-ports-gnome-fa4e267a29aeb3e0ade7d1d61b9cf0d75a4255b2.tar.zst
freebsd-ports-gnome-fa4e267a29aeb3e0ade7d1d61b9cf0d75a4255b2.zip
Fix build if the ports version of libpcap is installed.
Reported by: Mike Patterson (mpatters at cs dot uwaterloo dot ca)
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/argus/files/patch-common::argus_filter.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-mgmt/argus/files/patch-common::argus_filter.c b/net-mgmt/argus/files/patch-common::argus_filter.c
new file mode 100644
index 000000000000..2c0d6bb3b24d
--- /dev/null
+++ b/net-mgmt/argus/files/patch-common::argus_filter.c
@@ -0,0 +1,20 @@
+--- common/argus_filter.c~ Sat Sep 16 22:36:56 2006
++++ common/argus_filter.c Sat Sep 16 22:38:10 2006
+@@ -3713,7 +3713,7 @@
+ extern int ether_hostton(char *, struct ether_addr *);
+ #endif
+
+-#if !defined(HAVE_ETHER_HOSTTON) && !defined(linux) && !defined(CYGWIN) && !defined(__NetBSD__)
++#if !defined(HAVE_ETHER_HOSTTON) && !defined(linux) && !defined(CYGWIN) && !defined(__NetBSD__) &&!defined(__FreeBSD__)
+ extern int ether_ntohost(char *, struct ether_addr *);
+ extern int ether_hostton(char *, struct ether_addr *);
+ #endif
+@@ -4680,7 +4680,7 @@
+ register u_char *ap;
+ u_char a[6];
+
+-#if !defined(HAVE_ETHER_HOSTTON) && !defined(__NetBSD__)
++#if !defined(HAVE_ETHER_HOSTTON) && !defined(__NetBSD__) && !defined(__FreeBSD__)
+ extern int ether_hostton(char *, struct ether_addr *);
+ #endif
+