Index: Makefile =================================================================== RCS file: /home/pcvs/ports/sysutils/fusefs-kmod/Makefile,v retrieving revision 1.31 diff -u -r1.31 Makefile --- Makefile 14 Oct 2010 11:44:10 -0000 1.31 +++ Makefile 19 Sep 2011 00:38:43 -0000 @@ -7,7 +7,7 @@ PORTNAME= fusefs DISTVERSION= 0.3.9-pre1.20080208 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= sysutils kld MASTER_SITES= http://mercurial.creo.hu/repos/fuse4bsd-hg/index.cgi/archive/ PKGNAMESUFFIX= -kmod @@ -58,6 +58,10 @@ .include +.if ${OSVERSION} >= 900040 +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-fuse_module__fuse_vnops.c +.endif + .if !exists(${SRC_BASE}/sys/Makefile) IGNORE= requires the Kernel source to be installed. Set SRC_BASE if it is not in /usr/src .endif Index: files/extra-patch-fuse_module__fuse_vnops.c =================================================================== RCS file: files/extra-patch-fuse_module__fuse_vnops.c diff -N files/extra-patch-fuse_module__fuse_vnops.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/extra-patch-fuse_module__fuse_vnops.c 19 Sep 2011 00:38:43 -0000 @@ -0,0 +1,11 @@ +--- fuse_module/fuse_vfsops.c.orig 2008-02-05 07:25:57.000000000 +0200 ++++ fuse_module/fuse_vfsops.c 2011-09-08 10:27:43.000000000 +0300 +@@ -224,7 +231,7 @@ + struct cdev *fdev; + struct sx *slock; + struct fuse_data *data; +- int mntopts = 0, __mntopts = 0, max_read_set = 0, secondary = 0; ++ uint64_t mntopts = 0, __mntopts = 0, max_read_set = 0, secondary = 0; + unsigned max_read = ~0; + struct vnode *rvp; + struct fuse_vnode_data *fvdat;