From 591dfcea18879826a30d166edbb98673ea10007c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Sat, 16 Sep 2006 20:47:59 +0000 Subject: Fix build if the ports version of libpcap is installed. Reported by: Mike Patterson (mpatters at cs dot uwaterloo dot ca) --- net-mgmt/argus/files/patch-common::argus_filter.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 net-mgmt/argus/files/patch-common::argus_filter.c (limited to 'net-mgmt') 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 + -- cgit v1.2.3