gienah      15/01/02 03:27:03

  Added:                chell-0.4-ghc-7.10.patch
  Log:
  Patch chell-0.4 for ghc 7.10
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
618E971F)

Revision  Changes    Path
1.1                  dev-haskell/chell/files/chell-0.4-ghc-7.10.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/chell/files/chell-0.4-ghc-7.10.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/chell/files/chell-0.4-ghc-7.10.patch?rev=1.1&content-type=text/plain

Index: chell-0.4-ghc-7.10.patch
===================================================================
--- chell-0.4-orig/lib/Test/Chell.hs    2014-05-19 03:42:17.000000000 +1000
+++ chell-0.4/lib/Test/Chell.hs 2015-01-02 14:19:11.555163417 +1100
@@ -1,6 +1,7 @@
 {-# LANGUAGE TemplateHaskell #-}
 {-# LANGUAGE TypeSynonymInstances #-}
 {-# LANGUAGE FlexibleInstances #-}
+{-# LANGUAGE CPP #-}
 
 -- | Chell is a simple and intuitive library for automated testing. It natively
 -- supports assertion-based testing, and can use companion libraries
@@ -118,6 +119,9 @@
        , testOptionTimeout
        ) where
 
+#if MIN_VERSION_base(4,8,0)
+import Prelude hiding(pure)
+#endif
 import qualified Control.Applicative
 import qualified Control.Exception
 import           Control.Exception (Exception)




Reply via email to