aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorPhilippe Audeoud <jadawin@FreeBSD.org>2011-01-08 16:13:25 +0000
committerPhilippe Audeoud <jadawin@FreeBSD.org>2011-01-08 16:13:25 +0000
commite54bcf9fe6a9bec268a18857d18884b25e2399f3 (patch)
treee6e2a59d5bd753c0c4658006c93c04ac38b9cdde /benchmarks
parent615506b3ce04a30287159e718b3619d4173f9223 (diff)
downloadports-e54bcf9fe6a9bec268a18857d18884b25e2399f3.tar.gz
ports-e54bcf9fe6a9bec268a18857d18884b25e2399f3.zip
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/dbench/Makefile2
-rw-r--r--benchmarks/dbench/distinfo1
-rw-r--r--benchmarks/dbench/files/patch-dbench.c20
3 files changed, 21 insertions, 2 deletions
diff --git a/benchmarks/dbench/Makefile b/benchmarks/dbench/Makefile
index a19c801e0ea0..edb683c747fb 100644
--- a/benchmarks/dbench/Makefile
+++ b/benchmarks/dbench/Makefile
@@ -7,7 +7,7 @@
PORTNAME= dbench
PORTVERSION= 4.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= benchmarks
MASTER_SITES= SAMBA
MASTER_SITE_SUBDIR= ../../ftp/tridge/dbench
diff --git a/benchmarks/dbench/distinfo b/benchmarks/dbench/distinfo
index acb35cbd9bfa..fb675d473e42 100644
--- a/benchmarks/dbench/distinfo
+++ b/benchmarks/dbench/distinfo
@@ -1,3 +1,2 @@
-MD5 (dbench-4.0.tar.gz) = 1fe56ff71b9a416f8889d7150ac54da4
SHA256 (dbench-4.0.tar.gz) = 6001893f34e68a3cfeb5d424e1f2bfef005df96a22d86f35dc770c5bccf3aa8a
SIZE (dbench-4.0.tar.gz) = 2055359
diff --git a/benchmarks/dbench/files/patch-dbench.c b/benchmarks/dbench/files/patch-dbench.c
new file mode 100644
index 000000000000..c5a1fb4e8390
--- /dev/null
+++ b/benchmarks/dbench/files/patch-dbench.c
@@ -0,0 +1,20 @@
+--- ./dbench.c.orig 2011-01-07 14:33:29.000000000 +0000
++++ ./dbench.c 2011-01-07 14:36:43.000000000 +0000
+@@ -304,7 +304,7 @@
+ exit(1);
+ }
+
+- semctl(barrier,0,IPC_RMID);
++ //semctl(barrier,0,IPC_RMID);
+
+ fn(&children[i*options.clients_per_process], options.loadfile);
+ _exit(0);
+@@ -334,7 +334,7 @@
+ exit(1);
+ }
+
+- semctl(barrier,0,IPC_RMID);
++ //semctl(barrier,0,IPC_RMID);
+
+ signal(SIGALRM, sig_alarm);
+ alarm(PRINT_FREQ);