head 1.11; access; symbols pkgsrc-2026Q1:1.11.0.4 pkgsrc-2026Q1-base:1.11 pkgsrc-2025Q4:1.11.0.2 pkgsrc-2025Q4-base:1.11 pkgsrc-2025Q3:1.10.0.82 pkgsrc-2025Q3-base:1.10 pkgsrc-2025Q2:1.10.0.80 pkgsrc-2025Q2-base:1.10 pkgsrc-2025Q1:1.10.0.78 pkgsrc-2025Q1-base:1.10 pkgsrc-2024Q4:1.10.0.76 pkgsrc-2024Q4-base:1.10 pkgsrc-2024Q3:1.10.0.74 pkgsrc-2024Q3-base:1.10 pkgsrc-2024Q2:1.10.0.72 pkgsrc-2024Q2-base:1.10 pkgsrc-2024Q1:1.10.0.70 pkgsrc-2024Q1-base:1.10 pkgsrc-2023Q4:1.10.0.68 pkgsrc-2023Q4-base:1.10 pkgsrc-2023Q3:1.10.0.66 pkgsrc-2023Q3-base:1.10 pkgsrc-2023Q2:1.10.0.64 pkgsrc-2023Q2-base:1.10 pkgsrc-2023Q1:1.10.0.62 pkgsrc-2023Q1-base:1.10 pkgsrc-2022Q4:1.10.0.60 pkgsrc-2022Q4-base:1.10 pkgsrc-2022Q3:1.10.0.58 pkgsrc-2022Q3-base:1.10 pkgsrc-2022Q2:1.10.0.56 pkgsrc-2022Q2-base:1.10 pkgsrc-2022Q1:1.10.0.54 pkgsrc-2022Q1-base:1.10 pkgsrc-2021Q4:1.10.0.52 pkgsrc-2021Q4-base:1.10 pkgsrc-2021Q3:1.10.0.50 pkgsrc-2021Q3-base:1.10 pkgsrc-2021Q2:1.10.0.48 pkgsrc-2021Q2-base:1.10 pkgsrc-2021Q1:1.10.0.46 pkgsrc-2021Q1-base:1.10 pkgsrc-2020Q4:1.10.0.44 pkgsrc-2020Q4-base:1.10 pkgsrc-2020Q3:1.10.0.42 pkgsrc-2020Q3-base:1.10 pkgsrc-2020Q2:1.10.0.38 pkgsrc-2020Q2-base:1.10 pkgsrc-2020Q1:1.10.0.18 pkgsrc-2020Q1-base:1.10 pkgsrc-2019Q4:1.10.0.40 pkgsrc-2019Q4-base:1.10 pkgsrc-2019Q3:1.10.0.36 pkgsrc-2019Q3-base:1.10 pkgsrc-2019Q2:1.10.0.34 pkgsrc-2019Q2-base:1.10 pkgsrc-2019Q1:1.10.0.32 pkgsrc-2019Q1-base:1.10 pkgsrc-2018Q4:1.10.0.30 pkgsrc-2018Q4-base:1.10 pkgsrc-2018Q3:1.10.0.28 pkgsrc-2018Q3-base:1.10 pkgsrc-2018Q2:1.10.0.26 pkgsrc-2018Q2-base:1.10 pkgsrc-2018Q1:1.10.0.24 pkgsrc-2018Q1-base:1.10 pkgsrc-2017Q4:1.10.0.22 pkgsrc-2017Q4-base:1.10 pkgsrc-2017Q3:1.10.0.20 pkgsrc-2017Q3-base:1.10 pkgsrc-2017Q2:1.10.0.16 pkgsrc-2017Q2-base:1.10 pkgsrc-2017Q1:1.10.0.14 pkgsrc-2017Q1-base:1.10 pkgsrc-2016Q4:1.10.0.12 pkgsrc-2016Q4-base:1.10 pkgsrc-2016Q3:1.10.0.10 pkgsrc-2016Q3-base:1.10 pkgsrc-2016Q2:1.10.0.8 pkgsrc-2016Q2-base:1.10 pkgsrc-2016Q1:1.10.0.6 pkgsrc-2016Q1-base:1.10 pkgsrc-2015Q4:1.10.0.4 pkgsrc-2015Q4-base:1.10 pkgsrc-2015Q3:1.10.0.2 pkgsrc-2015Q3-base:1.10 pkgsrc-2015Q2:1.9.0.14 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.9.0.12 pkgsrc-2015Q1-base:1.9 pkgsrc-2014Q4:1.9.0.10 pkgsrc-2014Q4-base:1.9 pkgsrc-2014Q3:1.9.0.8 pkgsrc-2014Q3-base:1.9 pkgsrc-2014Q2:1.9.0.6 pkgsrc-2014Q2-base:1.9 pkgsrc-2014Q1:1.9.0.4 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.9.0.2 pkgsrc-2013Q4-base:1.9 pkgsrc-2013Q3:1.8.0.68 pkgsrc-2013Q3-base:1.8 pkgsrc-2013Q2:1.8.0.66 pkgsrc-2013Q2-base:1.8 pkgsrc-2013Q1:1.8.0.64 pkgsrc-2013Q1-base:1.8 pkgsrc-2012Q4:1.8.0.62 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.8.0.60 pkgsrc-2012Q3-base:1.8 pkgsrc-2012Q2:1.8.0.58 pkgsrc-2012Q2-base:1.8 pkgsrc-2012Q1:1.8.0.56 pkgsrc-2012Q1-base:1.8 pkgsrc-2011Q4:1.8.0.54 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.52 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.50 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.48 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.8.0.46 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.44 pkgsrc-2010Q3-base:1.8 pkgsrc-2010Q2:1.8.0.42 pkgsrc-2010Q2-base:1.8 pkgsrc-2010Q1:1.8.0.40 pkgsrc-2010Q1-base:1.8 pkgsrc-2009Q4:1.8.0.38 pkgsrc-2009Q4-base:1.8 pkgsrc-2009Q3:1.8.0.36 pkgsrc-2009Q3-base:1.8 pkgsrc-2009Q2:1.8.0.34 pkgsrc-2009Q2-base:1.8 pkgsrc-2009Q1:1.8.0.32 pkgsrc-2009Q1-base:1.8 pkgsrc-2008Q4:1.8.0.30 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.8.0.28 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.26 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.24 pkgsrc-2008Q2-base:1.8 cwrapper:1.8.0.22 pkgsrc-2008Q1:1.8.0.20 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.8.0.18 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.8.0.16 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.8.0.14 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.8.0.12 pkgsrc-2007Q1-base:1.8 pkgsrc-2006Q4:1.8.0.10 pkgsrc-2006Q4-base:1.8 pkgsrc-2006Q3:1.8.0.8 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.8.0.6 pkgsrc-2006Q2-base:1.8 pkgsrc-2006Q1:1.8.0.4 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.8.0.2 pkgsrc-2005Q4-base:1.8 pkgsrc-2005Q3:1.5.0.10 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.8 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.6 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.4 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.2 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.3.0.4 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.6 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.2 pkgviews-base:1.3 buildlink2:1.2.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.2 netbsd-1-5-PATCH001:1.1; locks; strict; comment @# @; 1.11 date 2025.10.07.03.56.39; author mrg; state Exp; branches; next 1.10; commitid 3U031JkO0KAMBAdG; 1.10 date 2015.07.04.16.11.53; author bsiegert; state Exp; branches; next 1.9; commitid jTItDwsQhrp99Zry; 1.9 date 2013.12.17.15.05.23; author tron; state Exp; branches; next 1.8; commitid AKxlzT9JSWqgUuhx; 1.8 date 2005.12.21.11.49.51; author tron; state Exp; branches; next 1.7; 1.7 date 2005.12.05.20.49.51; author rillig; state Exp; branches; next 1.6; 1.6 date 2005.11.07.13.55.32; author joerg; state Exp; branches; next 1.5; 1.5 date 2004.07.30.10.16.52; author he; state Exp; branches; next 1.4; 1.4 date 2003.03.19.13.12.23; author tron; state Exp; branches; next 1.3; 1.3 date 2002.06.11.21.56.55; author itojun; state Exp; branches; next 1.2; 1.2 date 2002.03.26.16.30.04; author abs; state Exp; branches 1.2.2.1; next 1.1; 1.1 date 2001.04.17.11.57.42; author tron; state Exp; branches; next ; 1.2.2.1 date 2002.06.23.18.39.44; author jlam; state Exp; branches; next ; desc @@ 1.11 log @Fix build with GCC 14: add missing types mostly. @ text @$NetBSD: patch-ab,v 1.10 2015/07/04 16:11:53 bsiegert Exp $ Fix build. --- ttcp.c.orig 1997-02-27 13:30:23.000000000 -0800 +++ ttcp.c 2025-09-29 15:13:42.037611645 -0700 @@@@ -44,17 +44,20 @@@@ static char RCSid[] = "ttcp.c $Revision: /* #define BSD41a */ /* #define SYSV */ /* required on SGI IRIX releases before 3.3 */ -#include -#include -#include -#include #include #include #include #include #include +#include +#include +#include +#include #include #include /* struct timeval */ +#include +#include +#include #if defined(SYSV) #include @@@@ -71,7 +74,8 @@@@ struct sockaddr_in sinme; struct sockaddr_in sinhim; struct sockaddr_in frominet; -int domain, fromlen; +int domain; +socklen_t fromlen; int fd; /* fd of network socket */ int buflen = 8 * 1024; /* length of buffer */ @@@@ -99,7 +103,6 @@@@ char fmt = 'K'; /* output format: k = int touchdata = 0; /* access data after reading */ struct hostent *addr; -extern int errno; extern int optind; extern char *optarg; @@@@ -147,11 +150,11 @@@@ sigpipe() { } -main(argc,argv) +int main(argc,argv) int argc; char **argv; { - unsigned long addr_tmp; + in_addr_t addr_tmp; int c; if (argc < 2) goto usage; @@@@ -263,29 +266,30 @@@@ char **argv; if ( (buf = (char *)malloc(buflen+bufalign)) == (char *)NULL) err("malloc"); if (bufalign != 0) - buf +=(bufalign - ((int)buf % bufalign) + bufoffset) % bufalign; + buf +=(bufalign - ((u_long)buf % bufalign) + bufoffset) % bufalign; if (trans) { - fprintf(stdout, + fprintf(stderr, "ttcp-t: buflen=%d, nbuf=%d, align=%d/%d, port=%d", buflen, nbuf, bufalign, bufoffset, port); if (sockbufsize) - fprintf(stdout, ", sockbufsize=%d", sockbufsize); + fprintf(stderr, ", sockbufsize=%d", sockbufsize); fprintf(stdout, " %s -> %s\n", udp?"udp":"tcp", host); } else { - fprintf(stdout, + fprintf(stderr, "ttcp-r: buflen=%d, nbuf=%d, align=%d/%d, port=%d", buflen, nbuf, bufalign, bufoffset, port); if (sockbufsize) - fprintf(stdout, ", sockbufsize=%d", sockbufsize); - fprintf(stdout, " %s\n", udp?"udp":"tcp"); + fprintf(stderr, ", sockbufsize=%d", sockbufsize); + fprintf(stderr, " %s\n", udp?"udp":"tcp"); } if ((fd = socket(AF_INET, udp?SOCK_DGRAM:SOCK_STREAM, 0)) < 0) err("socket"); mes("socket"); - if (bind(fd, &sinme, sizeof(sinme)) < 0) + sinme.sin_family = AF_INET; + if (bind(fd, (struct sockaddr *)&sinme, sizeof(sinme)) < 0) err("bind"); #if defined(SO_SNDBUF) || defined(SO_RCVBUF) @@@@ -326,7 +330,7 @@@@ char **argv; mes("nodelay"); } #endif - if(connect(fd, &sinhim, sizeof(sinhim) ) < 0) + if(connect(fd, (struct sockaddr *)&sinhim, sizeof(sinhim) ) < 0) err("connect"); mes("connect"); } else { @@@@ -348,11 +352,11 @@@@ char **argv; } fromlen = sizeof(frominet); domain = AF_INET; - if((fd=accept(fd, &frominet, &fromlen) ) < 0) + if((fd=accept(fd, (struct sockaddr *)&frominet, &fromlen) ) < 0) err("accept"); { struct sockaddr_in peer; - int peerlen = sizeof(peer); - if (getpeername(fd, (struct sockaddr_in *) &peer, + socklen_t peerlen = sizeof(peer); + if (getpeername(fd, (struct sockaddr *) &peer, &peerlen) < 0) { err("getpeername"); } @@@@ -412,25 +416,25 @@@@ char **argv; } if( cput <= 0.0 ) cput = 0.001; if( realt <= 0.0 ) realt = 0.001; - fprintf(stdout, + fprintf(stderr, "ttcp%s: %.0f bytes in %.2f real seconds = %s/sec +++\n", trans?"-t":"-r", nbytes, realt, outfmt(nbytes/realt)); if (verbose) { - fprintf(stdout, + fprintf(stderr, "ttcp%s: %.0f bytes in %.2f CPU seconds = %s/cpu sec\n", trans?"-t":"-r", nbytes, cput, outfmt(nbytes/cput)); } - fprintf(stdout, + fprintf(stderr, "ttcp%s: %d I/O calls, msec/call = %.2f, calls/sec = %.2f\n", trans?"-t":"-r", numCalls, 1024.0 * realt/((double)numCalls), ((double)numCalls)/realt); - fprintf(stdout,"ttcp%s: %s\n", trans?"-t":"-r", stats); + fprintf(stderr,"ttcp%s: %s\n", trans?"-t":"-r", stats); if (verbose) { - fprintf(stdout, + fprintf(stderr, "ttcp%s: buffer address %#x\n", trans?"-t":"-r", buf); @@@@ -459,7 +463,7 @@@@ char *s; fprintf(stderr,"ttcp%s: %s\n", trans?"-t":"-r", s); } -pattern( cp, cnt ) +int pattern( cp, cnt ) register char *cp; register int cnt; { @@@@ -488,13 +492,13 @@@@ double b; sprintf(obuf, "%.2f MB", b / 1024.0 / 1024.0); break; case 'g': - sprintf(obuf, "%.2f Gbit", b * 8.0 / 1024.0 / 1024.0 / 1024.0); + sprintf(obuf, "%.2f Gbit", b * 8.0 / 1000.0 / 1000.0 / 1000.0); break; case 'k': - sprintf(obuf, "%.2f Kbit", b * 8.0 / 1024.0); + sprintf(obuf, "%.2f Kbit", b * 8.0 / 1000.0); break; case 'm': - sprintf(obuf, "%.2f Mbit", b * 8.0 / 1024.0 / 1024.0); + sprintf(obuf, "%.2f Mbit", b * 8.0 / 1000.0 / 1000.0); break; } return obuf; @@@@ -554,6 +558,7 @@@@ prep_timer() double read_timer(str,len) char *str; +int len; { struct timeval timedol; struct rusage ru1; @@@@ -743,16 +748,17 @@@@ register char *cp; /* * N R E A D */ +int Nread( fd, buf, count ) int fd; void *buf; int count; { struct sockaddr_in from; - int len = sizeof(from); + socklen_t len = sizeof(from); register int cnt; if( udp ) { - cnt = recvfrom( fd, buf, count, 0, &from, &len ); + cnt = recvfrom( fd, buf, count, 0, (struct sockaddr *)&from, &len ); numCalls++; } else { if( b_flag ) @@@@ -774,6 +780,7 @@@@ int count; /* * N W R I T E */ +int Nwrite( fd, buf, count ) int fd; void *buf; @@@@ -782,7 +789,7 @@@@ int count; register int cnt; if( udp ) { again: - cnt = sendto( fd, buf, count, 0, &sinhim, sizeof(sinhim) ); + cnt = sendto( fd, buf, count, 0, (struct sockaddr *)&sinhim, sizeof(sinhim) ); numCalls++; if( cnt<0 && errno == ENOBUFS ) { delay(18000); @@@@ -797,13 +804,13 @@@@ again: } void -delay(us) +delay(int us) { struct timeval tv; tv.tv_sec = 0; tv.tv_usec = us; - (void)select( 1, (char *)0, (char *)0, (char *)0, &tv ); + (void)select( 1, (void *)0, (void *)0, (void *)0, &tv ); } /* @ 1.10 log @Use 1000-based units for line speeds. From Anders Magnusson in PR pkg/22102, in 2003. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.9 2013/12/17 15:05:23 tron Exp $ d5 3 a7 3 --- ttcp.c.orig 1997-02-27 21:30:23.000000000 +0000 +++ ttcp.c @@@@ -44,17 +44,19 @@@@ static char RCSid[] = "ttcp.c $Revision: d28 1 d32 1 a32 1 @@@@ -71,7 +73,8 @@@@ struct sockaddr_in sinme; d42 1 a42 1 @@@@ -99,7 +102,6 @@@@ char fmt = 'K'; /* output format: k = d50 6 a55 1 @@@@ -151,7 +153,7 @@@@ main(argc,argv) d64 1 a64 1 @@@@ -263,29 +265,30 @@@@ char **argv; d102 1 a102 1 @@@@ -326,7 +329,7 @@@@ char **argv; d111 1 a111 1 @@@@ -348,11 +351,11 @@@@ char **argv; d126 1 a126 1 @@@@ -412,25 +415,25 @@@@ char **argv; d157 10 a166 1 @@@@ -488,13 +491,13 @@@@ double b; d183 16 a198 1 @@@@ -749,10 +752,10 @@@@ void *buf; d211 9 a219 1 @@@@ -782,7 +785,7 @@@@ int count; d228 8 a235 1 @@@@ -803,7 +806,7 @@@@ delay(us) @ 1.9 log @Small fixes: 1.) Comment out "MASTER_SITES". The URL no longer works and all copies that Google can find are "pkgsrc" distfile mirrors. 2.) Fix various "pkglint" errors. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.8 2005/12/21 11:49:51 tron Exp $ d6 2 a7 2 +++ ttcp.c 2005-12-21 11:40:39.000000000 +0000 @@@@ -44,17 +44,19 @@@@ d31 1 a31 1 @@@@ -71,7 +73,8 @@@@ d41 1 a41 1 @@@@ -99,7 +102,6 @@@@ d49 1 a49 1 @@@@ -151,7 +153,7 @@@@ d58 1 a58 1 @@@@ -263,29 +265,30 @@@@ d96 1 a96 1 @@@@ -326,7 +329,7 @@@@ d105 1 a105 1 @@@@ -348,11 +351,11 @@@@ d120 1 a120 1 @@@@ -412,25 +415,25 @@@@ d151 18 a168 1 @@@@ -749,10 +752,10 @@@@ d181 1 a181 1 @@@@ -782,7 +785,7 @@@@ d190 1 a190 1 @@@@ -803,7 +806,7 @@@@ @ 1.8 log @- Fix GCC 4.x build problems. - Correct crude Darwin build fix so it doesn't break under 8.x. @ text @d1 3 a3 1 $NetBSD$ @ 1.7 log @Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.6 2005/11/07 13:55:32 joerg Exp $ d4 13 a16 2 +++ ttcp.c @@@@ -55,6 +55,7 @@@@ d18 4 d25 1 d29 11 a39 1 @@@@ -99,7 +100,6 @@@@ char fmt = 'K'; /* output format: k = d47 1 a47 1 @@@@ -151,7 +151,7 @@@@ main(argc,argv) d56 1 a56 1 @@@@ -263,29 +263,30 @@@@ char **argv; d94 1 a94 1 @@@@ -326,7 +327,7 @@@@ char **argv; d103 1 a103 1 @@@@ -348,11 +349,11 @@@@ char **argv; d111 1 a111 1 int peerlen = sizeof(peer); d113 1 d118 1 a118 1 @@@@ -412,25 +413,25 @@@@ char **argv; d149 6 a154 2 @@@@ -752,7 +753,7 @@@@ int count; int len = sizeof(from); d162 1 a162 1 @@@@ -782,7 +783,7 @@@@ int count; d171 1 a171 1 @@@@ -803,7 +804,7 @@@@ delay(us) @ 1.6 log @Depend on errno.h to provide errno. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -55,6 +55,7 @@@@ static char RCSid[] = "ttcp.c $Revision: @ 1.5 log @Print statistics to stderr, not to stdout, so that this program can be used for bulk data transport without adding any crud at the receiving end. Bump pkgrevision to 2. @ text @d3 1 a3 1 --- ttcp.c.orig 1997-02-27 22:30:23.000000000 +0100 d13 9 a21 1 @@@@ -151,7 +152,7 @@@@ main(argc,argv) d30 1 a30 1 @@@@ -263,29 +264,30 @@@@ char **argv; d68 1 a68 1 @@@@ -326,7 +328,7 @@@@ char **argv; d77 1 a77 1 @@@@ -348,11 +350,11 @@@@ char **argv; d91 1 a91 1 @@@@ -412,25 +414,25 @@@@ char **argv; d122 1 a122 1 @@@@ -752,7 +754,7 @@@@ int count; d131 1 a131 1 @@@@ -782,7 +784,7 @@@@ int count; d140 1 a140 1 @@@@ -803,7 +805,7 @@@@ delay(us) @ 1.4 log @Initialize the address family before calling bind(2) which fixes the receive mode under NetBSD-current. Bump package revision after this important bug-fix. @ text @d4 2 a5 2 +++ ttcp.c 2003-03-19 14:09:08.000000000 +0100 @@@@ -55,6 +55,7 @@@@ d13 1 a13 1 @@@@ -151,7 +152,7 @@@@ d22 1 a22 1 @@@@ -263,7 +264,7 @@@@ d30 21 a50 2 fprintf(stdout, @@@@ -285,7 +286,8 @@@@ d60 1 a60 1 @@@@ -326,7 +328,7 @@@@ d69 1 a69 1 @@@@ -348,11 +350,11 @@@@ d83 32 a114 1 @@@@ -752,7 +754,7 @@@@ d123 1 a123 1 @@@@ -782,7 +784,7 @@@@ d132 1 a132 1 @@@@ -803,7 +805,7 @@@@ @ 1.3 log @address PR 17220 (portability issues on 64bit arch) @ text @d3 2 a4 2 --- ttcp.c.orig Fri Feb 28 06:30:23 1997 +++ ttcp.c Wed Jun 12 06:54:28 2002 d31 1 a31 1 @@@@ -285,7 +286,7 @@@@ d36 1 d41 1 a41 1 @@@@ -326,7 +327,7 @@@@ d50 1 a50 1 @@@@ -348,11 +349,11 @@@@ d64 1 a64 1 @@@@ -752,7 +753,7 @@@@ d73 1 a73 1 @@@@ -782,7 +783,7 @@@@ d82 1 a82 1 @@@@ -803,7 +804,7 @@@@ @ 1.2 log @reset CATDEPS under Linux @ text @d3 2 a4 2 --- ttcp.c.orig Thu Feb 27 21:30:23 1997 +++ ttcp.c d13 9 @ 1.2.2.1 log @Merge from pkgsrc-current to buildlink2 branch. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2002/06/11 21:56:55 itojun Exp $ d3 2 a4 2 --- ttcp.c.orig Fri Feb 28 06:30:23 1997 +++ ttcp.c Wed Jun 12 06:54:28 2002 a12 9 @@@@ -151,7 +152,7 @@@@ int argc; char **argv; { - unsigned long addr_tmp; + in_addr_t addr_tmp; int c; if (argc < 2) goto usage; @ 1.1 log @Move "ttcp" package to category "benchmarks". @ text @d2 3 a4 2 --- ttcp.c.orig Fri Aug 6 15:30:21 1999 +++ ttcp.c Fri Aug 6 15:30:21 1999 @