Ticket #29917: encfs-main.cpp.diff

File encfs-main.cpp.diff, 532 bytes (added by skl@…, 13 years ago)

patch for encfs to link against fuse4x 0.86

  • encfs/main.cpp

    old new  
    5353
    5454// Fuse version >= 26 requires another argument to fuse_unmount, which we
    5555// don't have.  So use the backward compatible call instead..
    56 extern "C" void fuse_unmount_compat22(const char *mountpoint);
    57 #    define fuse_unmount fuse_unmount_compat22
     56extern "C" void fuse_kern_unmount(const char *mountpoint, int fd);
     57#    define fuse_unmount(x) fuse_kern_unmount(x, -1)
    5858
    5959#include <locale.h>
    6060