libxml2: fixup validation problems with 2.9.4

... by reverting an upstream commit
/cc #15697.

I should make some distro pay me for digging into such things :-)
This commit is contained in:
Vladimír Čunát 2016-05-26 13:44:19 +02:00
parent 772851ff46
commit 3069606108

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, zlib, xz, python, findXMLCatalogs, libiconv
{ stdenv, lib, fetchurl, zlib, xz, python, findXMLCatalogs, libiconv, fetchpatch
, supportPython ? (! stdenv ? cross) }:
stdenv.mkDerivation rec {
@ -10,6 +10,13 @@ stdenv.mkDerivation rec {
sha256 = "0g336cr0bw6dax1q48bblphmchgihx9p1pjmxdnrd6sh3qci3fgz";
};
# https://bugzilla.gnome.org/show_bug.cgi?id=766834#c5
postPatch = "patch -R < " + fetchpatch {
name = "schemas-validity.patch";
url = "https://git.gnome.org/browse/libxml2/patch/?id=f6599c5164";
sha256 = "0i7a0nhxwkxx6dkm8917qn0bsfn1av6ghg2f4dxanxi4bn4b1jjn";
};
outputs = [ "dev" "out" "bin" "doc" ]
++ lib.optional supportPython "py";
propagatedBuildOutputs = "out bin" + lib.optionalString supportPython " py";