pkgsrc/benchmarks/iozone/patches/patch-ac
bjs eb4f25c75d Update to iozone 3.308.
pkgsrc changes:
- add 'tee' to USE_TOOLS.
- support an optional build with threads support and also support this in the
  'benchmark' target.

Changes since version 2.263

	-Bug fix for -k used in conjunction with -t and content
	 validation.
	-Add DragonFly target.
	-Put PER_VECTOR_OFFSET in for HP-UX
	-Fix compiler warning messages
	-Enforce minimum file size of page_size
	-Minor fixes.
	-Check fsync and close for errors.
	-Adding support for testing block devices. Will be done is phases.
	 This is phase 1. (Single threaded mode only)
	-Adding 4 token support to client_list. Each entry may now contain
	 4 tokens and the new one is the absolute path to the temp
	 file for testing.
	-Add support for external monitor start & stop for throughput
	 tests.
	-IMON_START and IMON_STOP environmental variables used.
	-Bug fix for systems without O_DIRECT. Fall through in switch
	 statement.
	-Fix for -c -t over NFS and initial writer close() when told by
	 another to stop
	-Add Benny Halevy to contributors list.
	-Fix for Cygwin environment.
	-Code cleanup, and add arg to external trigger.
	-Code fixes for macosx
	-Add support for building with Sun's Studio 11 compiler
	-Bug fix for fread/fwrite with > 2Gig files.
	-Add O_DIRECT for Windows
	-Add -+w dedup testing mode.
	-Make remaining non-dedup data unique.
	-Make non-dedupable more unique.
	-Bug fix for non-dedup.
	-Make random offsets unique, using Knuth shuffle.
	-free memory used for random offset uniqueness.
	-Make unique/random offsets 64bits.
	-Add fallback for random/unique.
	-Make non-dedup region more unique
	-Add -+y ## to set percentage of interior dedup.
	-Add -+y ## to set percentage of interior dedup.
	-Bug fixes for -+w and -+y
	-Minor fix for dedup
	-Adding -+C to set percent of dedupable within a file.
	-Add solaris to read sync O_RSYNC
	-Add space to avoid field output touching each other.
	-Add check for config file exceeding MAXSTREAMS.
	-Add new contributor's name.
2008-08-25 19:35:30 +00:00

18 lines
743 B
Text

$NetBSD: patch-ac,v 1.1 2008/08/25 19:35:30 bjs Exp $
--- libbif.c.orig 2008-07-17 11:07:10.000000000 -0400
+++ libbif.c
@@ -20,11 +20,11 @@
#include <sys/fcntl.h>
#endif
-#if defined(OSV5) || defined(linux) || defined (__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) || defined(__DragonFly__)
+#if defined(OSV5) || defined(linux) || defined (__FreeBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) || defined(__DragonFly__) || defined(__NetBSD__)
#include <string.h>
#endif
-#if defined(linux) || defined(__DragonFly__) || defined(macosx)
+#if defined(linux) || defined(__DragonFly__) || defined(macosx) || defined(__NetBSD__)
#include <unistd.h>
#include <stdlib.h>
#endif