Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2006 15:41:52 -0500
From:      "Anish Mistry" <amistry@am-productions.biz>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        Csaba Henk <csaba.henk@creo.hu>
Subject:   ports/92076: Update fusefs-kmod to fix 64bit builds
Message-ID:  <1137789712.67508@bigguy.am-productions.biz>
Resent-Message-ID: <200601202040.k0KKe9vn035834@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1137789712.67508>