summaryrefslogtreecommitdiff
path: root/filesystems/fuse-djmount/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/fuse-djmount/patches/patch-aa')
-rw-r--r--filesystems/fuse-djmount/patches/patch-aa6
1 files changed, 3 insertions, 3 deletions
diff --git a/filesystems/fuse-djmount/patches/patch-aa b/filesystems/fuse-djmount/patches/patch-aa
index dc8cd1bf06b..c75d3dc6fc7 100644
--- a/filesystems/fuse-djmount/patches/patch-aa
+++ b/filesystems/fuse-djmount/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2008/04/11 14:55:45 agc Exp $
+$NetBSD: patch-aa,v 1.2 2012/08/17 15:13:40 marino Exp $
--- djmount/fuse_main.c 2008/04/11 12:27:48 1.1
+++ djmount/fuse_main.c 2008/04/11 12:28:51
@@ -6,7 +6,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2008/04/11 14:55:45 agc Exp $
#include <fcntl.h>
#include <dirent.h>
#include <errno.h>
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__DragonFly__)
+#include <sys/statvfs.h>
+#else
#include <sys/statfs.h>
@@ -18,7 +18,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2008/04/11 14:55:45 agc Exp $
// Force Read-only (write operations not implemented yet)
FUSE_ARG ("-r");
-+#if !defined(__NetBSD__)
++#if !defined(__NetBSD__) && !defined(__DragonFly__)
#if HAVE_FUSE_O_READDIR_INO
// try to fill in d_ino in readdir
FUSE_ARG ("-o");