diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-06-17 13:13:21 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-06-17 13:13:21 +0000 |
commit | 20db30b16a5afaf44b683dfb4661aef7f027cf68 (patch) | |
tree | b57c0cdf4d3cd2fd95a953e9b148c1659bdaeb1e /benchmarks/iozone | |
parent | 6683dbc3fa8468f03b410cb9710575498a4ba519 (diff) | |
download | ports-20db30b16a5afaf44b683dfb4661aef7f027cf68.tar.gz ports-20db30b16a5afaf44b683dfb4661aef7f027cf68.zip |
Notes
Diffstat (limited to 'benchmarks/iozone')
-rw-r--r-- | benchmarks/iozone/Makefile | 4 | ||||
-rw-r--r-- | benchmarks/iozone/distinfo | 5 | ||||
-rw-r--r-- | benchmarks/iozone/files/patch-iozone.c | 27 | ||||
-rw-r--r-- | benchmarks/iozone/files/patch-libasync.c | 38 | ||||
-rw-r--r-- | benchmarks/iozone/files/patch-libbif.c | 11 |
5 files changed, 58 insertions, 27 deletions
diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile index f595c4b1c667..8e25a3d8de73 100644 --- a/benchmarks/iozone/Makefile +++ b/benchmarks/iozone/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= iozone -PORTVERSION= 3.420 +PORTVERSION= 3.434 CATEGORIES= benchmarks MASTER_SITES= http://www.iozone.org/src/current/ DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/} @@ -11,8 +11,6 @@ EXTRACT_SUFX= .tar MAINTAINER= ports@FreeBSD.org COMMENT= Performance Test of Sequential File I/O -CONFLICTS= iozone-2.* iozone21-* - WRKSRC= ${WRKDIR}/${DISTNAME}/src/current MAKEFILE= makefile diff --git a/benchmarks/iozone/distinfo b/benchmarks/iozone/distinfo index 122fdefcdce9..43743d9ee2f9 100644 --- a/benchmarks/iozone/distinfo +++ b/benchmarks/iozone/distinfo @@ -1,2 +1,3 @@ -SHA256 (iozone3_420.tar) = f793cc68e86aea5c93fb3010f4088653138a610c3b14047b2314ab6a1f8d5b8e -SIZE (iozone3_420.tar) = 1832960 +TIMESTAMP = 1466168535 +SHA256 (iozone3_434.tar) = 2c388d9db393a5505b31eca38951883744c69745f687f3c7df5185b4681d462a +SIZE (iozone3_434.tar) = 1843200 diff --git a/benchmarks/iozone/files/patch-iozone.c b/benchmarks/iozone/files/patch-iozone.c new file mode 100644 index 000000000000..dc29af80fdc7 --- /dev/null +++ b/benchmarks/iozone/files/patch-iozone.c @@ -0,0 +1,27 @@ +--- iozone.c.orig 2015-10-20 14:12:13 UTC ++++ iozone.c +@@ -360,6 +360,7 @@ typedef off_t off64_t; + #ifndef SCO_Unixware_gcc + #ifndef UWIN + #ifndef __DragonFly__ ++#ifndef __FreeBSD__ + typedef long long off64_t; + #endif + #endif +@@ -369,6 +370,7 @@ typedef long long off64_t; + #endif + #endif + #endif ++#endif + + #ifdef __AIX__ + #include <fcntl.h> +@@ -23009,7 +23011,7 @@ char *shell; + #ifdef _HPUX_SOURCE + strcpy(shell,"remsh"); + #else +- strcpy(shell,"rsh"); ++ strcpy(shell,"ssh"); + #endif + return; + } diff --git a/benchmarks/iozone/files/patch-libasync.c b/benchmarks/iozone/files/patch-libasync.c index 2ae5ce6b4062..20518d7cf381 100644 --- a/benchmarks/iozone/files/patch-libasync.c +++ b/benchmarks/iozone/files/patch-libasync.c @@ -1,20 +1,36 @@ ---- libasync.c 2012-05-14 23:13:13.000000000 -0700 -+++ libasync.c 2012-05-14 23:14:27.000000000 -0700 -@@ -109,7 +109,7 @@ - #include <sys/fs/vx_ioctl.h> - #endif +--- libasync.c.orig 2015-10-20 14:12:13 UTC ++++ libasync.c +@@ -96,13 +96,13 @@ --#if defined(OSFV5) || defined(linux) -+#if defined(OSFV5) || defined(linux) || defined(__FreeBSD__) - #include <string.h> + #include <sys/types.h> + #include <aio.h> +-#if defined(solaris) || defined(linux) || defined(SCO_Unixware_gcc) || defined(__NetBSD__) ++#if defined(solaris) || defined(linux) || defined(SCO_Unixware_gcc) || defined(__NetBSD__) || defined(__FreeBSD__) + #else + #include <sys/timers.h> #endif - + #include <sys/errno.h> + #include <unistd.h> +-#ifndef bsd4_4 ++#if !defined(bsd4_4) && !defined(__FreeBSD__) + #include <malloc.h> + #endif + #ifdef VXFS @@ -119,7 +119,7 @@ #include <stdlib.h> #endif --#if (defined(solaris) && defined(__LP64__)) || defined(__s390x__) || defined(FreeBSD) -+#if (defined(solaris) && defined(__LP64__)) || defined(__s390x__) || defined(__FreeBSD__) +-#if (defined(solaris) && defined(__LP64__)) || defined(__s390x__) || defined(FreeBSD) || defined(__NetBSD__) ++#if (defined(solaris) && defined(__LP64__)) || defined(__s390x__) || defined(__FreeBSD__) || defined(__NetBSD__) /* If we are building for 64-bit Solaris, all functions that return pointers * must be declared before they are used; otherwise the compiler will assume * that they return ints and the top 32 bits of the pointer will be lost, +@@ -135,7 +135,7 @@ + void mbcopy(char *source, char *dest, size_t len); + + +-#if !defined(solaris) && !defined(off64_t) && !defined(_OFF64_T) && !defined(__off64_t_defined) && !defined(SCO_Unixware_gcc) ++#if !defined(solaris) && !defined(off64_t) && !defined(_OFF64_T) && !defined(__off64_t_defined) && !defined(SCO_Unixware_gcc) && !defined(__FreeBSD__) + typedef long long off64_t; + #endif + #if defined(OSFV5) diff --git a/benchmarks/iozone/files/patch-libbif.c b/benchmarks/iozone/files/patch-libbif.c deleted file mode 100644 index b4bdee65849c..000000000000 --- a/benchmarks/iozone/files/patch-libbif.c +++ /dev/null @@ -1,11 +0,0 @@ ---- libbif.c 2012-05-14 23:13:03.000000000 -0700 -+++ libbif.c 2012-05-14 23:13:42.000000000 -0700 -@@ -27,7 +27,7 @@ - #include <string.h> - #endif - --#if defined(linux) || defined(__DragonFly__) || defined(IOZ_macosx) -+#if defined(linux) || defined(__DragonFly__) || defined(IOZ_macosx) || defined(__FreeBSD__) - #include <unistd.h> - #include <stdlib.h> - #endif |