[Pkg-haskell-commits] darcs: haskell-unix-bytestring: Add missing class constraints.
Clint Adams
clint at debian.org
Wed Feb 15 02:34:04 UTC 2012
Wed Feb 15 02:33:47 UTC 2012 Clint Adams <clint at debian.org>
* Add missing class constraints.
Ignore-this: 288c9a244a516ea73fd4fd623bfdb022
M ./changelog +6
A ./patches/class-constraints.diff
A ./patches/series
Wed Feb 15 02:33:47 UTC 2012 Clint Adams <clint at debian.org>
* Add missing class constraints.
Ignore-this: 288c9a244a516ea73fd4fd623bfdb022
diff -rN -u old-haskell-unix-bytestring//changelog new-haskell-unix-bytestring//changelog
--- old-haskell-unix-bytestring//changelog 2012-02-15 02:34:04.082779945 +0000
+++ new-haskell-unix-bytestring//changelog 2012-02-15 02:34:04.086758461 +0000
@@ -1,3 +1,9 @@
+haskell-unix-bytestring (0.3.5-2) unstable; urgency=low
+
+ * Add missing class constraints for GHC 7.4.1.
+
+ -- Clint Adams <clint at debian.org> Tue, 14 Feb 2012 21:17:22 -0500
+
haskell-unix-bytestring (0.3.5-1) unstable; urgency=low
* Initial release.
diff -rN -u old-haskell-unix-bytestring//patches/class-constraints.diff new-haskell-unix-bytestring//patches/class-constraints.diff
--- old-haskell-unix-bytestring//patches/class-constraints.diff 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-unix-bytestring//patches/class-constraints.diff 2012-02-15 02:34:04.090755114 +0000
@@ -0,0 +1,20 @@
+--- a/src/Foreign/C/Error/Safe.hs
++++ b/src/Foreign/C/Error/Safe.hs
+@@ -99,14 +99,14 @@
+
+ ----------------------------------------------------------------
+
+-eitherErrnoIfMinus1 :: (Num a) => IO a -> IO (Either C.Errno a)
++eitherErrnoIfMinus1 :: (Num a, Eq a) => IO a -> IO (Either C.Errno a)
+ eitherErrnoIfMinus1 = eitherErrnoIf (-1 ==)
+
+-eitherErrnoIfMinus1Retry :: (Num a) => IO a -> IO (Either C.Errno a)
++eitherErrnoIfMinus1Retry :: (Num a, Eq a) => IO a -> IO (Either C.Errno a)
+ eitherErrnoIfMinus1Retry = eitherErrnoIfRetry (-1 ==)
+
+ eitherErrnoIfMinus1RetryMayBlock
+- :: (Num a) => IO a -> IO b -> IO (Either C.Errno a)
++ :: (Num a, Eq a) => IO a -> IO b -> IO (Either C.Errno a)
+ eitherErrnoIfMinus1RetryMayBlock =
+ eitherErrnoIfRetryMayBlock (-1 ==)
+
diff -rN -u old-haskell-unix-bytestring//patches/series new-haskell-unix-bytestring//patches/series
--- old-haskell-unix-bytestring//patches/series 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-unix-bytestring//patches/series 2012-02-15 02:34:04.090755114 +0000
@@ -0,0 +1 @@
+class-constraints.diff
More information about the Pkg-haskell-commits
mailing list