Index: head/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp =================================================================== --- head/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp (revision 417633) +++ head/sysutils/fusefs-encfs/files/patch-encfs_encfs.cpp (revision 417634) @@ -1,20 +1,18 @@ --- encfs/encfs.cpp.orig 2015-03-24 20:45:16 UTC +++ encfs/encfs.cpp -@@ -529,6 +529,17 @@ int encfs_open(const char *path, struct +@@ -529,6 +529,15 @@ int encfs_open(const char *path, struct return res; } -+int encfs_create(const char *path, mode_t mode, struct fuse_file_info *file) -+{ -+ int res; -+ -+ res = encfs_mknod(path, mode, 0); -+ if (res) ++int encfs_create(const char *path, mode_t mode, struct fuse_file_info *file) { ++ int res = encfs_mknod(path, mode, 0); ++ if (res) { + return res; ++ } + + return encfs_open(path, file); +} + int _do_flush(FileNode *fnode) { /* Flush can be called multiple times for an open file, so it doesn't close the file. However it is important to call close() for some Index: head/sysutils/fusefs-encfs/files/patch-encfs_main.cpp =================================================================== --- head/sysutils/fusefs-encfs/files/patch-encfs_main.cpp (revision 417633) +++ head/sysutils/fusefs-encfs/files/patch-encfs_main.cpp (revision 417634) @@ -1,10 +1,19 @@ ---- encfs/main.cpp.orig 2016-06-18 20:53:13 UTC +--- encfs/main.cpp.orig 2015-03-24 20:45:16 UTC +++ encfs/main.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include +@@ -599,7 +600,7 @@ int main(int argc, char *argv[]) { + encfs_oper.init = encfs_init; + encfs_oper.destroy = encfs_destroy; + // encfs_oper.access = encfs_access; +- // encfs_oper.create = encfs_create; ++ encfs_oper.create = encfs_create; + encfs_oper.ftruncate = encfs_ftruncate; + encfs_oper.fgetattr = encfs_fgetattr; + // encfs_oper.lock = encfs_lock; Index: head/sysutils/fusefs-encfs/files/patch-encfs_makeKey.cpp =================================================================== --- head/sysutils/fusefs-encfs/files/patch-encfs_makeKey.cpp (revision 417633) +++ head/sysutils/fusefs-encfs/files/patch-encfs_makeKey.cpp (revision 417634) @@ -1,10 +1,10 @@ ---- encfs/makeKey.cpp.orig 2016-06-18 20:53:44 UTC +--- encfs/makeKey.cpp.orig 2015-03-24 20:45:16 UTC +++ encfs/makeKey.cpp @@ -25,6 +25,7 @@ #include "openssl.h" #include +#include #include #include