summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>1998-09-01 04:07:33 +0000
committergarbled <garbled@pkgsrc.org>1998-09-01 04:07:33 +0000
commitc2fdbe87e94eb9a48123744a875d395a5ce7e842 (patch)
treea3b7bdd8f4007c57953f56783ad9246596a7c8ae /benchmarks
parentcd31ee61f08e00eab336bebdc4c994f13c0f3b9f (diff)
downloadpkgsrc-c2fdbe87e94eb9a48123744a875d395a5ce7e842.tar.gz
Fix an LP64 bug in the pipe speed tests.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/bytebench/patches/patch-ab22
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) {