ports/92076: Update fusefs-kmod to fix 64bit builds

Anish Mistry amistry at am-productions.biz
Fri Jan 20 20:40:19 UTC 2006


>Number:         92076
>Category:       ports
>Synopsis:       Update fusefs-kmod to fix 64bit builds
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 20 20:40:09 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Anish Mistry
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
AM Productions 
>Environment:


System: FreeBSD 6.0-STABLE #10: Fri Jan  6 17:53:21 EST 2006
    amistry at bigguy.am-productions.biz:/usr/obj/usr/src/sys/BIGGUY



>Description:


Added the correct version enforcement while I was here.


>How-To-Repeat:





>Fix:


--- fusefs-kmod-64bitfix.patch begins here ---
diff -ruN fusefs-kmod.orig/Makefile fusefs-kmod/Makefile
--- fusefs-kmod.orig/Makefile	Fri Jan 20 15:21:44 2006
+++ fusefs-kmod/Makefile	Fri Jan 20 15:34:42 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	fusefs
 PORTVERSION=	0.2.99.1
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://fuse4bsd.creo.hu/downloads/ \
 		http://am-productions.biz/docs/
@@ -16,9 +17,8 @@
 MAINTAINER=	amistry at am-productions.biz
 COMMENT=	Kernel module for fuse
 
-BUILD_DEPENDS=	${LOCALBASE}/include/fuse/fuse_kernel.h:${PORTSDIR}/sysutils/fusefs-libs
-
-CONFLICTS=	fusefs-libs-2.4*
+BUILD_DEPENDS=	${LOCALBASE}/include/fuse/fuse_kernel.h:${PORTSDIR}/sysutils/fusefs-libs \
+		fusefs-libs>2.4.1:${PORTSDIR}/sysutils/fusefs-libs
 
 OPTIONS=	AUTOSETUP "Automatic global config file setup" off
 MAKE_ENV+=	BINDIR="${PREFIX}/sbin" MANDIR="${PREFIX}/man/man"
diff -ruN fusefs-kmod.orig/files/patch-fuse_module_fuse.c fusefs-kmod/files/patch-fuse_module_fuse.c
--- fusefs-kmod.orig/files/patch-fuse_module_fuse.c	Thu Jan  1 00:00:00 1970
+++ fusefs-kmod/files/patch-fuse_module_fuse.c	Fri Jan 20 15:27:01 2006
@@ -0,0 +1,11 @@
+--- fuse_module/fuse.c.orig	Fri Jan 20 15:14:36 2006
++++ fuse_module/fuse.c	Fri Jan 20 15:18:08 2006
+@@ -2604,7 +2604,7 @@
+ 	        fufh->useco);
+ 	if (! fufh->fp && fufh->useco == 0) {
+ 		LIST_REMOVE(fufh, fh_link);
+-		fuse_send_release(vp, td, cred, fufh, fufh->mode, (int)param);
++		fuse_send_release(vp, td, cred, fufh, fufh->mode, (long)param);
+ 	}
+ 
+ 	return (0);		
--- fusefs-kmod-64bitfix.patch ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list