diff options
author | minskim <minskim> | 2007-05-30 17:47:04 +0000 |
---|---|---|
committer | minskim <minskim> | 2007-05-30 17:47:04 +0000 |
commit | b15bd93b1e4c79eac04de6b1472bf2df6d7d1bb5 (patch) | |
tree | 330d66f8c5be4fcaa4d551ccced43cf8866889ca /net | |
parent | 9b6f4c1c11f6728a1e2e262dc7a650e3102aa24b (diff) | |
download | pkgsrc-b15bd93b1e4c79eac04de6b1472bf2df6d7d1bb5.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; |