evince: CVE-2019-11459
commitace58ebcd3c5fccb981a42922a28d1883d1a23f3
authorMarek Mahut <marek.mahut@gmail.com>
dateSat 25 May 2019, 17:27 (7 years ago)
parente2d1da7
pkgs/desktops/gnome-3/core/evince/default.nix+10
@@ -1,5 +1,6 @@
11{ fetchFromGitLab
22, stdenv
3+, fetchpatch
34, meson
45, ninja
56, pkgconfig
@@ -50,6 +51,15 @@ stdenv.mkDerivation rec {
5051 sha256 = "1klq8j70q8r8hyqv1wi6jcx8g76yh46bh8614y82zzggn4cx6y3r";
5152 };
5253
54+
55+ patches = [
56+ (fetchpatch {
57+ name = "CVE-2019-11459.patch";
58+ url = "https://gitlab.gnome.org/GNOME/evince/commit/3e38d5ad724a042eebadcba8c2d57b0f48b7a8c7.patch";
59+ sha256 = "1ds6iwr2r9i86nwrly8cx7p1kbvf1gljjplcffa67znxqmwx4n74";
60+ })
61+ ];
62+
5363 postPatch = ''
5464 chmod +x meson_post_install.py
5565 patchShebangs meson_post_install.py