summaryrefslogtreecommitdiff
path: root/benchmarks/ttcp
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2002-06-11 21:56:55 +0000
committeritojun <itojun@pkgsrc.org>2002-06-11 21:56:55 +0000
commitcfb7286e07b20376acea830d2456eef332f59cc2 (patch)
tree77350d53a74ba12371ace7a26c347e1676fa8973 /benchmarks/ttcp
parent7c6bc0615a58e16b2116909f9b4108c6bc9de110 (diff)
downloadpkgsrc-cfb7286e07b20376acea830d2456eef332f59cc2.tar.gz
address PR 17220 (portability issues on 64bit arch)
Diffstat (limited to 'benchmarks/ttcp')
-rw-r--r--benchmarks/ttcp/distinfo4
-rw-r--r--benchmarks/ttcp/patches/patch-ab15
2 files changed, 14 insertions, 5 deletions
diff --git a/benchmarks/ttcp/distinfo b/benchmarks/ttcp/distinfo
index 245ccaa5259..76af1b5bfcd 100644
--- a/benchmarks/ttcp/distinfo
+++ b/benchmarks/ttcp/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2002/03/26 16:30:03 abs Exp $
+$NetBSD: distinfo,v 1.4 2002/06/11 21:56:55 itojun Exp $
SHA1 (ttcp.tar.Z) = 33a60af208eff3dc9ae745060f44b24c4e74aa7e
Size (ttcp.tar.Z) = 18163 bytes
SHA1 (patch-aa) = a9717aa9fd5f8cdff1a39c9b7d6ab17abbe399ad
-SHA1 (patch-ab) = 433b6665948d12155bc0e9fad0ffc9207b18294b
+SHA1 (patch-ab) = 8ee4942958765029f50a0b87e45be1f5ca4c56e2
diff --git a/benchmarks/ttcp/patches/patch-ab b/benchmarks/ttcp/patches/patch-ab
index 1e6d8907efc..b20c56f88a8 100644
--- a/benchmarks/ttcp/patches/patch-ab
+++ b/benchmarks/ttcp/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.2 2002/03/26 16:30:04 abs Exp $
+$NetBSD: patch-ab,v 1.3 2002/06/11 21:56:55 itojun Exp $
---- ttcp.c.orig Thu Feb 27 21:30:23 1997
-+++ ttcp.c
+--- ttcp.c.orig Fri Feb 28 06:30:23 1997
++++ ttcp.c Wed Jun 12 06:54:28 2002
@@ -55,6 +55,7 @@
#include <arpa/inet.h>
#include <netdb.h>
@@ -10,6 +10,15 @@ $NetBSD: patch-ab,v 1.2 2002/03/26 16:30:04 abs Exp $
#if defined(SYSV)
#include <sys/times.h>
+@@ -151,7 +152,7 @@
+ int argc;
+ char **argv;
+ {
+- unsigned long addr_tmp;
++ in_addr_t addr_tmp;
+ int c;
+
+ if (argc < 2) goto usage;
@@ -263,7 +264,7 @@
if ( (buf = (char *)malloc(buflen+bufalign)) == (char *)NULL)
err("malloc");