Date: Tue, 21 Jun 2016 23:59:06 +0200 From: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> To: freebsd-ports@freebsd.org Subject: Re: iozone3-434 fails to rebuild Message-ID: <d3a5deb9-325d-b2a9-0118-5c339cfba61d@utanet.at> In-Reply-To: <E6B2517F8D6DBF4CABB8F38ACA367E783DA6DCAD@Draco.dawnsign.com> References: <E6B2517F8D6DBF4CABB8F38ACA367E783DA6DCAD@Draco.dawnsign.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Proposed patch: Index: files/patch-iozone.c =================================================================== --- files/patch-iozone.c (revision 417289) +++ files/patch-iozone.c (nonexistent) @@ -1,27 +0,0 @@ ---- 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; - } Property changes on: files/patch-iozone.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: files/patch-libasync.c =================================================================== --- files/patch-libasync.c (revision 417289) +++ files/patch-libasync.c (nonexistent) @@ -1,36 +0,0 @@ ---- libasync.c.orig 2015-10-20 14:12:13 UTC -+++ libasync.c -@@ -96,13 +96,13 @@ - - #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) || 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) Property changes on: files/patch-libasync.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d3a5deb9-325d-b2a9-0118-5c339cfba61d>