Index: head/sysutils/fusefs-kmod/Makefile =================================================================== --- head/sysutils/fusefs-kmod/Makefile (revision 296407) +++ head/sysutils/fusefs-kmod/Makefile (revision 296408) @@ -1,118 +1,122 @@ # New ports collection makefile for: fusefs-kmod # Date created: 08 October 2005 # Whom: Anish Mistry # # $FreeBSD$ # PORTNAME= fusefs DISTVERSION= 0.3.9-pre1.20080208 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= sysutils kld MASTER_SITES= http://mercurial.creo.hu/repos/fuse4bsd-hg/index.cgi/archive/ PKGNAMESUFFIX= -kmod DISTNAME= ${HG_SHORTREV} DIST_SUBDIR= fuse4bsd MAINTAINER= mirror176@cox.net COMMENT= Kernel module for fuse BUILD_DEPENDS= fusefs-libs>2.4.1:${PORTSDIR}/sysutils/fusefs-libs .if !defined(NOPORTDOCS) BUILD_DEPENDS+= deplate:${PORTSDIR}/textproc/ruby-deplate .endif USE_RC_SUBR= fusefs KMODDIR?= ${PREFIX}/modules PLIST_SUB= KMODDIR=${KMODDIR} MAKE_ENV= BINDIR="${PREFIX}/sbin" MANDIR="${MANPREFIX}/man/man" \ KMODDIR="${KMODDIR}" SYSDIR="${SRC_BASE}/sys" \ MOUNT="${SRC_BASE}/sbin/mount" WRKSRC= ${WRKDIR}/fuse4bsd-${HG_SHORTREV} DISABLE_SIZE= yes SRC_BASE?= /usr/src SETUP= setup.sh HG_SHORTREV= 498acaef33b0 MAN8= mount_fusefs.8 TXT_DOCS= doc.text HTML_DOCS= Faq.html \ Implementation.html \ Quickstart.html \ article.css \ deplate-mini.png \ deplate.css \ doc.html \ heading-navbar.css \ home-grey.png \ mailto.png \ next-grey.png \ prev-grey.png \ remote.png \ serif.css \ tabbar-right.css OPTIONS= AUTOSETUP "Automatic global config file setup" off .include .if ${OSVERSION} >= 900040 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-fuse_module__fuse_vnops.c +.endif + +.if ${OSVERSION} >= 1000011 +EXTRA_PATCHES+= ${FILESDIR}/extrapatch-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 .if !exists(${SRC_BASE}/sbin/mount) IGNORE= requires the userland sources to be installed. Set SRC_BASE if it is not in /usr/src .endif .if ${ARCH} != "i386" && ${ARCH} != "amd64" BROKEN= Does not compile on other than i386/amd64 .endif .if defined(WITH_AUTOSETUP) SUB_FILES+= ${SETUP} .else SUB_FILES+= pkg-message .endif post-patch: @${REINPLACE_CMD} -e 's/deplate.rb/deplate/g' \ ${WRKSRC}/doc/Makefile @${REINPLACE_CMD} -e 's|-I../inc|-I${SRC_BASE}/sys -I../inc|g' \ ${WRKSRC}/mount_fusefs/Makefile post-configure: @${CP} ${LOCALBASE}/include/fuse/fuse_kernel.h ${WRKSRC}/fuse_module post-build: .if !defined(NOPORTDOCS) @cd ${WRKSRC}/doc && make plaintext html_chunked .endif pre-su-install: @${MKDIR} ${KMODDIR} post-install: @${LN} -fs ${PREFIX}/sbin/mount_fusefs /usr/sbin .if defined(WITH_AUTOSETUP) && !defined(PACKAGE_BUILDING) @${ECHO} "Modifying global startup config files and loading module..." @${SH} ${WRKDIR}/${SETUP} .else @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} .endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR}/kmod/html .for i in ${TXT_DOCS} @${INSTALL_DATA} ${WRKSRC}/doc/plaintext_out/$i ${DOCSDIR}/kmod .endfor .for i in ${HTML_DOCS} @${INSTALL_DATA} ${WRKSRC}/doc/html_chunked_out/$i ${DOCSDIR}/kmod/html .endfor .endif .include Property changes on: head/sysutils/fusefs-kmod/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.36 \ No newline at end of property +1.37 \ No newline at end of property Index: head/sysutils/fusefs-kmod/files/extrapatch-fuse_module__fuse_vnops.c =================================================================== --- head/sysutils/fusefs-kmod/files/extrapatch-fuse_module__fuse_vnops.c (nonexistent) +++ head/sysutils/fusefs-kmod/files/extrapatch-fuse_module__fuse_vnops.c (revision 296408) @@ -0,0 +1,11 @@ +--- fuse_module/fuse_vnops.c.orig 2012-05-11 14:59:59.000000000 +0800 ++++ fuse_module/fuse_vnops.c 2012-05-11 15:00:05.000000000 +0800 +@@ -663,7 +663,7 @@ + if ((err = fuse_recyc_backend(vp, td))) + return err; + +- vrecycle(vp, td); ++ vrecycle(vp); + + return (0); + } Property changes on: head/sysutils/fusefs-kmod/files/extrapatch-fuse_module__fuse_vnops.c ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property