Merge #62063: evince: patch CVE-2019-11459

This commit is contained in:
Vladimír Čunát 2019-05-25 19:57:53 +02:00
commit bb2a49d1e7
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -1,5 +1,6 @@
{ fetchFromGitLab
, stdenv
, fetchpatch
, meson
, ninja
, pkgconfig
@ -50,6 +51,15 @@ stdenv.mkDerivation rec {
sha256 = "1klq8j70q8r8hyqv1wi6jcx8g76yh46bh8614y82zzggn4cx6y3r";
};
patches = [
(fetchpatch {
name = "CVE-2019-11459.patch";
url = "https://gitlab.gnome.org/GNOME/evince/commit/3e38d5ad724a042eebadcba8c2d57b0f48b7a8c7.patch";
sha256 = "1ds6iwr2r9i86nwrly8cx7p1kbvf1gljjplcffa67znxqmwx4n74";
})
];
postPatch = ''
chmod +x meson_post_install.py
patchShebangs meson_post_install.py