summaryrefslogtreecommitdiff
path: root/dev-haskell/dbus/files/dbus-0.10.12-QC-2.8.2.patch
blob: 5fbfa1f61981749716bb4e4b6dd9a08f1c776493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/tests/DBusTests/Util.hs b/tests/DBusTests/Util.hs
index cc83cef..972afb1 100644
--- a/tests/DBusTests/Util.hs
+++ b/tests/DBusTests/Util.hs
@@ -1,2 +1,2 @@
-{-# LANGUAGE TemplateHaskell #-}
+{-# LANGUAGE TemplateHaskell, CPP #-}
 
@@ -194,4 +194,6 @@ countFileDescriptors = liftIO io where
 
+#if ! MIN_VERSION_QuickCheck(2,8,2)
 instance (Arbitrary a, Ord a) => Arbitrary (Data.Set.Set a) where
 	arbitrary = fmap Data.Set.fromList arbitrary
+#endif