Gentoo Archives: gentoo-commits

From: "Mark Wright (gienah)" <gienah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-haskell/x11-xft/files: x11-xft-0.3-ghc72.patch
Date: Sun, 04 Mar 2012 05:13:07
Message-Id: 20120304051257.062E52004B@flycatcher.gentoo.org
1 gienah 12/03/04 05:12:57
2
3 Added: x11-xft-0.3-ghc72.patch
4 Log:
5 Fix x11-xft 0.3 compile with ghc 7.4.1
6
7 (Portage version: 2.1.10.49/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 dev-haskell/x11-xft/files/x11-xft-0.3-ghc72.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/x11-xft/files/x11-xft-0.3-ghc72.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/x11-xft/files/x11-xft-0.3-ghc72.patch?rev=1.1&content-type=text/plain
14
15 Index: x11-xft-0.3-ghc72.patch
16 ===================================================================
17 diff --git a/Graphics/X11/Xft.hsc b/Graphics/X11/Xft.hsc
18 index b32d3c9..493c5ee 100644
19 --- a/Graphics/X11/Xft.hsc
20 +++ b/Graphics/X11/Xft.hsc
21 @@ -57,7 +57,7 @@ import Foreign.Marshal.Array
22 import Codec.Binary.UTF8.String as UTF8
23 import Data.Int
24 import Data.Word
25 -import Monad
26 +import Control.Monad
27
28 #include <X11/Xft/Xft.h>
29
30 diff --git a/X11-xft.cabal b/X11-xft.cabal
31 index 06bba67..273c96a 100644
32 --- a/X11-xft.cabal
33 +++ b/X11-xft.cabal
34 @@ -9,7 +9,7 @@ synopsis: Bindings to the Xft, X Free Type interface library, and some Xre
35 description: Bindings to the Xft, X Free Type interface library, and some Xrender parts
36 exposed-modules: Graphics.X11.Xft, Graphics.X11.Xrender
37 extensions: ForeignFunctionInterface
38 -build-depends: base, haskell98, X11>=1.2.1, utf8-string>=0.1
39 +build-depends: base, X11>=1.2.1, utf8-string>=0.1
40 ghc-options: -funbox-strict-fields
41 pkgconfig-depends: xft
42 extra-source-files: Hello.hs