svn commit: r428489 - in head/benchmarks/fio: . files
Jan Beich
jbeich at FreeBSD.org
Tue Dec 13 14:28:53 UTC 2016
Author: jbeich
Date: Tue Dec 13 14:28:51 2016
New Revision: 428489
URL: https://svnweb.freebsd.org/changeset/ports/428489
Log:
benchmarks/fio: use pshared mutex on 11.0+
PR: 215254
Approved by: bapt (maintainer)
Added:
head/benchmarks/fio/files/
head/benchmarks/fio/files/patch-os_os-freebsd.h (contents, props changed)
Modified:
head/benchmarks/fio/Makefile (contents, props changed)
Modified: head/benchmarks/fio/Makefile
==============================================================================
--- head/benchmarks/fio/Makefile Tue Dec 13 14:26:11 2016 (r428488)
+++ head/benchmarks/fio/Makefile Tue Dec 13 14:28:51 2016 (r428489)
@@ -3,6 +3,7 @@
PORTNAME= fio
PORTVERSION= 2.15
+PORTREVISION= 1
CATEGORIES= benchmarks
MASTER_SITES= http://brick.kernel.dk/snaps/
Added: head/benchmarks/fio/files/patch-os_os-freebsd.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/benchmarks/fio/files/patch-os_os-freebsd.h Tue Dec 13 14:28:51 2016 (r428489)
@@ -0,0 +1,12 @@
+--- os/os-freebsd.h.orig 2016-10-25 18:38:13 UTC
++++ os/os-freebsd.h
+@@ -22,6 +22,9 @@
+ #define FIO_HAVE_TRIM
+ #define FIO_HAVE_GETTID
+ #define FIO_HAVE_CPU_AFFINITY
++#if _POSIX_THREAD_PROCESS_SHARED > 0
++#define FIO_HAVE_PSHARED_MUTEX
++#endif
+
+ #define OS_MAP_ANON MAP_ANON
+
More information about the svn-ports-head
mailing list