[DHG_packages] 01/01: vector: patch for newer QuickCheck (drop duplicate instances). closes: #867873

Clint Adams clint at moszumanska.debian.org
Mon Jul 10 11:54:03 UTC 2017


This is an automated email from the git hooks/post-receive script.

clint pushed a commit to branch master
in repository DHG_packages.

commit 3fada2f183f9ff3468b3addb2b659ff5a37a711c
Author: Clint Adams <clint at debian.org>
Date:   Mon Jul 10 07:53:27 2017 -0400

    vector: patch for newer QuickCheck (drop duplicate instances). closes: #867873
---
 p/haskell-vector/debian/changelog                |  7 +++++++
 p/haskell-vector/debian/patches/newer-quickcheck | 15 +++++++++++++++
 2 files changed, 22 insertions(+)

diff --git a/p/haskell-vector/debian/changelog b/p/haskell-vector/debian/changelog
index 9e568f1..7bb8159 100644
--- a/p/haskell-vector/debian/changelog
+++ b/p/haskell-vector/debian/changelog
@@ -1,3 +1,10 @@
+haskell-vector (0.11.0.0-8) unstable; urgency=medium
+
+  * Patch for newer QuickCheck (drop duplicate instances).
+    closes: #867873.
+
+ -- Clint Adams <clint at debian.org>  Mon, 10 Jul 2017 07:51:17 -0400
+
 haskell-vector (0.11.0.0-7) unstable; urgency=medium
 
   * Upload to unstable as part of GHC 8 transition.
diff --git a/p/haskell-vector/debian/patches/newer-quickcheck b/p/haskell-vector/debian/patches/newer-quickcheck
index 3056b9f..583a4af 100644
--- a/p/haskell-vector/debian/patches/newer-quickcheck
+++ b/p/haskell-vector/debian/patches/newer-quickcheck
@@ -9,3 +9,18 @@
                   transformers >= 0.2.0.0
  
    default-extensions: CPP,
+--- a/tests/Utilities.hs
++++ b/tests/Utilities.hs
+@@ -51,12 +51,6 @@
+ instance CoArbitrary a => CoArbitrary (S.Bundle v a) where
+     coarbitrary = coarbitrary . S.toList
+ 
+-instance Arbitrary a => Arbitrary (Identity a) where
+-    arbitrary = fmap Identity arbitrary
+-
+-instance CoArbitrary a => CoArbitrary (Identity a) where
+-    coarbitrary = coarbitrary . runIdentity
+-
+ instance Arbitrary a => Arbitrary (Writer a ()) where
+     arbitrary = fmap (writer . ((,) ())) arbitrary
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list