You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-haskell/dbus/files/dbus-0.10.12-QC-2.8.2.patch

16 lines
466 B

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