summaryrefslogtreecommitdiff
path: root/sysutils/amanda-common/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/amanda-common/patches/patch-ad')
-rw-r--r--sysutils/amanda-common/patches/patch-ad8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/amanda-common/patches/patch-ad b/sysutils/amanda-common/patches/patch-ad
index 1318d6dc0d9..b93e48eb5ac 100644
--- a/sysutils/amanda-common/patches/patch-ad
+++ b/sysutils/amanda-common/patches/patch-ad
@@ -1,13 +1,13 @@
-$NetBSD: patch-ad,v 1.1 1999/04/21 14:14:33 agc Exp $
+$NetBSD: patch-ad,v 1.2 2001/01/16 21:59:32 cjones Exp $
Use the correct name for the statvfs struct.
---- common-src/statfs.c 1999/04/21 13:24:31 1.1
-+++ common-src/statfs.c 1999/04/21 13:47:22
+--- common-src/statfs.c.orig Sun May 23 11:11:18 1999
++++ common-src/statfs.c Thu Jan 11 12:53:12 2001
@@ -55,7 +55,15 @@
*/
# include <sys/statvfs.h>
- # define STATFS_TYP "SVR4 (Irix-5, Solaris-2)"
+ # define STATFS_TYP "SVR4 (Irix-5+, Solaris-2, Linux glibc 2.1)"
+#if defined(__sun__) && defined(__svr4__)
+#if defined(_LARGEFILE64_SOURCE)
+# define STATFS_STRUCT statvfs64_t