I got a helpful email on the same topic - he provided a simpler patch just for ext2fuse which gets the thing running on MacOS.
his code changes read:
-------------
imager.c line 39:
#ifndef HAVE_TYPE_SSIZE_T
#ifndef __FreeBSD__
typedef int ssize_t;
#endif
#endif
Patch to compile ext2fuse on Mactel
Diff for fuse
Logged In: YES
user_id=40052
Originator: YES
File Added: fuse.diff
Logged In: YES
user_id=636768
Originator: NO
I got a helpful email on the same topic - he provided a simpler patch just for ext2fuse which gets the thing running on MacOS.
his code changes read:
-------------
imager.c line 39:
#ifndef HAVE_TYPE_SSIZE_T
#ifndef __FreeBSD__
typedef int ssize_t;
#endif
#endif
for ext2fs.c line 52:
#ifndef __FreeBSD__
st->st_atim.tv_nsec = 0;
st->st_mtim.tv_nsec = 0;
st->st_ctim.tv_nsec = 0;
#else
st->st_atimespec.tv_nsec=0;
st->st_mtimespec.tv_nsec=0;
st->st_ctimespec.tv_nsec=0;
#endif
I chose the FreeBSD def because MacFUSE FAQ states that you need to pass CFLAGS="-D__FreeBSD__=10" to configure.
Greetings
martin