bsdiff: disable bugfix patches for darwin

This commit is contained in:
alyaeanyx 2021-11-15 12:34:35 +01:00
parent 200ffaa072
commit 4d57666646
No known key found for this signature in database
GPG Key ID: 87D1AADCD25B8DEE

View File

@ -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 = ''