mupdf: apply CVE-2018-10289 patch (#41802)
Fixes mupdf issue in https://github.com/NixOS/nixpkgs/issues/41748 by applying patch from https://bugs.ghostscript.com/show_bug.cgi?id=699271
This commit is contained in:
parent
6dabad3c77
commit
17d7650585
@ -23,12 +23,15 @@ in stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# CVE-2018-10289
|
||||
url = "https://bugs.ghostscript.com/attachment.cgi?id=15230";
|
||||
sha256 = "0jmpacxd9930g6k57kda9jrcrbk75whdlv8xwmqg5jwn848qvy4q";
|
||||
})
|
||||
]
|
||||
|
||||
# Use shared libraries to decrease size
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin) ./mupdf-1.13-shared_libs-1.patch
|
||||
|
||||
++ stdenv.lib.optional stdenv.isDarwin ./darwin.patch
|
||||
# Use shared libraries to decrease size
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin) ./mupdf-1.13-shared_libs-1.patch
|
||||
++ stdenv.lib.optional stdenv.isDarwin ./darwin.patch
|
||||
;
|
||||
|
||||
postPatch = ''
|
||||
|
Loading…
Reference in New Issue
Block a user