[Pkg-haskell-commits] darcs: haskell-readline: Import CInt constructors; constructors for newtypes must be in scope for FFI declarations. This is a new error with GHC 7.6.2.
laney at debian.org
laney at debian.org
Sun Feb 3 15:07:08 UTC 2013
Sun Feb 3 14:47:36 UTC 2013 laney at debian.org
* Import CInt constructors; constructors for newtypes must be in scope for FFI declarations. This is a new error with GHC 7.6.2.
Ignore-this: 240bfe5b6996f4ca92788e367ceb3ae8
M ./changelog +5
A ./patches/
A ./patches/import-cint-constructors
A ./patches/series
Sun Feb 3 14:47:36 UTC 2013 laney at debian.org
* Import CInt constructors; constructors for newtypes must be in scope for FFI declarations. This is a new error with GHC 7.6.2.
Ignore-this: 240bfe5b6996f4ca92788e367ceb3ae8
diff -rN -u old-haskell-readline//changelog new-haskell-readline//changelog
--- old-haskell-readline//changelog 2013-02-03 15:07:08.071721571 +0000
+++ new-haskell-readline//changelog 2013-02-03 15:07:08.091722871 +0000
@@ -1,9 +1,14 @@
haskell-readline (1.0.1.0-4) UNRELEASED; urgency=low
+ [ Joachim Breitner ]
* Depend on haskell-devscripts 0.8.13 to ensure this packages is built
against experimental
* Bump standards version, no change
+ [ Iain Lane ]
+ * Import CInt constructors; constructors for newtypes must be in scope for
+ FFI declarations. This is a new error with GHC 7.6.2.
+
-- Joachim Breitner <nomeata at debian.org> Sat, 13 Oct 2012 14:12:23 +0200
haskell-readline (1.0.1.0-3) unstable; urgency=low
diff -rN -u old-haskell-readline//patches/import-cint-constructors new-haskell-readline//patches/import-cint-constructors
--- old-haskell-readline//patches/import-cint-constructors 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-readline//patches/import-cint-constructors 2013-02-03 15:07:08.099720226 +0000
@@ -0,0 +1,13 @@
+Description: Import CInt constructors
+Author: Iain Lane <laney at ubuntu.com>
+
+--- haskell-readline-1.0.1.0.orig/System/Console/Readline.hsc
++++ haskell-readline-1.0.1.0/System/Console/Readline.hsc
+@@ -298,6 +298,7 @@ import Foreign.Marshal.Array ( mallocArr
+ import Foreign.C.Types ( CInt, CChar, CFile )
+ import Foreign.C.String ( newCString, peekCString, withCString,
+ castCharToCChar, castCCharToChar )
++import Foreign.C.Types(CInt(..))
+ import GHC.Handle ( fdToHandle )
+
+ {-# CFILES HsReadline_cbits.c #-}
diff -rN -u old-haskell-readline//patches/series new-haskell-readline//patches/series
--- old-haskell-readline//patches/series 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-readline//patches/series 2013-02-03 15:07:08.087720518 +0000
@@ -0,0 +1 @@
+import-cint-constructors
More information about the Pkg-haskell-commits
mailing list