summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorjoerg <joerg>2013-09-10 14:12:38 +0000
committerjoerg <joerg>2013-09-10 14:12:38 +0000
commit11fdefc98552f7b1c8f4ff0a368d5ee3ec8059c9 (patch)
tree4f793f7964b8528487aa526ea8cd18a6cefc9599 /benchmarks
parent72a0189a5311a580aaf821315e2746ff5c645448 (diff)
downloadpkgsrc-11fdefc98552f7b1c8f4ff0a368d5ee3ec8059c9.tar.gz
Fix operator precendence. Bump revision.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/bonnie/Makefile4
-rw-r--r--benchmarks/bonnie/distinfo4
-rw-r--r--benchmarks/bonnie/patches/patch-ac4
3 files changed, 6 insertions, 6 deletions
diff --git a/benchmarks/bonnie/Makefile b/benchmarks/bonnie/Makefile
index e92a8f76c71..15ec9b7a774 100644
--- a/benchmarks/bonnie/Makefile
+++ b/benchmarks/bonnie/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.37 2012/09/11 22:37:11 asau Exp $
+# $NetBSD: Makefile,v 1.38 2013/09/10 14:12:38 joerg Exp $
DISTNAME= bonnie
PKGNAME= bonnie-2.06
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= benchmarks
MASTER_SITES= http://www.textuality.com/bonnie/
diff --git a/benchmarks/bonnie/distinfo b/benchmarks/bonnie/distinfo
index d9f61d1fc06..49b7cd72034 100644
--- a/benchmarks/bonnie/distinfo
+++ b/benchmarks/bonnie/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.10 2011/09/12 07:17:14 dholland Exp $
+$NetBSD: distinfo,v 1.11 2013/09/10 14:12:38 joerg Exp $
SHA1 (bonnie.tar.gz) = f435ae56903883c8e3e011eb989783c8410f5ee3
RMD160 (bonnie.tar.gz) = 677446fde3f53e2afc2b5f1d76af2555a4779d88
Size (bonnie.tar.gz) = 7140 bytes
SHA1 (patch-aa) = e81766946655b43fbd6a7c1dc23e32987827d399
SHA1 (patch-ab) = 927415c66b7c03897aa4cbee07cd54c242272148
-SHA1 (patch-ac) = a03a1c886f1c53c5a37b0f0a658bff28ca0b434b
+SHA1 (patch-ac) = f41bbb7bb6fbb6a72b25c31a848450f81eab2376
diff --git a/benchmarks/bonnie/patches/patch-ac b/benchmarks/bonnie/patches/patch-ac
index 0a4238a494b..769033f1bb9 100644
--- a/benchmarks/bonnie/patches/patch-ac
+++ b/benchmarks/bonnie/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.5 2011/09/12 07:17:14 dholland Exp $
+$NetBSD: patch-ac,v 1.6 2013/09/10 14:12:38 joerg Exp $
- ...
- cope with 64-bit off_t
@@ -89,7 +89,7 @@ $NetBSD: patch-ac,v 1.5 2011/09/12 07:17:14 dholland Exp $
+ if (size < ((off_t)1 << 32)) /* From FreeBSD */
+ seekto = random() % (size / Chunk);
+ else
-+ seekto = ((off_t)random() << 32 + random()) % (size / Chunk);
++ seekto = (((off_t)random() << 32) + random()) % (size / Chunk);
+ doseek(seekto, fd,
((lseek_count++ % UpdateSeek) == 0));
if (read(seek_control[0], seek_tickets, 1) != 1)