- Update to 3.203.

- Include prototypes to fix dire warnings on 64-bit platforms.

ok brad@
This commit is contained in:
naddy 2003-09-30 10:25:34 +00:00
parent 86ee1a96ec
commit 1388779675
5 changed files with 37 additions and 12 deletions

View File

@ -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

View File

@ -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

View File

@ -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 <fcntl.h>
#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__APPLE__)
#include <malloc.h>
+#else
+#include <stdlib.h>
+#include <string.h>
#endif
#if defined (__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__)

View File

@ -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 <sys/fcntl.h>
#endif
-#if defined(OSFV5) || defined(linux)
+#if defined(OSFV5) || defined(linux) || defined(__OpenBSD__)
#include <string.h>
#endif

View File

@ -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 ""