Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nest
Gentoo
Haskell
Commits
de3d620f
Unverified
Commit
de3d620f
authored
Jan 22, 2016
by
Sergei Trofimovich
Browse files
dev-haskell/testpack: tweak for QC-2.8.2
Package-Manager: portage-2.2.27
parent
209d7e13
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
dev-haskell/testpack/files/testpack-2.1.3.0-QC-2.8.2.patch
dev-haskell/testpack/files/testpack-2.1.3.0-QC-2.8.2.patch
+12
-0
dev-haskell/testpack/testpack-2.1.3.0-r1.ebuild
dev-haskell/testpack/testpack-2.1.3.0-r1.ebuild
+1
-0
No files found.
dev-haskell/testpack/files/testpack-2.1.3.0-QC-2.8.2.patch
0 → 100644
View file @
de3d620f
diff --git a/src/Test/QuickCheck/Instances.hs b/src/Test/QuickCheck/Instances.hs
index 98367b7..f65eb37 100644
--- a/src/Test/QuickCheck/Instances.hs
+++ b/src/Test/QuickCheck/Instances.hs
@@ -30,2 +30,3 @@
import Data.Word
+#if ! MIN_VERSION_QuickCheck(2,8,2)
instance (Arbitrary k, Arbitrary v, Eq k, Ord k) => Arbitrary (Map.Map k v) where
@@ -37,2 +38,3 @@
instance (CoArbitrary k, CoArbitrary v, Eq k, Ord k) => CoArbitrary (Map.Map k v
coarbitrary = coarbitrary . Map.keys
+#endif
dev-haskell/testpack/testpack-2.1.3.0-r1.ebuild
View file @
de3d620f
...
@@ -31,4 +31,5 @@ DEPEND="${RDEPEND}
...
@@ -31,4 +31,5 @@ DEPEND="${RDEPEND}
src_prepare
()
{
src_prepare
()
{
epatch
"
${
FILESDIR
}
"
/
${
P
}
-qc28
.patch
epatch
"
${
FILESDIR
}
"
/
${
P
}
-qc28
.patch
epatch
"
${
FILESDIR
}
"
/
${
P
}
-HUnit-1
.3.patch
epatch
"
${
FILESDIR
}
"
/
${
P
}
-HUnit-1
.3.patch
epatch
"
${
FILESDIR
}
"
/
${
P
}
-QC-2
.8.2.patch
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment