diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2011-08-12 11:12:13 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2011-08-12 11:12:13 +0000 |
commit | d4db9e241c1ac3496de5d771089a652aafa621b7 (patch) | |
tree | 233bc0a639e63d34a30f08150ded6a364d73e0fb /dev-haskell/quickcheck/files | |
parent | x86 stable per bug 355085 (diff) | |
download | gentoo-2-d4db9e241c1ac3496de5d771089a652aafa621b7.tar.gz gentoo-2-d4db9e241c1ac3496de5d771089a652aafa621b7.tar.bz2 gentoo-2-d4db9e241c1ac3496de5d771089a652aafa621b7.zip |
Version bump to support ghc-7. Fixes bug #378887 by Thomas Kahle.
(Portage version: 2.1.10.10/cvs/Linux x86_64)
Diffstat (limited to 'dev-haskell/quickcheck/files')
-rw-r--r-- | dev-haskell/quickcheck/files/quickcheck-2.1.1.1-ghc-7.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-haskell/quickcheck/files/quickcheck-2.1.1.1-ghc-7.patch b/dev-haskell/quickcheck/files/quickcheck-2.1.1.1-ghc-7.patch new file mode 100644 index 000000000000..87abeeb51e34 --- /dev/null +++ b/dev-haskell/quickcheck/files/quickcheck-2.1.1.1-ghc-7.patch @@ -0,0 +1,12 @@ +diff --git a/Test/QuickCheck/Function.hs b/Test/QuickCheck/Function.hs +index a1affaf..7c730bd 100644 +--- a/Test/QuickCheck/Function.hs ++++ b/Test/QuickCheck/Function.hs +@@ -206,6 +206,7 @@ shrinkFun shr (p :+: q) = + [ p' .+. q | p' <- shrinkFun shr p ] ++ + [ p .+. q' | q' <- shrinkFun shr q ] + where ++ isNil :: (a :-> b) -> Bool + isNil Nil = True + isNil _ = False + |