pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/tcpdstat Do not declare a static variable in a hea...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5dc3d229959c
branches:  trunk
changeset: 529306:5dc3d229959c
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed May 30 17:47:04 2007 +0000

description:
Do not declare a static variable in a header file.  This makes the package
build with gcc-4.

diffstat:

 net/tcpdstat/distinfo         |   3 ++-
 net/tcpdstat/patches/patch-aa |  12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 0a030b602b03 -r 5dc3d229959c net/tcpdstat/distinfo
--- a/net/tcpdstat/distinfo     Wed May 30 16:00:51 2007 +0000
+++ b/net/tcpdstat/distinfo     Wed May 30 17:47:04 2007 +0000
@@ -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 -r 0a030b602b03 -r 5dc3d229959c net/tcpdstat/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/tcpdstat/patches/patch-aa     Wed May 30 17:47:04 2007 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index