summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/editline/files/editline-0.2.1.1-ghc-7.8.patch')
-rw-r--r--dev-haskell/editline/files/editline-0.2.1.1-ghc-7.8.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-haskell/editline/files/editline-0.2.1.1-ghc-7.8.patch b/dev-haskell/editline/files/editline-0.2.1.1-ghc-7.8.patch
new file mode 100644
index 000000000000..4a55ecd5626b
--- /dev/null
+++ b/dev-haskell/editline/files/editline-0.2.1.1-ghc-7.8.patch
@@ -0,0 +1,13 @@
+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 #-}
+