gienah 15/01/03 04:22:38 Added: text-icu-0.7.0.0-ghc-7.10.patch Log: Patch text-icu-0.7.0.0 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/text-icu/files/text-icu-0.7.0.0-ghc-7.10.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/text-icu/files/text-icu-0.7.0.0-ghc-7.10.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-haskell/text-icu/files/text-icu-0.7.0.0-ghc-7.10.patch?rev=1.1&content-type=text/plain Index: text-icu-0.7.0.0-ghc-7.10.patch =================================================================== --- text-icu-0.7.0.0-orig/Data/Text/ICU/Break.hsc 2014-08-15 07:17:37.000000000 +1000 +++ text-icu-0.7.0.0/Data/Text/ICU/Break.hsc 2015-01-03 15:05:27.300927099 +1100 @@ -64,7 +64,11 @@ import Foreign.Marshal.Array (allocaArray, peekArray) import Foreign.Marshal.Utils (with) import Foreign.Ptr (FunPtr, Ptr, nullPtr) +#if MIN_VERSION_base(4,8,0) +import Prelude hiding (last, Word) +#else import Prelude hiding (last) +#endif import System.IO.Unsafe (unsafePerformIO) -- $indices --- text-icu-0.7.0.0-orig/Data/Text/ICU/Break/Pure.hs 2014-08-15 07:17:37.000000000 +1000 +++ text-icu-0.7.0.0/Data/Text/ICU/Break/Pure.hs 2015-01-03 15:06:16.528158894 +1100 @@ -1,4 +1,4 @@ -{-# LANGUAGE BangPatterns, RecordWildCards #-} +{-# LANGUAGE BangPatterns, CPP, RecordWildCards #-} -- | -- Module : Data.Text.ICU.Break.Pure -- Copyright : (c) 2010 Bryan O'Sullivan @@ -44,6 +44,9 @@ import Data.Text.ICU.Break (Line, Word) import Data.Text.ICU.Break.Types (BreakIterator(..)) import Data.Text.ICU.Internal (LocaleName) +#if MIN_VERSION_base(4,8,0) +import Prelude hiding (Word) +#endif import System.IO.Unsafe (unsafeInterleaveIO, unsafePerformIO) import qualified Data.Text.ICU.Break as IO
