- Add patch to fix a race condition
- Bump PORTREVISION PR: ports/153763 Submitted by: Julien Laffaye <kimelto _AT_ gmail.com> (maintainer)
This commit is contained in:
parent
615506b3ce
commit
e54bcf9fe6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=267518
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= dbench
|
||||
PORTVERSION= 4.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= benchmarks
|
||||
MASTER_SITES= SAMBA
|
||||
MASTER_SITE_SUBDIR= ../../ftp/tridge/dbench
|
||||
|
@ -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
|
||||
|
20
benchmarks/dbench/files/patch-dbench.c
Normal file
20
benchmarks/dbench/files/patch-dbench.c
Normal file
@ -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);
|
Loading…
Reference in New Issue
Block a user