1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

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:
Benjamin Hipple 2018-06-10 16:01:05 -04:00 committed by xeji
parent 6dabad3c77
commit 17d7650585

View file

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