imlib: apply patch for CVE-2007-3568
While it probably doesn't have much impact it also doesn't really hurt fixing this…
This commit is contained in:
parent
a071bfa7e7
commit
fc83a1c745
1 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, libX11, libXext, xorgproto, libjpeg, libungif, libtiff, libpng}:
|
||||
{stdenv, fetchurl, fetchpatch, libX11, libXext, xorgproto, libjpeg, libungif, libtiff, libpng}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "imlib-1.9.15";
|
||||
|
@ -7,6 +7,14 @@ stdenv.mkDerivation {
|
|||
sha256 = "0ggjxyvgp4pxc0b88v40xj9daz90518ydnycw7qax011gxpr12d3";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2007-3568.patch";
|
||||
url = https://gitweb.gentoo.org/repo/gentoo.git/plain/media-libs/imlib/files/imlib-1.9.15-bpp16-CVE-2007-3568.patch;
|
||||
sha256 = "0lxfibi094gki39sq1w4p0hcx25xlk0875agbhjkjngzx862wvbg";
|
||||
})
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--disable-shm"
|
||||
"--x-includes=${libX11.dev}/include"
|
||||
|
|
Loading…
Reference in a new issue