slyfox      15/01/19 22:30:07

  Added:                editline-0.2.1.1-ghc-7.8.patch
  Log:
  Port to ghc-7.8 (bug #537058 by Toralf Förster).
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
611FF3AA)

Revision  Changes    Path
1.1                  dev-haskell/editline/files/editline-0.2.1.1-ghc-7.8.patch

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

Index: editline-0.2.1.1-ghc-7.8.patch
===================================================================
diff --git a/System/Console/Editline/Readline.hsc 
b/System/Console/Editline/Readline.hsc
index 1ea9d6c..3b95b59 100644
--- a/System/Console/Editline/Readline.hsc
+++ b/System/Console/Editline/Readline.hsc
@@ -173,7 +173,7 @@ import Foreign.Marshal.Array ( mallocArray, peekArray0, 
pokeArray0 )
 import Foreign.C.Types ( CInt(..), CChar, CFile )
 import Foreign.C.String        ( newCString, peekCString, withCString,
                          castCharToCChar, castCCharToChar )
-import GHC.Handle      ( fdToHandle )
+import GHC.IO.Handle.FD        ( fdToHandle )
 
 {-# CFILES HsReadline_cbits.c #-}
 




Reply via email to