You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-haskell/readline/files/readline-1.0.1.0-ghc-7.6.patch

13 lines
493 B

--- 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 #-}