dev-haskell/listlike: tweak fro QuickCheck-2.8.2
authorSergei Trofimovich <slyfox@gentoo.org>
Tue, 10 May 2016 21:52:59 +0000 (22:52 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Wed, 11 May 2016 08:48:03 +0000 (09:48 +0100)
Package-Manager: portage-2.2.28

dev-haskell/listlike/files/listlike-4.2.1-QC-2.8.2.patch [new file with mode: 0644]
dev-haskell/listlike/listlike-4.2.1.ebuild

diff --git a/dev-haskell/listlike/files/listlike-4.2.1-QC-2.8.2.patch b/dev-haskell/listlike/files/listlike-4.2.1-QC-2.8.2.patch
new file mode 100644 (file)
index 0000000..1615c29
--- /dev/null
@@ -0,0 +1,12 @@
+diff --git a/testsrc/TestInfrastructure.hs b/testsrc/TestInfrastructure.hs
+index f4d574e..d427495 100644
+--- a/testsrc/TestInfrastructure.hs
++++ b/testsrc/TestInfrastructure.hs
+@@ -76,2 +76,3 @@ instance (CoArbitrary i) => CoArbitrary (FM.FMList i) where
++#if ! MIN_VERSION_QuickCheck(2,8,2)
+ instance (Arbitrary i) => Arbitrary (S.Seq i) where
+@@ -85,2 +86,3 @@ instance (CoArbitrary i) => CoArbitrary (S.Seq i) where
+     coarbitrary l = coarbitrary (LL.toList l)
++#endif
index a872109efa0e0507965bd10642c1750354160ec8..964cec348725a36965ecdd5316a76ea8d1a3d5e1 100644 (file)
@@ -35,3 +35,7 @@ DEPEND="${RDEPEND}
 "
 
 S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-QC-2.8.2.patch
+}