#
PORTNAME= iozone
PORTVERSION= 3.370
PORTVERSION= 3.397
CATEGORIES= benchmarks
MASTER_SITES= http://www.iozone.org/src/current/
DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/}
SHA256 (iozone3_370.tar) = 03cde31626b9fe9dcd2f267926c4d2196e9afc89b6653b68833d22e5822c4f14
SHA256 (iozone3_397.tar) = 213d8dcc6f70ca93a903b5fbb92cf758fd25617db4c65d188d29594f12b30d30
SIZE (iozone3_370.tar) = 1679360
SIZE (iozone3_397.tar) = 1679360
--- 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>
extern int errno; /* imported for errors */