libxslt: fix on mingw by upstream patch

It's only static, as libxml2 is only static ATM.
This commit is contained in:
Vladimír Čunát 2016-02-09 15:37:48 +01:00
parent 94eba25103
commit 49bec81730

View File

@ -9,6 +9,12 @@ stdenv.mkDerivation rec {
}; };
patches = stdenv.lib.optional stdenv.isSunOS ./patch-ah.patch patches = stdenv.lib.optional stdenv.isSunOS ./patch-ah.patch
++ stdenv.lib.optional (stdenv.cross.libc or null == "msvcrt")
(fetchpatch {
name = "mingw.patch";
url = "http://git.gnome.org/browse/libxslt/patch/?id=ab5810bf27cd63";
sha256 = "0kkqq3fv2k3q86al38vp6zwxazpvp5kslcjnmrq4ax5cm2zvsjk3";
})
++ [ ++ [
(fetchpatch { (fetchpatch {
name = "CVE-2015-7995.patch"; name = "CVE-2015-7995.patch";