[Pkg-haskell-commits] darcs: haskell-cairo: Add patch from upstream for GHC 7.4.1 compatibility

Joachim Breitner mail at joachim-breitner.de
Mon Feb 13 22:12:20 UTC 2012


Mon Feb 13 22:09:42 UTC 2012  Joachim Breitner <mail at joachim-breitner.de>
  * Add patch from upstream for GHC 7.4.1 compatibility
  Ignore-this: 3d4392a8b3a96bf6563b4d847856f42f

    M ./changelog -2 +3
    A ./patches/
    A ./patches/ghc-7.4
    A ./patches/series

Mon Feb 13 22:09:42 UTC 2012  Joachim Breitner <mail at joachim-breitner.de>
  * Add patch from upstream for GHC 7.4.1 compatibility
  Ignore-this: 3d4392a8b3a96bf6563b4d847856f42f
diff -rN -u old-haskell-cairo//changelog new-haskell-cairo//changelog
--- old-haskell-cairo//changelog	2012-02-13 22:12:19.767249947 +0000
+++ new-haskell-cairo//changelog	2012-02-13 22:12:19.787249199 +0000
@@ -1,8 +1,9 @@
-haskell-cairo (0.12.2-1) UNRELEASED; urgency=low
+haskell-cairo (0.12.2-1) unstable; urgency=low
 
   * New upstream release
+  * Add patch from upstream for GHC 7.4.1 compatibility
 
- -- Joachim Breitner <nomeata at debian.org>  Mon, 13 Feb 2012 23:04:23 +0100
+ -- Joachim Breitner <nomeata at debian.org>  Mon, 13 Feb 2012 23:05:09 +0100
 
 haskell-cairo (0.12.0-1) unstable; urgency=low
 
diff -rN -u old-haskell-cairo//patches/ghc-7.4 new-haskell-cairo//patches/ghc-7.4
--- old-haskell-cairo//patches/ghc-7.4	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-cairo//patches/ghc-7.4	2012-02-13 22:12:19.791247894 +0000
@@ -0,0 +1,15 @@
+Fri Jan 20 07:42:43 CET 2012  Duncan Coutts <duncan at community.haskell.org>
+  * Fix cairo for GHC 7.4
+  Changes in Num type class
+diff -rN -u old-cairo/Graphics/Rendering/Cairo/Types.chs new-cairo/Graphics/Rendering/Cairo/Types.chs
+--- old-cairo/Graphics/Rendering/Cairo/Types.chs	2012-02-13 23:08:40.710256212 +0100
++++ new-cairo/Graphics/Rendering/Cairo/Types.chs	2012-02-13 23:08:40.722256278 +0100
+@@ -361,7 +361,7 @@
+ cFromBool  = fromBool
+ 
+ {-# INLINE cToBool #-}
+-cToBool :: Num a => a -> Bool
++cToBool :: (Eq a, Num a) => a -> Bool
+ cToBool  = toBool
+ 
+ {-# INLINE cToEnum #-}
diff -rN -u old-haskell-cairo//patches/series new-haskell-cairo//patches/series
--- old-haskell-cairo//patches/series	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-cairo//patches/series	2012-02-13 22:12:19.791247894 +0000
@@ -0,0 +1 @@
+ghc-7.4 -p1





More information about the Pkg-haskell-commits mailing list