pango: 1.43.0 -> 1.44.6, fixes CVE-2019-1010238
Bumping version to incorporate a security fix. Addresses: https://github.com/NixOS/nixpkgs/issues/70120 Upstream fix:490f8979a2
Additional change required to build docs:71461689b0
The dropped patch is already incorporated into the version.
This commit is contained in:
parent
5955b96940
commit
23edc9cf14
@ -9,13 +9,13 @@ with stdenv.lib;
|
||||
|
||||
let
|
||||
pname = "pango";
|
||||
version = "1.43.0";
|
||||
version = "1.44.6";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "1lnxldmv1a12dq5h0dlq5jyzl4w75k76dp8cn360x2ijlm9w5h6j";
|
||||
sha256 = "0v7qq3fv1c0dl80d4qxsvd6cmhh4ngih3w0zc40f4dw7hfx427iy";
|
||||
};
|
||||
|
||||
# FIXME: docs fail on darwin
|
||||
@ -36,16 +36,8 @@ in stdenv.mkDerivation rec {
|
||||
propagatedBuildInputs = [ cairo glib libintl ] ++
|
||||
optional x11Support libXft;
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# Add gobject-2 to .pc file
|
||||
url = "https://gitlab.gnome.org/GNOME/pango/commit/546f4c242d6f4fe312de3b7c918a848e5172e18d.patch";
|
||||
sha256 = "1cqhy4xbwx3ad7z5d1ks7smf038b9as8c6qy84rml44h0fgiq4m2";
|
||||
})
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
"-Denable_docs=${if stdenv.isDarwin then "false" else "true"}"
|
||||
"-Dgtk_doc=${if stdenv.isDarwin then "false" else "true"}"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
Loading…
Reference in New Issue
Block a user