tup: fuse readirplus patch

https://github.com/gittup/tup/issues/518

+18 -1
+13
pkgs/by-name/tu/tup/fuse_fs.patch
···
··· 1 + diff --git a/src/tup/server/fuse_fs.c b/src/tup/server/fuse_fs.c 2 + index cd121630..5adf6f5f 100644 3 + --- a/src/tup/server/fuse_fs.c 4 + +++ b/src/tup/server/fuse_fs.c 5 + @@ -1480,7 +1480,7 @@ static void *tup_fs_init(struct fuse_conn_info *conn, struct fuse_config *cfg) 6 + static void *tup_fs_init(struct fuse_conn_info *conn) 7 + #endif 8 + { 9 + - (void) conn; 10 + + conn->want = conn->want & ~FUSE_CAP_READDIRPLUS; 11 + #ifdef FUSE3 12 + (void) cfg; 13 + #endif
+5 -1
pkgs/by-name/tu/tup/package.nix
··· 35 sqlite 36 ]; 37 38 - patches = [ ./fusermount-setuid.patch ]; 39 40 configurePhase = '' 41 substituteInPlace src/tup/link.sh --replace-fail '`git describe' '`echo ${version}' ··· 95 license = licenses.gpl2; 96 maintainers = with maintainers; [ ehmry ]; 97 platforms = platforms.unix; 98 }; 99 }
··· 35 sqlite 36 ]; 37 38 + patches = [ 39 + ./fusermount-setuid.patch 40 + ./fuse_fs.patch 41 + ]; 42 43 configurePhase = '' 44 substituteInPlace src/tup/link.sh --replace-fail '`git describe' '`echo ${version}' ··· 98 license = licenses.gpl2; 99 maintainers = with maintainers; [ ehmry ]; 100 platforms = platforms.unix; 101 + broken = stdenv.hostPlatform.isDarwin; 102 }; 103 }