Merge pull request #117040 from dotlambda/CVE-2021-3407
This commit is contained in:
commit
17ef8050d3
@ -22,8 +22,7 @@ in stdenv.mkDerivation rec {
|
|||||||
sha256 = "0rljl44y8p8hgaqializlyrgpij1wbnrzyp0ll5kcg7w05nylq48";
|
sha256 = "0rljl44y8p8hgaqializlyrgpij1wbnrzyp0ll5kcg7w05nylq48";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches =
|
patches = lib.optional stdenv.isDarwin ./darwin.patch ++ [
|
||||||
lib.optional stdenv.isDarwin ./darwin.patch ++ [
|
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "pdfocr.patch";
|
name = "pdfocr.patch";
|
||||||
url = "http://git.ghostscript.com/?p=mupdf.git;a=patch;h=a507b139adf37d2c742e039815601cdc2aa00a84";
|
url = "http://git.ghostscript.com/?p=mupdf.git;a=patch;h=a507b139adf37d2c742e039815601cdc2aa00a84";
|
||||||
@ -39,6 +38,11 @@ in stdenv.mkDerivation rec {
|
|||||||
url = "http://git.ghostscript.com/?p=mupdf.git;a=patch;h=32e4e8b4bcbacbf92af7c88337efae21986d9603";
|
url = "http://git.ghostscript.com/?p=mupdf.git;a=patch;h=32e4e8b4bcbacbf92af7c88337efae21986d9603";
|
||||||
sha256 = "1zqkxgwrhcwsdya98pcmpq2815jjmv3fwsp0sba9f5nq5xi6whbj";
|
sha256 = "1zqkxgwrhcwsdya98pcmpq2815jjmv3fwsp0sba9f5nq5xi6whbj";
|
||||||
})
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
name = "CVE-2021-3407.patch";
|
||||||
|
url = "http://git.ghostscript.com/?p=mupdf.git;a=patch;h=cee7cefc610d42fd383b3c80c12cbc675443176a";
|
||||||
|
sha256 = "18g9jsj90jnqibaff8pqi70a7x8ygc3sh4jl4xnvlv8vr7fxxbh6";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user