diff options
author | alyaeanyx <alexandra.hollmeier@mailbox.org> | 2021-11-15 12:34:35 +0100 |
---|---|---|
committer | alyaeanyx <alexandra.hollmeier@mailbox.org> | 2021-11-15 12:34:35 +0100 |
commit | 4d57666646477d960610309b00e7883ca09133ba (patch) | |
tree | 7cc943a48ea71193a57fa54dffbc03aecef7baed /pkgs/tools/compression | |
parent | 200ffaa0727c1f5c09f2f76fdf1a607b6c83d0ec (diff) |
bsdiff: disable bugfix patches for darwin
Diffstat (limited to 'pkgs/tools/compression')
-rw-r--r-- | pkgs/tools/compression/bsdiff/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/compression/bsdiff/default.nix b/pkgs/tools/compression/bsdiff/default.nix index 8bce8a65a5f9d..b8a86eae89bde 100644 --- a/pkgs/tools/compression/bsdiff/default.nix +++ b/pkgs/tools/compression/bsdiff/default.nix @@ -15,6 +15,9 @@ stdenv.mkDerivation rec { url = "https://sources.debian.org/data/main/b/bsdiff/4.3-22/debian/patches/20-CVE-2014-9862.patch"; sha256 = "sha256-3UuUfNvShQ8fLqxCKUTb/n4BmjL4+Nl7aEqCxYrrERQ="; }) + ./CVE-2020-14315.patch + ./include-systypes.patch + ] ++ lib.optional stdenv.hostPlatform.isLinux [ (fetchpatch { url = "https://sources.debian.org/data/main/b/bsdiff/4.3-22/debian/patches/30-bug-632585-mmap-src-file-instead-of-malloc-read-it.patch"; sha256 = "sha256-esbhz2/efUiuQDuF7LGfSeEn3/f1WbqCxQpTs2A0ulI="; @@ -27,8 +30,6 @@ stdenv.mkDerivation rec { url = "https://sources.debian.org/data/main/b/bsdiff/4.3-22/debian/patches/32-bug-632585-use-int32_t-instead-off_t-for-file-size.patch"; sha256 = "sha256-SooFnFK4uKNXvXQb/LEcH8GocnRtkryExI4b3BZTsAY="; }) - ./CVE-2020-14315.patch - ./include-systypes.patch ]; buildPhase = '' |