summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/monadcatchio-transformers/files/monadcatchio-transformers-0.3.0.0-ghc-7.5.patch')
-rw-r--r--dev-haskell/monadcatchio-transformers/files/monadcatchio-transformers-0.3.0.0-ghc-7.5.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-haskell/monadcatchio-transformers/files/monadcatchio-transformers-0.3.0.0-ghc-7.5.patch b/dev-haskell/monadcatchio-transformers/files/monadcatchio-transformers-0.3.0.0-ghc-7.5.patch
new file mode 100644
index 000000000000..6ff1b3fba332
--- /dev/null
+++ b/dev-haskell/monadcatchio-transformers/files/monadcatchio-transformers-0.3.0.0-ghc-7.5.patch
@@ -0,0 +1,18 @@
+--- MonadCatchIO-transformers-0.3.0.0-orig/src/Control/Monad/CatchIO.hs 2012-04-10 07:23:39.000000000 +1000
++++ MonadCatchIO-transformers-0.3.0.0/src/Control/Monad/CatchIO.hs 2012-07-07 21:21:26.691029176 +1000
+@@ -1,4 +1,4 @@
+-{-# LANGUAGE ExistentialQuantification, ScopedTypeVariables #-}
++{-# LANGUAGE CPP, ExistentialQuantification, ScopedTypeVariables #-}
+ module Control.Monad.CatchIO
+ (
+ MonadCatchIO(..)
+@@ -16,7 +16,9 @@
+
+ where
+
++#if !MIN_VERSION_base(4,6,0)
+ import Prelude hiding ( catch )
++#endif
+ import Control.Applicative ((<$>))
+ import qualified Control.Exception.Extensible as E
+