diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-07-06 22:22:43 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-07-06 22:22:58 +0100 |
commit | 06bc93e29c1e3bc28f1c4794ac396eeac9cc6744 (patch) | |
tree | 9fbcd24b104b2f6bc974f91bd9fb634f69a540e4 /dev-haskell/extra/files | |
parent | www-client/vivaldi: Old. (diff) | |
download | gentoo-06bc93e29c1e3bc28f1c4794ac396eeac9cc6744.tar.gz gentoo-06bc93e29c1e3bc28f1c4794ac396eeac9cc6744.tar.bz2 gentoo-06bc93e29c1e3bc28f1c4794ac396eeac9cc6744.zip |
dev-haskell/extra: fix test, bump up to 1.5.1, bug #624030
Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/624030
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-haskell/extra/files')
-rw-r--r-- | dev-haskell/extra/files/extra-1.4.10-QC-2.9.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-haskell/extra/files/extra-1.4.10-QC-2.9.patch b/dev-haskell/extra/files/extra-1.4.10-QC-2.9.patch new file mode 100644 index 000000000000..14b861060b18 --- /dev/null +++ b/dev-haskell/extra/files/extra-1.4.10-QC-2.9.patch @@ -0,0 +1,23 @@ +diff --git a/test/TestUtil.hs b/test/TestUtil.hs +index 87f3417..cda262f 100644 +--- a/test/TestUtil.hs ++++ b/test/TestUtil.hs +@@ -72,3 +72,5 @@ instance Testable () where + property = property . (`seq` True) ++#if ! MIN_VERSION_QuickCheck(2,9,0) + exhaustive _ = True ++#endif + +@@ -76,3 +78,6 @@ instance Testable a => Testable (IO a) where + property = property . unsafePerformIO ++#if ! MIN_VERSION_QuickCheck(2,9,0) + exhaustive = exhaustive . unsafePerformIO ++#endif ++ + +@@ -107,3 +112,5 @@ instance Arbitrary DiffTime where + ++#if ! MIN_VERSION_QuickCheck(2,9,2) + instance Arbitrary Version where + arbitrary = makeVersion . map abs <$> listOf1 arbitrary ++#endif |