Heya, On Thu, Feb 07, 2013 at 08:20:21PM +0100, Joachim Breitner wrote: > Dear Chris, > > fastcgi-3001.0.2.3 fails to build with GHC 7.6, which is out for quite a > while now: The attached simple patch fixes this. -- Iain Lane [ iain@orangesquash.org.uk ] Debian Developer [ laney@debian.org ] Ubuntu Developer [ laney@ubuntu.com ]
--- haskell-fastcgi-3001.0.2.3.orig/Network/FastCGI.hsc
+++ haskell-fastcgi-3001.0.2.3/Network/FastCGI.hsc
@@ -33,7 +33,7 @@ import Control.Monad ( liftM )
import Data.Word (Word8)
import Foreign ( Ptr, castPtr, nullPtr, peekArray0
, alloca, mallocBytes, free, throwIfNeg_)
-import Foreign.C ( CInt, CString, CStringLen
+import Foreign.C ( CInt(..), CString, CStringLen
, peekCString )
import Foreign.Storable ( Storable (..) )
import System.IO.Unsafe (unsafeInterleaveIO,unsafePerformIO)
Attachment:
signature.asc
Description: Digital signature