pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45401: sysutils/gvfs patch



>Number:         45401
>Category:       pkg
>Synopsis:       sysutils/gvfs patch
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 26 09:20:00 +0000 2011
>Originator:     B.ICT A.P. deBROUWER Jr.
>Release:        5.99.55
>Organization:
-none-
>Environment:
NetBSD 10.0.2.17 5.99.55 NetBSD 5.99.55 (GENERIC) #0: Sat Sep 24 22:49:08 UTC 
2011  
builds%b6.netbsd.org@localhost:/home/builds/ab/HEAD/i386/201109241620Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC
 i386
>Description:
sysutils/gvfs doesn't build.

gvfsfusedaemon.c:2345:7: error: 'struct fuse_conn_info' has no member named 
'want'

gvfsfusedaemon.c:2345:17: error: 'FUSE_CAP_ATOMIC_O_TRUNC' undeclared (first 
use in this function)


>How-To-Repeat:
cd sysutils/gvfs; make
>Fix:
conform http://www.freebsd.org/cgi/query-pr.cgi?pr=152442
and 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/gvfs/files/patch-client_gvfsfusedaemon.c?rev=1.2

extend patch-ac with:

@@ -2340,7 +2342,9 @@
   subthread = g_thread_create ((GThreadFunc) subthread_main, NULL, FALSE, 
NULL);
 
   /* Indicate O_TRUNC support for open() */
+#ifdef FUSE_CAP_ATOMIC_O_TRUNC
   conn->want |= FUSE_CAP_ATOMIC_O_TRUNC;
+#endif
 
   return NULL;
 }



Home | Main Index | Thread Index | Old Index