diff options
author | jadawin <jadawin@FreeBSD.org> | 2011-01-09 00:13:25 +0800 |
---|---|---|
committer | jadawin <jadawin@FreeBSD.org> | 2011-01-09 00:13:25 +0800 |
commit | ae91bbfdb2049c8f5621c369e95f056cb81107a6 (patch) | |
tree | 2b6bb37d73dabd1f40f96e51abec328f7ca1b350 /benchmarks/dbench | |
parent | 018acbe426baaeea30e37a08de6ff543f9f83f3f (diff) | |
download | freebsd-ports-gnome-ae91bbfdb2049c8f5621c369e95f056cb81107a6.tar.gz freebsd-ports-gnome-ae91bbfdb2049c8f5621c369e95f056cb81107a6.tar.zst freebsd-ports-gnome-ae91bbfdb2049c8f5621c369e95f056cb81107a6.zip |
- Add patch to fix a race condition
- Bump PORTREVISION
PR: ports/153763
Submitted by: Julien Laffaye <kimelto _AT_ gmail.com> (maintainer)
Diffstat (limited to 'benchmarks/dbench')
-rw-r--r-- | benchmarks/dbench/Makefile | 2 | ||||
-rw-r--r-- | benchmarks/dbench/distinfo | 1 | ||||
-rw-r--r-- | benchmarks/dbench/files/patch-dbench.c | 20 |
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); |