diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile index 4433f2a8a20..bfe21e84aef 100644 --- a/benchmarks/iozone/Makefile +++ b/benchmarks/iozone/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.37 2003/09/22 22:53:36 pvalchev Exp $ +# $OpenBSD: Makefile,v 1.38 2003/09/30 10:25:34 naddy Exp $ # Uses pthreads COMMENT= "performance test of sequential file I/O" -DISTNAME= iozone3_185 -PKGNAME= iozone-3.185 +DISTNAME= iozone3_203 +PKGNAME= iozone-3.203 CATEGORIES= benchmarks MASTER_SITES= http://www.iozone.org/src/current/ EXTRACT_SUFX= .tar diff --git a/benchmarks/iozone/distinfo b/benchmarks/iozone/distinfo index 657c92cefe3..71f8800d791 100644 --- a/benchmarks/iozone/distinfo +++ b/benchmarks/iozone/distinfo @@ -1,3 +1,3 @@ -MD5 (iozone3_185.tar) = 3e897ee1fa5caed4566d2dfcbaff97e4 -RMD160 (iozone3_185.tar) = 7901ee2946a5a4ed283a911b1cebf368088ccf5c -SHA1 (iozone3_185.tar) = 7bd2622e0c2b26bdcafae88ff0ec4a1a04b84cc5 +MD5 (iozone3_203.tar) = a9afb26ff7959e26bb597df5739baa94 +RMD160 (iozone3_203.tar) = 2f647d0496aec3cc81e91bb01647a1796b314b90 +SHA1 (iozone3_203.tar) = 1fe24b84332034710f59fe8ff04577b068b75917 diff --git a/benchmarks/iozone/patches/patch-iozone_c b/benchmarks/iozone/patches/patch-iozone_c new file mode 100644 index 00000000000..d9ec0af1890 --- /dev/null +++ b/benchmarks/iozone/patches/patch-iozone_c @@ -0,0 +1,13 @@ +$OpenBSD: patch-iozone_c,v 1.6 2003/09/30 10:25:34 naddy Exp $ +--- iozone.c.orig 2003-09-29 15:40:18.000000000 +0200 ++++ iozone.c 2003-09-29 15:41:06.000000000 +0200 +@@ -240,6 +240,9 @@ THISVERSION, + #include + #if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__APPLE__) + #include ++#else ++#include ++#include + #endif + + #if defined (__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) diff --git a/benchmarks/iozone/patches/patch-libbif_c b/benchmarks/iozone/patches/patch-libbif_c new file mode 100644 index 00000000000..172e6cbc738 --- /dev/null +++ b/benchmarks/iozone/patches/patch-libbif_c @@ -0,0 +1,12 @@ +$OpenBSD: patch-libbif_c,v 1.1 2003/09/30 10:25:34 naddy Exp $ +--- libbif.c.orig 2003-09-29 15:45:01.000000000 +0200 ++++ libbif.c 2003-09-29 15:45:35.000000000 +0200 +@@ -20,7 +20,7 @@ + #include + #endif + +-#if defined(OSFV5) || defined(linux) ++#if defined(OSFV5) || defined(linux) || defined(__OpenBSD__) + #include + #endif + diff --git a/benchmarks/iozone/patches/patch-makefile b/benchmarks/iozone/patches/patch-makefile index 18359e2825b..b9d2c59ccf3 100644 --- a/benchmarks/iozone/patches/patch-makefile +++ b/benchmarks/iozone/patches/patch-makefile @@ -1,7 +1,7 @@ -$OpenBSD: patch-makefile,v 1.7 2003/07/07 01:11:21 brad Exp $ ---- makefile.orig Thu Jun 19 13:44:16 2003 -+++ makefile Mon Jul 7 01:01:24 2003 -@@ -352,7 +352,7 @@ macosx: iozone_macosx.o libbif.o +$OpenBSD: patch-makefile,v 1.8 2003/09/30 10:25:34 naddy Exp $ +--- makefile.orig 2003-09-26 16:39:45.000000000 +0200 ++++ makefile 2003-09-29 15:35:22.000000000 +0200 +@@ -374,7 +374,7 @@ macosx: iozone_macosx.o libbif.o # openbsd: iozone_openbsd.o libbif.o @@ -10,7 +10,7 @@ $OpenBSD: patch-makefile,v 1.7 2003/07/07 01:11:21 brad Exp $ iozone_openbsd.o libbif.o -o iozone # -@@ -360,7 +360,7 @@ openbsd: iozone_openbsd.o libbif.o +@@ -382,7 +382,7 @@ openbsd: iozone_openbsd.o libbif.o # openbsd-threads: iozone_openbsd-threads.o libbif.o @@ -19,7 +19,7 @@ $OpenBSD: patch-makefile,v 1.7 2003/07/07 01:11:21 brad Exp $ iozone_openbsd-threads.o \ libbif.o -o iozone -@@ -801,18 +801,18 @@ iozone_openbsd.o: iozone.c libbif.c +@@ -848,18 +848,18 @@ iozone_openbsd.o: iozone.c libbif.c @echo "" @echo "Build iozone for OpenBSD" @echo ""