Upgrade to version 3.138

This commit is contained in:
Jean-Marc Zucconi 2002-11-08 23:03:11 +00:00
parent b7057b382b
commit 8fe52170fa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69761
4 changed files with 2 additions and 45 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= iozone
PORTVERSION= 3.137
PORTVERSION= 3.138
PORTREVISION= 0
CATEGORIES= benchmarks
MASTER_SITES= http://www.iozone.org/src/current/

View File

@ -1 +1 @@
MD5 (iozone3_137.tar) = af2a2e75b51c18dd78e3ea4205c8ea0d
MD5 (iozone3_138.tar) = a58baadc577027f993ca85c132d9a812

View File

@ -1,23 +0,0 @@
--- makefile.orig Thu Oct 31 18:41:26 2002
+++ makefile Sun Nov 3 23:51:04 2002
@@ -304,7 +304,7 @@
#
freebsd: iozone_freebsd.o libbif.o
- cc -O -Dunix -DHAVE_ANSIC_C -DNO_THREADS -DSHARED_MEM \
+ cc ${CFLAGS} -Dunix -DHAVE_ANSIC_C -DNO_THREADS -DSHARED_MEM \
iozone_freebsd.o libbif.o -o iozone
#
@@ -730,9 +730,9 @@
@echo ""
@echo "Build iozone for FreeBSD"
@echo ""
- cc -c -O -Dunix -Dbsd4_2 -DHAVE_ANSIC_C -DNO_THREADS \
+ cc -c ${CFLAGS} -Dunix -DHAVE_ANSIC_C -DNO_THREADS \
-DSHARED_MEM iozone.c -o iozone_freebsd.o
- cc -c -O -Dunix -Dbsd4_2 -DHAVE_ANSIC_C -DNO_THREADS \
+ cc -c ${CFLAGS} -Dunix -DHAVE_ANSIC_C -DNO_THREADS \
-DSHARED_MEM libbif.c -o libbif.o
iozone_macosx.o: iozone.c libbif.c

View File

@ -1,20 +0,0 @@
--- iozone.c.orig Thu Oct 31 18:41:26 2002
+++ iozone.c Sun Nov 3 23:56:59 2002
@@ -285,7 +285,7 @@
#endif
#ifdef unix
-#ifdef __APPLE__
+#if defined (__APPLE__) || defined (__FreeBSD__)
#include <sys/time.h>
#endif
#include <sys/times.h>
@@ -802,7 +802,7 @@
void throughput_test(); /* Multi process throughput */
void multi_throughput_test(); /* Multi process throughput */
void prepage(); /* Pre-fault user buffer */
-#if defined(linux) || defined(solaris) || defined(__AIX__) || defined(OSFV5) || defined(UWIN) || defined(Windows) || defined(__APPLE__) || defined(OSFV4) || defined(IRIX) || defined(IRIX64)
+#if defined(linux) || defined(solaris) || defined(__AIX__) || defined(OSFV5) || defined(UWIN) || defined(Windows) || defined(__APPLE__) || defined(OSFV4) || defined(IRIX) || defined(IRIX64) || defined (__FreeBSD__)
float do_compute(float); /* compute cycle simulation */
#else
float do_compute(); /* compute cycle simulation */