summaryrefslogtreecommitdiff
path: root/sysutils/gnome-vfs2/patches/patch-am
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnome-vfs2/patches/patch-am')
-rw-r--r--sysutils/gnome-vfs2/patches/patch-am16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/gnome-vfs2/patches/patch-am b/sysutils/gnome-vfs2/patches/patch-am
new file mode 100644
index 00000000000..95e5c91a893
--- /dev/null
+++ b/sysutils/gnome-vfs2/patches/patch-am
@@ -0,0 +1,16 @@
+$NetBSD: patch-am,v 1.5 2004/04/28 08:16:44 jmmv Exp $
+
+--- libgnomevfs/gnome-vfs-unix-mounts.c.orig 2004-02-16 12:13:27.000000000 +0100
++++ libgnomevfs/gnome-vfs-unix-mounts.c
+@@ -411,7 +411,11 @@ get_mtab_monitor_file (void)
+ gboolean
+ _gnome_vfs_get_current_unix_mounts (GList **return_list)
+ {
++#ifdef FSTYPE_STATVFS
++ struct statvfs *mntent = NULL;
++#else
+ struct statfs *mntent = NULL;
++#endif
+ int num_mounts, i;
+ GnomeVFSUnixMount *mount_entry;
+