aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2010-12-22 18:10:11 +0000
committerFrederic Culot <culot@FreeBSD.org>2010-12-22 18:10:11 +0000
commit185bcb3fb682bd3373d816724487170c90208782 (patch)
tree18614897f7a1fa24475e15cef513bc731098b947 /benchmarks
parent6c36f8a9a0bc480d25c96942d8e3d59089f36e02 (diff)
downloadports-185bcb3fb682bd3373d816724487170c90208782.tar.gz
ports-185bcb3fb682bd3373d816724487170c90208782.zip
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/iozone/Makefile2
-rw-r--r--benchmarks/iozone/distinfo5
-rw-r--r--benchmarks/iozone/files/patch-iozone.c11
3 files changed, 14 insertions, 4 deletions
diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile
index d30058966426..aee53c1cb235 100644
--- a/benchmarks/iozone/Makefile
+++ b/benchmarks/iozone/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= iozone
-PORTVERSION= 3.347
+PORTVERSION= 3.370
CATEGORIES= benchmarks
MASTER_SITES= http://www.iozone.org/src/current/
DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/}
diff --git a/benchmarks/iozone/distinfo b/benchmarks/iozone/distinfo
index 3921ae9545ae..98ff07b72a41 100644
--- a/benchmarks/iozone/distinfo
+++ b/benchmarks/iozone/distinfo
@@ -1,3 +1,2 @@
-MD5 (iozone3_347.tar) = db136f775b19e6d9c00714bd2399785f
-SHA256 (iozone3_347.tar) = 695d8674abe3605415d79003ffb13610f56992ecb3afaf755f93facae87e84ad
-SIZE (iozone3_347.tar) = 1648640
+SHA256 (iozone3_370.tar) = 03cde31626b9fe9dcd2f267926c4d2196e9afc89b6653b68833d22e5822c4f14
+SIZE (iozone3_370.tar) = 1679360
diff --git a/benchmarks/iozone/files/patch-iozone.c b/benchmarks/iozone/files/patch-iozone.c
new file mode 100644
index 000000000000..f9acbf20f0f5
--- /dev/null
+++ b/benchmarks/iozone/files/patch-iozone.c
@@ -0,0 +1,11 @@
+--- iozone.c.orig 2010-12-21 14:15:01.000000000 +0800
++++ iozone.c 2010-12-21 14:15:16.000000000 +0800
+@@ -70,7 +70,7 @@
+ #include <Windows.h>
+ int errno;
+ #else
+-#if defined(linux) || defined(solaris) || defined(macosx)
++#if defined(linux) || defined(solaris) || defined(macosx) || defined(FreeBSD)
+ #include <errno.h>
+ #else
+ extern int errno; /* imported for errors */