mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
parent
c8d3779020
commit
20ee8fbb1e
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, libjpeg, zlib, perl }:
|
||||
{ stdenv, fetchurl, fetchpatch, libjpeg, zlib, perl }:
|
||||
|
||||
let version = "8.0.2";
|
||||
in
|
||||
|
@ -14,6 +14,14 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ zlib libjpeg ];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2018-9918.patch";
|
||||
url = "https://github.com/qpdf/qpdf/commit/b4d6cf6836ce025ba1811b7bbec52680c7204223";
|
||||
sha256 = "0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs qpdf/fix-qdf
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue