shutter: add patch for CVE-2015-0854 with remote code

authored by Graham Christensen and committed by Graham Christensen d0d33308 7ed55dc9

+9 -1
+9 -1
pkgs/applications/graphics/shutter/default.nix
··· 1 - { stdenv, fetchurl, perl, perlPackages, makeWrapper, imagemagick, gdk_pixbuf, librsvg }: 2 3 let 4 perlModules = with perlPackages; ··· 17 url = "http://shutter-project.org/wp-content/uploads/releases/tars/${name}.tar.gz"; 18 sha256 = "09cn3scwy98wqxkrjhnmxhpfnnynlbb41856yn5m3zwzqrxiyvak"; 19 }; 20 21 buildInputs = [ perl makeWrapper gdk_pixbuf librsvg ] ++ perlModules; 22
··· 1 + { stdenv, fetchurl, fetchpatch, perl, perlPackages, makeWrapper, imagemagick, gdk_pixbuf, librsvg }: 2 3 let 4 perlModules = with perlPackages; ··· 17 url = "http://shutter-project.org/wp-content/uploads/releases/tars/${name}.tar.gz"; 18 sha256 = "09cn3scwy98wqxkrjhnmxhpfnnynlbb41856yn5m3zwzqrxiyvak"; 19 }; 20 + 21 + patches = [ 22 + (fetchpatch { 23 + url = "http://svnweb.mageia.org/packages/cauldron/shutter/current/SOURCES/CVE-2015-0854.patch?revision=880308&view=co"; 24 + name = "CVE-2015-0854.patch"; 25 + sha256 = "14r18sxz3ylf39cn9b85snjhjxdk6ngq4vnpljwghw2q5430nb12"; 26 + }) 27 + ]; 28 29 buildInputs = [ perl makeWrapper gdk_pixbuf librsvg ] ++ perlModules; 30