View | Details | Raw Unified | Return to bug 210449
Collapse All | Expand All

(-)files/patch-iozone.c (-27 lines)
Lines 1-27 Link Here
1
--- iozone.c.orig	2015-10-20 14:12:13 UTC
2
+++ iozone.c
3
@@ -360,6 +360,7 @@ typedef off_t off64_t;
4
 #ifndef SCO_Unixware_gcc
5
 #ifndef UWIN
6
 #ifndef __DragonFly__
7
+#ifndef __FreeBSD__
8
 typedef long long off64_t;
9
 #endif
10
 #endif
11
@@ -369,6 +370,7 @@ typedef long long off64_t;
12
 #endif
13
 #endif
14
 #endif
15
+#endif
16
 
17
 #ifdef __AIX__
18
 #include <fcntl.h>
19
@@ -23009,7 +23011,7 @@ char *shell;
20
 #ifdef _HPUX_SOURCE
21
 	strcpy(shell,"remsh");
22
 #else
23
-	strcpy(shell,"rsh");
24
+	strcpy(shell,"ssh");
25
 #endif
26
 	return;
27
 }	
(-)files/patch-libasync.c (-36 lines)
Lines 1-36 Link Here
1
--- libasync.c.orig	2015-10-20 14:12:13 UTC
2
+++ libasync.c
3
@@ -96,13 +96,13 @@
4
 
5
 #include <sys/types.h>
6
 #include <aio.h>
7
-#if defined(solaris) || defined(linux) || defined(SCO_Unixware_gcc) || defined(__NetBSD__)
8
+#if defined(solaris) || defined(linux) || defined(SCO_Unixware_gcc) || defined(__NetBSD__) || defined(__FreeBSD__)
9
 #else
10
 #include <sys/timers.h>
11
 #endif
12
 #include <sys/errno.h>
13
 #include <unistd.h>
14
-#ifndef bsd4_4
15
+#if !defined(bsd4_4) && !defined(__FreeBSD__)
16
 #include <malloc.h>
17
 #endif
18
 #ifdef VXFS
19
@@ -119,7 +119,7 @@
20
 #include <stdlib.h>
21
 #endif
22
 
23
-#if (defined(solaris) && defined(__LP64__)) || defined(__s390x__) || defined(FreeBSD) || defined(__NetBSD__)
24
+#if (defined(solaris) && defined(__LP64__)) || defined(__s390x__) || defined(__FreeBSD__) || defined(__NetBSD__)
25
 /* If we are building for 64-bit Solaris, all functions that return pointers
26
  * must be declared before they are used; otherwise the compiler will assume
27
  * that they return ints and the top 32 bits of the pointer will be lost,
28
@@ -135,7 +135,7 @@
29
 void mbcopy(char *source, char *dest, size_t len);
30
 
31
 
32
-#if !defined(solaris) && !defined(off64_t) && !defined(_OFF64_T) && !defined(__off64_t_defined) && !defined(SCO_Unixware_gcc)
33
+#if !defined(solaris) && !defined(off64_t) && !defined(_OFF64_T) && !defined(__off64_t_defined) && !defined(SCO_Unixware_gcc) && !defined(__FreeBSD__)
34
 typedef long long off64_t;
35
 #endif
36
 #if defined(OSFV5)

Return to bug 210449