Saturday, May 28, 2022

Re: [NEW] sysutils/wdfs-fuse

Hello Rubén,

porting@use.startmail.com (Rubén Llorente), 2022.05.28 (Sat) 16:58 (CEST):
> On Sat, May 28, 2022 at 03:15:57PM +0200, Marcus MERIGHI wrote:
> > But... compiling from /usr/ports/mystuff/sysutils/wdfs-fuse failed:
> > wdfs-main.c:768:47: error: use of undeclared identifier 'uintptr_t'
> > struct open_file *file = (struct open_file*)(uintptr_t)fi->fh;
> >
> It looks like one of the patches needed to compile this thing got lost
> since the last iteration and the previous one.
> Fixed tarball included.

thanks, works!

make; make package; make install. All in mystuff/sysutils/wdfs-fuse/.

Four warnings à la:

wdfs-main.c:701:24: warning: address of 'fi' will always evaluate to \
'true' [-Wpointer-bool-conversion]
assert(localpath && &fi);
~~ ^~
/usr/include/assert.h:56:23: note: expanded from macro 'assert'
# define assert(e) ((e) ? (void)0 : __assert2(__FILE__, \
__LINE__, __func__, #e))

Then I used the example from the README to connect to a nextcloud
server, which worked. I opened a 624K .pdf and a 1.6M .docx via
libreoffice, then ran out of patience :-) Unmount worked, too.

Thanks again, Marcus

No comments:

Post a Comment