summaryrefslogtreecommitdiff
path: root/sysutils/gnome-vfs/patches/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnome-vfs/patches/patch-ai')
-rw-r--r--sysutils/gnome-vfs/patches/patch-ai17
1 files changed, 17 insertions, 0 deletions
diff --git a/sysutils/gnome-vfs/patches/patch-ai b/sysutils/gnome-vfs/patches/patch-ai
new file mode 100644
index 00000000000..19070f7ee06
--- /dev/null
+++ b/sysutils/gnome-vfs/patches/patch-ai
@@ -0,0 +1,17 @@
+$NetBSD: patch-ai,v 1.3 2007/09/19 22:22:38 wiz Exp $
+
+--- modules/fstype.c.orig 2004-08-12 11:08:56.000000000 +0200
++++ modules/fstype.c
+@@ -349,8 +349,12 @@ filesystem_type_uncached (char *path, ch
+ fstype_internal_error (1, errno, "%s", path);
+ }
+ else
++#if defined(__NetBSD__)
++ type = fss.f_fstypename;
++#else
+ type = fss.f_basetype;
+ #endif
++#endif
+
+ #ifdef FSTYPE_STATFS /* 4.4BSD. */
+ struct statfs fss;