diff options
author | minskim <minskim@pkgsrc.org> | 2007-05-30 17:47:04 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2007-05-30 17:47:04 +0000 |
commit | 22cac7d45fdfc929165d23ac9601a04d2a6c1e4c (patch) | |
tree | 330d66f8c5be4fcaa4d551ccced43cf8866889ca /net | |
parent | 67e2eb0f984fcb4c03324d21cc85ed513e6ebb81 (diff) | |
download | pkgsrc-22cac7d45fdfc929165d23ac9601a04d2a6c1e4c.tar.gz |
Do not declare a static variable in a header file. This makes the package
build with gcc-4.
Diffstat (limited to 'net')
-rw-r--r-- | net/tcpdstat/distinfo | 3 | ||||
-rw-r--r-- | net/tcpdstat/patches/patch-aa | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/net/tcpdstat/distinfo b/net/tcpdstat/distinfo index e8519b672fc..1c3f194da17 100644 --- a/net/tcpdstat/distinfo +++ b/net/tcpdstat/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2005/02/24 12:14:05 agc Exp $ +$NetBSD: distinfo,v 1.4 2007/05/30 17:47:04 minskim Exp $ SHA1 (tcpd-tools-0.8.tar.gz) = fe2abe15bbf9062833af9bec3745c751a8aa06df RMD160 (tcpd-tools-0.8.tar.gz) = 876842cbb37ca65d4b955718abd5ef5c14810dee Size (tcpd-tools-0.8.tar.gz) = 468856 bytes +SHA1 (patch-aa) = 9895d6f2386ef561ac8502b787035f79fa44e771 diff --git a/net/tcpdstat/patches/patch-aa b/net/tcpdstat/patches/patch-aa new file mode 100644 index 00000000000..36cebf763c9 --- /dev/null +++ b/net/tcpdstat/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1 2007/05/30 17:47:04 minskim Exp $ + +--- tcpdstat.h.orig 2000-06-30 04:16:39.000000000 -0700 ++++ tcpdstat.h +@@ -70,7 +70,6 @@ enum protos { + extern int read_count; + extern struct timeval start_time, end_time; + extern struct pkt_cnt tcpdstat[PROTOTYPE_MAX]; +-extern int packet_length; + extern int caplen_total; + extern int caplen_max; + extern int use_ipflow; |