diff options
author | garbled <garbled> | 1998-09-01 04:07:33 +0000 |
---|---|---|
committer | garbled <garbled> | 1998-09-01 04:07:33 +0000 |
commit | 87e5c87a3d99a21bccd2aa3af0083270399e8f9b (patch) | |
tree | a3b7bdd8f4007c57953f56783ad9246596a7c8ae /benchmarks | |
parent | 8329f5b8629f8d65e0549321b768bb48cfec7b39 (diff) | |
download | pkgsrc-87e5c87a3d99a21bccd2aa3af0083270399e8f9b.tar.gz |
Fix an LP64 bug in the pipe speed tests.
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/bytebench/patches/patch-ab | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/benchmarks/bytebench/patches/patch-ab b/benchmarks/bytebench/patches/patch-ab new file mode 100644 index 00000000000..1b322954a45 --- /dev/null +++ b/benchmarks/bytebench/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1 1998/09/01 04:07:33 garbled Exp $ +--- src/context1.c.orig Mon Aug 31 06:33:46 1998 ++++ src/context1.c Mon Aug 31 20:54:52 1998 +@@ -25,6 +25,9 @@ + #include <stdio.h> + #include "timeit.c" + #include <errno.h> ++#include <sys/types.h> ++#include <unistd.h> ++#include <stdlib.h> + + unsigned long iter; + +@@ -39,7 +42,7 @@ + char *argv[]; + { + int duration; +- int check; ++ unsigned long check; + int p1[2], p2[2]; + + if (argc != 2) { |