summaryrefslogtreecommitdiff
path: root/sysutils/gnome-vfs/patches/patch-ao
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnome-vfs/patches/patch-ao')
-rw-r--r--sysutils/gnome-vfs/patches/patch-ao17
1 files changed, 17 insertions, 0 deletions
diff --git a/sysutils/gnome-vfs/patches/patch-ao b/sysutils/gnome-vfs/patches/patch-ao
new file mode 100644
index 00000000000..4c83fb228e5
--- /dev/null
+++ b/sysutils/gnome-vfs/patches/patch-ao
@@ -0,0 +1,17 @@
+$NetBSD: patch-ao,v 1.1 2007/09/19 22:22:39 wiz Exp $
+
+--- libgnomevfs/gnome-vfs-utils.c.orig 2005-09-15 13:02:53.000000000 +0200
++++ libgnomevfs/gnome-vfs-utils.c
+@@ -49,6 +49,12 @@
+ #include <sys/param.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
++
++#ifdef __APPLE__
++#include <sys/mount.h>
++#define HAVE_STATVFS 0
++#endif
++
+ #include <unistd.h>
+
+ #define KILOBYTE_FACTOR 1024.0