missingh and ghc-6.12+latest hscolour failure
missingh and ghc-6.12+latest hscolour failure

--MP_/Kha6ap1oIAxDH7T4UVc2ykv
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hello!

I think patch should be obvious. It
lives in gentoo from the time I sent it.

Thanks!
--=20

  Sergei

From 3edf52ea59ab27c9293dbf55d03e6bc452fa03a4 Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <110fdadc76b6bce16977f568bdb4723eaed6fb3f@inbox.ru>
Date: Tue, 19 Jan 2010 22:35:07 +0200
Subject: [PATCH] converted src/System/Time/ParseDate.hs to UTF-8

The only available haskell source encoding is UTF-8.
ghc-6.12 (and darcs hscolour too) is aware of locale
IO, so building coloured sources fails on UTF-8 locale.
  missingh $ cabal configure
    Resolving dependencies...
    Configuring MissingH-1.1.0.1...
  missingh $ cabal hscolour
    Preprocessing library MissingH-1.1.0.1...
    Preprocessing executables for MissingH-1.1.0.1...
    Running hscolour for MissingH-1.1.0.1...
    HsColour: src/System/Time/ParseDate.hs: hGetContents: invalid argument (invalid UTF-8 byte sequence)

Fixing by simple
  iconv -f ISO-8859-1 -t UTF-8

Signed-off-by: Sergei Trofimovich <110fdadc76b6bce16977f568bdb4723eaed6fb3f@inbox.ru>

haskellbr/missingh