summaryrefslogtreecommitdiff
path: root/sysutils/xfsprogs/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xfsprogs/patches/patch-aj')
-rw-r--r--sysutils/xfsprogs/patches/patch-aj16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/xfsprogs/patches/patch-aj b/sysutils/xfsprogs/patches/patch-aj
new file mode 100644
index 00000000000..841cb4479d1
--- /dev/null
+++ b/sysutils/xfsprogs/patches/patch-aj
@@ -0,0 +1,16 @@
+$NetBSD: patch-aj,v 1.1.1.1 2005/12/30 23:03:06 agc Exp $
+
+--- io/open.c 2005/12/30 11:07:04 1.1
++++ io/open.c 2005/12/30 11:08:47
+@@ -584,7 +584,11 @@
+ {
+ struct xfs_fsop_counts fscounts;
+ struct xfs_fsop_geom fsgeo;
++#if (defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900))
++ struct statvfs st;
++#else
+ struct statfs st;
++#endif
+
+ printf(_("fd.path = \"%s\"\n"), file->name);
+ if (platform_fstatfs(file->fd, &st) < 0) {