[Pkg-haskell-commits] darcs: haskell-cond: Patch to build with GHC 7.6.

Clint Adams clint at debian.org
Tue Nov 27 05:50:13 UTC 2012


Tue Nov 27 05:49:53 UTC 2012  Clint Adams <clint at debian.org>
  * Patch to build with GHC 7.6.
  Ignore-this: 52eda9aaf6fee88cccdc054ff31ca49d

    M ./changelog -2 +6
    A ./patches/
    A ./patches/num-constraint.diff
    A ./patches/series

Tue Nov 27 05:49:53 UTC 2012  Clint Adams <clint at debian.org>
  * Patch to build with GHC 7.6.
  Ignore-this: 52eda9aaf6fee88cccdc054ff31ca49d
diff -rN -u old-haskell-cond//changelog new-haskell-cond//changelog
--- old-haskell-cond//changelog	2012-11-27 05:50:12.866309186 +0000
+++ new-haskell-cond//changelog	2012-11-27 05:50:13.038654060 +0000
@@ -1,10 +1,14 @@
-haskell-cond (0.4.0.1-2) UNRELEASED; urgency=low
+haskell-cond (0.4.0.1-2) experimental; urgency=low
 
+  [ Joachim Breitner ]
   * Depend on haskell-devscripts 0.8.13 to ensure this packages is built
     against experimental
   * Bump standards version, no change
 
- -- Joachim Breitner <nomeata at debian.org>  Sat, 13 Oct 2012 14:08:15 +0200
+  [ Clint Adams ]
+  * Patch to build with GHC 7.6.
+
+ -- Clint Adams <clint at debian.org>  Tue, 27 Nov 2012 05:46:43 +0000
 
 haskell-cond (0.4.0.1-1) unstable; urgency=low
 
diff -rN -u old-haskell-cond//patches/num-constraint.diff new-haskell-cond//patches/num-constraint.diff
--- old-haskell-cond//patches/num-constraint.diff	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-cond//patches/num-constraint.diff	2012-11-27 05:50:13.042237732 +0000
@@ -0,0 +1,13 @@
+Index: haskell-cond-0.4.0.1/src/Data/Algebra/Boolean.hs
+===================================================================
+--- haskell-cond-0.4.0.1.orig/src/Data/Algebra/Boolean.hs	2012-05-30 20:13:52.000000000 +0000
++++ haskell-cond-0.4.0.1/src/Data/Algebra/Boolean.hs	2012-11-27 05:47:42.370425585 +0000
+@@ -120,7 +120,7 @@
+                   deriving (Num, Bits, Eq, Ord, Bounded, Enum, Show, Read, Real,
+                             Integral, Typeable, Data, Ix, Storable, PrintfArg)
+ 
+-instance Bits a => Boolean (Bitwise a) where
++instance (Bits a, Num a) => Boolean (Bitwise a) where
+   true   = not false 
+   false  = Bitwise 0 
+   not    = Bitwise . complement . getBits
diff -rN -u old-haskell-cond//patches/series new-haskell-cond//patches/series
--- old-haskell-cond//patches/series	1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-cond//patches/series	2012-11-27 05:50:13.042237732 +0000
@@ -0,0 +1 @@
+num-constraint.diff





More information about the Pkg-haskell-commits mailing list