NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: filesystems/fuse-encfs compilation error; upgrade
On Tue, Apr 09, 2019 at 10:34:16AM -0400, Greg Troxel wrote:
> Please feel free to create an updated package in pkgsrc-wip.
I just did the following to get it to compile:
- Upgraded to latest release 1.9.5
- Reconciled existing 2 patches
- Created following new patch
$NetBSD$
--- encfs/FileUtils.cpp.orig 2018-04-27 08:52:22.000000000 +0000
+++ encfs/FileUtils.cpp
@@ -1734,7 +1734,11 @@ RootPtr initFS(EncFS_Context *ctx, const
void unmountFS(const char *mountPoint) {
// fuse_unmount returns void, is assumed to succeed
+#ifdef __NetBSD__
+ fuse_unmount_compat22(mountPoint);
+#else
fuse_unmount(mountPoint, nullptr);
+#endif
#ifdef __APPLE__
// fuse_unmount does not work on Mac OS, see #428
// However it makes encfs to hang, so we must unmount
It builds fine but I am yet to test it.
I just found fuse_unmount_compat22 with a somewhat compatible signature in
fuse.h but I do not know whether it can be used in place of fuse_unmount.
Would appreciate if someone could comment on this.
ccing netbsd-users also.
Mayuresh
Home |
Main Index |
Thread Index |
Old Index