summaryrefslogtreecommitdiff
path: root/dev-haskell/hashed-storage/files/hashed-storage-0.5.11-QC-2.8.2.patch
blob: 1a001e73f53754162137924b0ac46cebaafca40a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/Storage/Hashed/Test.hs b/Storage/Hashed/Test.hs
index d3cab6f..7f8291e 100644
--- a/Storage/Hashed/Test.hs
+++ b/Storage/Hashed/Test.hs
@@ -1,2 +1,2 @@
-{-# LANGUAGE ScopedTypeVariables, FlexibleInstances #-}
+{-# LANGUAGE ScopedTypeVariables, FlexibleInstances, CPP #-}
 module Storage.Hashed.Test( tests ) where
@@ -464,2 +464,3 @@ posix = [ testCase "getFileStatus" $ check_stat Posix.getFileStatus
 
+#if ! MIN_VERSION_QuickCheck(2,8,2)
 instance (Arbitrary a, Ord a) => Arbitrary (S.Set a)
@@ -469,2 +470,3 @@ instance (Arbitrary k, Arbitrary v, Ord k) => Arbitrary (M.Map k v)
     where arbitrary = M.fromList `fmap` arbitrary
+#endif