Merge #62063: evince: patch CVE-2019-11459
commitbb2a49d1e70cad52f3e57925e987530d79dcce0f
authorVladimír Čunát <v@cunat.cz>
dateSat 25 May 2019, 19:57 (7 years ago)
parent8f7e1fdace58eb
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