summaryrefslogtreecommitdiff
path: root/benchmarks/iozone/patches
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/iozone/patches')
-rw-r--r--benchmarks/iozone/patches/patch-ab8
-rw-r--r--benchmarks/iozone/patches/patch-ac14
2 files changed, 13 insertions, 9 deletions
diff --git a/benchmarks/iozone/patches/patch-ab b/benchmarks/iozone/patches/patch-ab
index 86c637216b9..2074a6c2f25 100644
--- a/benchmarks/iozone/patches/patch-ab
+++ b/benchmarks/iozone/patches/patch-ab
@@ -1,4 +1,6 @@
-$NetBSD: patch-ab,v 1.11 2012/06/07 15:57:20 asau Exp $
+$NetBSD: patch-ab,v 1.12 2014/12/09 13:53:13 mef Exp $
+
+Add NetBSD, DragonFly, including correction of typo
--- iozone.c.orig 2012-05-10 05:14:12.000000000 +0000
+++ iozone.c
@@ -6,8 +8,8 @@ $NetBSD: patch-ab,v 1.11 2012/06/07 15:57:20 asau Exp $
#include <windows.h>
#include <errno.h>
#else
--#if defined(linux) || defined(solaris) || defined(macosx) || defined(__AIX__) || defined(FreeBSD) || defined(_HPUX_SOURCE) || defined(__OpenBSD__) || defined(__DragonFly__)
-+#if defined(linux) || defined(solaris) || defined(macosx) || defined(__AIX__) || defined(__FreeBSD__) || defined(_HPUX_SOURCE) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
+-#if defined(linux) || defined(solaris) || defined(IOZ_macosx) || defined(__AIX__) || defined(FreeBSD) || defined(_HPUX_SOURCE) || defined(__OpenBSD__) || defined(__DragonFly__)
++#if defined(linux) || defined(solaris) || defined(IOZ_macosx) || defined(__AIX__) || defined(__FreeBSD__) || defined(_HPUX_SOURCE) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__NetBSD__)
#include <errno.h>
#else
extern int errno; /* imported for errors */
diff --git a/benchmarks/iozone/patches/patch-ac b/benchmarks/iozone/patches/patch-ac
index cbe15108317..435f01f13ca 100644
--- a/benchmarks/iozone/patches/patch-ac
+++ b/benchmarks/iozone/patches/patch-ac
@@ -1,8 +1,10 @@
-$NetBSD: patch-ac,v 1.1 2008/08/25 19:35:30 bjs Exp $
+$NetBSD: patch-ac,v 1.2 2014/12/09 13:53:13 mef Exp $
---- libbif.c.orig 2008-07-17 11:07:10.000000000 -0400
-+++ libbif.c
-@@ -20,11 +20,11 @@
+Add NetBSD
+
+--- libbif.c.orig 2014-08-12 04:39:14.000000000 +0900
++++ libbif.c 2014-12-09 22:18:29.000000000 +0900
+@@ -23,11 +23,11 @@
#include <sys/fcntl.h>
#endif
@@ -11,8 +13,8 @@ $NetBSD: patch-ac,v 1.1 2008/08/25 19:35:30 bjs Exp $
#include <string.h>
#endif
--#if defined(linux) || defined(__DragonFly__) || defined(macosx)
-+#if defined(linux) || defined(__DragonFly__) || defined(macosx) || defined(__NetBSD__)
+-#if defined(linux) || defined(__DragonFly__) || defined(IOZ_macosx)
++#if defined(linux) || defined(__DragonFly__) || defined(IOZ_macosx) || defined(__NetBSD__)
#include <unistd.h>
#include <stdlib.h>
#endif