From 9068591d361f1cbf6df8ed8f119d6587f7591abe Mon Sep 17 00:00:00 2001 From: drochner Date: Wed, 13 Jul 2005 14:19:38 +0000 Subject: allow this to build against pkgsrc libpcap --- net/packit/Makefile | 3 +-- net/packit/distinfo | 4 +++- net/packit/patches/patch-aa | 16 ++++++++++++++++ net/packit/patches/patch-ab | 14 ++++++++++++++ 4 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 net/packit/patches/patch-aa create mode 100644 net/packit/patches/patch-ab (limited to 'net/packit') diff --git a/net/packit/Makefile b/net/packit/Makefile index bc14fc68fe3..117827ff51f 100644 --- a/net/packit/Makefile +++ b/net/packit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2005/04/11 21:46:57 tv Exp $ +# $NetBSD: Makefile,v 1.3 2005/07/13 14:19:38 drochner Exp $ DISTNAME= packit-1.0 CATEGORIES= net @@ -10,7 +10,6 @@ HOMEPAGE= http://packit.sourceforge.net/ COMMENT= Network auditing tool with the ability to manipulate IP traffic GNU_CONFIGURE= YES -USE_BUILTIN.libpcap= YES CONFIGURE_ARGS+= --with-libpcap-includes=${BUILDLINK_PREFIX.libpcap}/include CONFIGURE_ARGS+= --with-libpcap-libraries=${BUILDLINK_PREFIX.libpcap}/lib diff --git a/net/packit/distinfo b/net/packit/distinfo index 03d6353dba9..610a6dd3ee4 100644 --- a/net/packit/distinfo +++ b/net/packit/distinfo @@ -1,5 +1,7 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 12:13:59 agc Exp $ +$NetBSD: distinfo,v 1.3 2005/07/13 14:19:38 drochner Exp $ SHA1 (packit-1.0.tgz) = 21e1540c55879123d6bcca92c64d371b734893b1 RMD160 (packit-1.0.tgz) = 02b2ec56ccac5f8d755c0d84f1360b1cea698fce Size (packit-1.0.tgz) = 138367 bytes +SHA1 (patch-aa) = 01dbe7c947682016aa302c9963bf227d15c39c55 +SHA1 (patch-ab) = 1c3139bdd9c73435acee53bcf49278899b386a17 diff --git a/net/packit/patches/patch-aa b/net/packit/patches/patch-aa new file mode 100644 index 00000000000..48659b6f814 --- /dev/null +++ b/net/packit/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1 2005/07/13 14:19:38 drochner Exp $ + +--- src/globals.h.orig 2005-07-13 15:58:53.000000000 +0200 ++++ src/globals.h +@@ -29,9 +29,10 @@ + #endif + + #include ++#include ++#define PCAP_DONT_INCLUDE_PCAP_BPF_H + #include + #include +-#include + #include + #include + #include diff --git a/net/packit/patches/patch-ab b/net/packit/patches/patch-ab new file mode 100644 index 00000000000..2fd07849e38 --- /dev/null +++ b/net/packit/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1 2005/07/13 14:19:38 drochner Exp $ + +--- src/main.h.orig 2005-07-13 16:01:20.000000000 +0200 ++++ src/main.h +@@ -24,9 +24,7 @@ + #define __MAIN_H + + #include +-#include + #include +-#include + #include + #include + #include -- cgit v1.2.3