pkgsrc/filesystems/fuse-encfs/patches/patch-ab
marino 2974a8236e filesystems/fuse-encfs: Piggyback on NetBSD switches
This package is still broken on DragonFly after this fix.
error: multiple failures on RawFileIO.cpp (might be gcc 4.4 related)
2012-08-17 15:15:27 +00:00

16 lines
607 B
Text

$NetBSD: patch-ab,v 1.2 2012/08/17 15:15:27 marino Exp $
--- encfs/encfs.h.orig 2007-03-01 01:04:54.000000000 +0100
+++ encfs/encfs.h 2007-03-01 01:05:30.000000000 +0100
@@ -48,7 +48,11 @@
struct fuse_file_info *info);
int encfs_write(const char *path, const char *buf, size_t size, off_t offset,
struct fuse_file_info *info);
+#if !defined (__NetBSD__) && !defined (__DragonFly__)
int encfs_statfs(const char *, struct statfs *fst);
+#else
+int encfs_statfs(const char *, struct statvfs *fst);
+#endif
int encfs_fsync(const char *path, int flags, struct fuse_file_info *info);
#ifdef HAVE_XATTR