tup: fuse readirplus patch (#427602)

authored by Aleksana and committed by GitHub 616f71f0 da236858

+19 -1
+13
pkgs/by-name/tu/tup/fix_newer_fuse3_file_reads.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
+6 -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 + # Taken from https://github.com/gittup/tup/issues/518#issuecomment-3014825681 41 + ./fix_newer_fuse3_file_reads.patch 42 + ]; 43 44 configurePhase = '' 45 substituteInPlace src/tup/link.sh --replace-fail '`git describe' '`echo ${version}' ··· 99 license = licenses.gpl2; 100 maintainers = with maintainers; [ ehmry ]; 101 platforms = platforms.unix; 102 + broken = stdenv.hostPlatform.isDarwin; 103 }; 104 }