From ec985c8ffa6d29bf50e60ba814e3523ffd4c2919 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Tue, 4 Feb 2014 20:02:51 +0100 Subject: [PATCH] fontconfig: stop using xml:space; vital for nixos+2.11 Since fontconfig-2.11 the xml:space attribute makes it reject /etc/fonts/fonts.conf, so it renders garbage and eats lots of CPU. To use anything linked to fontconfig-2.11 you need to have this patch applied to your running NixOS. That's why I'm pushing it to master before the fontconfig update (as soon as I found and tested the fix). --- pkgs/development/libraries/fontconfig/make-fonts-conf.xsl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/fontconfig/make-fonts-conf.xsl b/pkgs/development/libraries/fontconfig/make-fonts-conf.xsl index 68c91596ac5f6..073e416593125 100644 --- a/pkgs/development/libraries/fontconfig/make-fonts-conf.xsl +++ b/pkgs/development/libraries/fontconfig/make-fonts-conf.xsl @@ -22,11 +22,11 @@ - /etc/fonts/conf.d - /etc/fonts/conf.d + /etc/fonts/conf.d + /etc/fonts/conf.d - /var/cache/fontconfig - ~/.fontconfig + /var/cache/fontconfig + ~/.fontconfig