summaryrefslogtreecommitdiff
path: root/net/cia
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-03-14 02:10:10 +0000
committerjoerg <joerg@pkgsrc.org>2006-03-14 02:10:10 +0000
commit79d25ca85e2e034dafd9de6758cd613a2c77d1ab (patch)
tree60152d1edef3efc9c7d27cc45102afa3dd7ad5ea /net/cia
parente3de0d0616fa3876e9da13e4c81a61373e1353a0 (diff)
downloadpkgsrc-79d25ca85e2e034dafd9de6758cd613a2c77d1ab.tar.gz
Fix DragonFly build.
Diffstat (limited to 'net/cia')
-rw-r--r--net/cia/distinfo3
-rw-r--r--net/cia/patches/patch-ad19
2 files changed, 21 insertions, 1 deletions
diff --git a/net/cia/distinfo b/net/cia/distinfo
index 97894060ec6..677c72c6306 100644
--- a/net/cia/distinfo
+++ b/net/cia/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2006/01/23 18:46:00 tron Exp $
+$NetBSD: distinfo,v 1.9 2006/03/14 02:10:10 joerg Exp $
SHA1 (cia-20030922.tar.bz2) = 9d0b06c99c6943493ff47412bcb36efde67e40ca
RMD160 (cia-20030922.tar.bz2) = 9f41f8ff057b3f022f5678cca7401ac9e7fe478a
@@ -6,3 +6,4 @@ Size (cia-20030922.tar.bz2) = 7645 bytes
SHA1 (patch-aa) = 6b56f84481813df9dc0bd8044d51d2f857cbaf5a
SHA1 (patch-ab) = da697a1a5222bd0241ea43e7ce5d071b7932af89
SHA1 (patch-ac) = 17e2a2bc343a980149b26340a43994474473f186
+SHA1 (patch-ad) = 166b0b6c8c8167122ccab4c9b14dcb01bb1d7d21
diff --git a/net/cia/patches/patch-ad b/net/cia/patches/patch-ad
new file mode 100644
index 00000000000..8df0855cec3
--- /dev/null
+++ b/net/cia/patches/patch-ad
@@ -0,0 +1,19 @@
+$NetBSD: patch-ad,v 1.1 2006/03/14 02:10:10 joerg Exp $
+
+--- pcap2ipstat/pcap2ipstat.c.orig 2006-03-14 02:07:53.000000000 +0000
++++ pcap2ipstat/pcap2ipstat.c
+@@ -7,9 +7,14 @@
+ #include "checksum.h"
+
+ #include <net/if.h>
++#if defined(__DragonFly__)
++#include <net/ethernet.h>
++#include <net/ppp_layer/ppp_defs.h>
++#else
+ #include <net/if_ether.h>
+ #include <net/ethertypes.h>
+ #include <net/ppp_defs.h>
++#endif
+ #include <netinet/tcp.h>
+ #include <netinet/udp.h>
+