summaryrefslogtreecommitdiff
path: root/net/packit/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2005-07-13 14:19:38 +0000
committerdrochner <drochner@pkgsrc.org>2005-07-13 14:19:38 +0000
commit2ae4a397a0cfea8bc78f220b291bfef76de5d29e (patch)
tree82b15a0dbe07c6b0f0e485d323c473f0dfe17bd7 /net/packit/patches
parent074841cd623275bb15452b2a21afcab817504d62 (diff)
downloadpkgsrc-2ae4a397a0cfea8bc78f220b291bfef76de5d29e.tar.gz
allow this to build against pkgsrc libpcap
Diffstat (limited to 'net/packit/patches')
-rw-r--r--net/packit/patches/patch-aa16
-rw-r--r--net/packit/patches/patch-ab14
2 files changed, 30 insertions, 0 deletions
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 <libnet.h>
++#include <net/bpf.h>
++#define PCAP_DONT_INCLUDE_PCAP_BPF_H
+ #include <pcap.h>
+ #include <sys/types.h>
+-#include <net/bpf.h>
+ #include <signal.h>
+ #include <time.h>
+ #include <stdio.h>
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 <libnet.h>
+-#include <pcap.h>
+ #include <sys/types.h>
+-#include <net/bpf.h>
+ #include <signal.h>
+ #include <time.h>
+ #include <stdio.h>