pkgsrc/benchmarks/iozone/patches/patch-ab
garbled 8ea51f8da3 Update this pkg to 3.56. Changes are mostly bugfixes, available at:
http://www.iozone.org/src/current/Changes.txt

I have patched the source however, to allow use of the pread/prwite
tests, via the -E extension mode.  Also, the benchmark target has been fixed.
2001-07-16 22:04:54 +00:00

22 lines
771 B
Text

$NetBSD: patch-ab,v 1.3 2001/07/16 22:04:55 garbled Exp $
--- makefile.orig Mon Jul 16 02:00:14 2001
+++ makefile Mon Jul 16 02:01:06 2001
@@ -320,7 +320,7 @@
netbsd: iozone_netbsd.o libbif.o
cc -O -Dunix -Dbsd4_4 -DHAVE_ANSIC_C -DNO_THREADS -DSHARED_MEM \
- iozone_netbsd.o libbif.o -o iozone
+ -DHAVE_PREAD iozone_netbsd.o libbif.o -o iozone
#
#
@@ -656,7 +656,7 @@
@echo ""
@echo "Building iozone NetBSD "
@echo ""
- cc -c -O -Dunix -Dbsd4_4 -DHAVE_ANSIC_C -DNO_THREADS \
+ cc -c -O -Dunix -Dbsd4_4 -DHAVE_ANSIC_C -DNO_THREADS -DHAVE_PREAD \
-DSHARED_MEM iozone.c -o iozone_netbsd.o
- cc -c -O -Dunix -Dbsd4_4 -DHAVE_ANSIC_C -DNO_THREADS \
+ cc -c -O -Dunix -Dbsd4_4 -DHAVE_ANSIC_C -DNO_THREADS -DHAVE_PREAD \
-DSHARED_MEM libbif.c -o libbif.o