From e9cb831ee1bd1cb76281cff739da265b7c597ab6 Mon Sep 17 00:00:00 2001 From: yvt Date: Wed, 12 Apr 2023 01:24:15 +0900 Subject: [PATCH] fuse-7z-ng: link to The patch file added in the last commit was based on this linked PR (authored by me). --- pkgs/tools/filesystems/fuse-7z-ng/default.nix | 1 + .../tools/filesystems/fuse-7z-ng/zero-init-fuse-operations.patch | 1 + 2 files changed, 2 insertions(+) diff --git a/pkgs/tools/filesystems/fuse-7z-ng/default.nix b/pkgs/tools/filesystems/fuse-7z-ng/default.nix index e7749f63a99e..f5d9b4191e3f 100644 --- a/pkgs/tools/filesystems/fuse-7z-ng/default.nix +++ b/pkgs/tools/filesystems/fuse-7z-ng/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { ./no-pthread.patch # Zero-initialize unset fields of `struct fuse_operations` so that # garbage values don't cause segfault. + # ./zero-init-fuse-operations.patch ]; diff --git a/pkgs/tools/filesystems/fuse-7z-ng/zero-init-fuse-operations.patch b/pkgs/tools/filesystems/fuse-7z-ng/zero-init-fuse-operations.patch index c2d50308f248..35acdaa04542 100644 --- a/pkgs/tools/filesystems/fuse-7z-ng/zero-init-fuse-operations.patch +++ b/pkgs/tools/filesystems/fuse-7z-ng/zero-init-fuse-operations.patch @@ -1,4 +1,5 @@ Zero-initialize unset fields of `struct fuse_operations`. + --- a/src/main.cpp +++ b/src/main.cpp @@ -195,7 +195,7 @@ main (int argc, char **argv)