diff options
Diffstat (limited to 'dev-haskell/readline/files/readline-1.0.1.0-ghc-7.6.patch')
-rw-r--r-- | dev-haskell/readline/files/readline-1.0.1.0-ghc-7.6.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-haskell/readline/files/readline-1.0.1.0-ghc-7.6.patch b/dev-haskell/readline/files/readline-1.0.1.0-ghc-7.6.patch new file mode 100644 index 000000000000..96ad676a439f --- /dev/null +++ b/dev-haskell/readline/files/readline-1.0.1.0-ghc-7.6.patch @@ -0,0 +1,12 @@ +--- readline-1.0.1.0-orig/System/Console/Readline.hsc 2007-11-06 02:25:00.000000000 +1100 ++++ readline-1.0.1.0/System/Console/Readline.hsc 2012-09-15 17:30:53.690973810 +1000 +@@ -298,6 +298,9 @@ + import Foreign.C.Types ( CInt, CChar, CFile ) + import Foreign.C.String ( newCString, peekCString, withCString, + castCharToCChar, castCCharToChar ) ++#if (__GLASGOW_HASKELL__>=705) ++import Foreign.C.Types(CInt(..)) ++#endif + import GHC.Handle ( fdToHandle ) + + {-# CFILES HsReadline_cbits.c #-} |