pkgsrc/filesystems/fuse/patches/patch-ag
manu db9a921ee0 Update FUSE to 2.8.4 and add NetBSD support through filesystems/perfuse
Changes since previous verion, from the NEWS file

2.8.x:
- More scalable directory tree locking
- Atomic open(O_TRUNC) support
- Support big write requests on kernels 2.6.26 and newer
- Out-of-tree fuse module removed
- Better NFS exporting support
- New ioctl and poll requests
- New CUSE (Character Device in Userspace) interface
- Allow umask processing in userspace
- Added cache invalidation notifications
- Bugfixes and small improvements
2.7.x:
 - Stacking support for the high level API
 - Add filename charset conversion module
 - Improved mounting
2.6.x!
 - Improved read characteristics (asynchronous reads)
 - Support for aborting filesystem connection
 - POSIX file locking support
 - Request interruption support
 - Building module for Linux kernels earlier than 2.6.9 not supported
 - Allow block device based filesystems to support swap files
 - Several bugs fixed, including a rare system hang on SMP
2010-08-25 08:02:21 +00:00

23 lines
742 B
Text

$NetBSD: patch-ag,v 1.1 2010/08/25 08:02:21 manu Exp $
NetBSD has the same build oddities af FreeBSD.
--- ./include/fuse_compat.h 2010-07-25 15:16:35.000000000 +0200
+++ ./include/fuse_compat.h.orig 2010-07-25 15:14:11.000000000 +0200
@@ -64,9 +64,9 @@
int *multithreaded, int *fd);
void fuse_teardown_compat22(struct fuse *fuse, int fd, char *mountpoint);
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) && !defined(__NetBSD__)
#include <sys/statfs.h>
struct fuse_operations_compat22 {
int (*getattr) (const char *, struct stat *);
@@ -197,5 +197,5 @@
void fuse_main_compat1(int argc, char *argv[],
const struct fuse_operations_compat1 *op);
-#endif /* __FreeBSD__ */
+#endif /* __FreeBSD__ || __NetBSD__ */