summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/contravariant/files/contravariant-1.3-ghc-7.10.patch')
-rw-r--r--dev-haskell/contravariant/files/contravariant-1.3-ghc-7.10.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-haskell/contravariant/files/contravariant-1.3-ghc-7.10.patch b/dev-haskell/contravariant/files/contravariant-1.3-ghc-7.10.patch
new file mode 100644
index 000000000000..a797bbcfd0af
--- /dev/null
+++ b/dev-haskell/contravariant/files/contravariant-1.3-ghc-7.10.patch
@@ -0,0 +1,11 @@
+--- contravariant-1.3-orig/src/Data/Functor/Contravariant/Compose.hs 2015-03-10 04:41:19.000000000 +1100
++++ contravariant-1.3/src/Data/Functor/Contravariant/Compose.hs 2015-03-11 21:55:46.287717619 +1100
+@@ -20,6 +20,8 @@
+
+ #if __GLASGOW_HASKELL__ < 710
+ import Control.Applicative
++#else
++import Control.Applicative ((<$>))
+ #endif
+
+ import Data.Functor.Contravariant