1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Fix build on 9-CURRENT

PR:		ports/160608 (plus many other)
Submitted by:	Kevin Oberman <kob6558@gmail.com> (based on)
This commit is contained in:
Steve Wills 2011-09-21 20:29:34 +00:00
parent d2cf36eec8
commit 8d145b4c60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282147
2 changed files with 16 additions and 1 deletions

View File

@ -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 @@ OPTIONS= AUTOSETUP "Automatic global config file setup" off
.include <bsd.port.pre.mk>
.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

View File

@ -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;