summaryrefslogtreecommitdiff
path: root/filesystems/fuse-djmount/patches
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-08-17 15:13:40 +0000
committermarino <marino@pkgsrc.org>2012-08-17 15:13:40 +0000
commit51317904f06a17b1ba86fc5f4f839e916f6bcd99 (patch)
treed096bbe286963424b90666a2c970aec8a4cfe371 /filesystems/fuse-djmount/patches
parent101e34aed4c6071cf576dc2ac773fb41a3e92dcf (diff)
downloadpkgsrc-51317904f06a17b1ba86fc5f4f839e916f6bcd99.tar.gz
filesystems/fuse-djmount: Piggyback on NetBSD switches
This package is still broken on DragonFly after this fix. error: vfs.o: In function `vfs_file_begin': vfs.c:(.text+0x244): undefined reference to `DTTOIF'
Diffstat (limited to 'filesystems/fuse-djmount/patches')
-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");