From 8a2a4aee408707c78ea0714c9404f5156f8ec961 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 27 Aug 2003 15:35:07 +0000 Subject: [PATCH] * Fixed a silly bug in fontconfig (it generates a broken `fonts.conf' file if no timezone is set). svn path=/nixpkgs/trunk/; revision=367 --- pkgs/fontconfig/fontconfig-build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/fontconfig/fontconfig-build.sh b/pkgs/fontconfig/fontconfig-build.sh index 551197ad250..33fea860507 100755 --- a/pkgs/fontconfig/fontconfig-build.sh +++ b/pkgs/fontconfig/fontconfig-build.sh @@ -4,6 +4,10 @@ envpkgs="$freetype $expat" . $stdenv/setup || exit 1 export PATH=$ed/bin:$PATH +# Fontconfig generates a bad `fonts.conf' file is the timezone is not known +# (because it calls `date'). +export TZ=UTC + tar xvfz $src || exit 1 cd fcpackage*/fontconfig || exit 1 ./configure --prefix=$out --with-confdir=$out/etc/fonts \