#7359: unix-2.6.0.0 fails to install on mac os x with 7.4.* (works with 7.6.1)
----------------------------+-----------------------------------------------
 Reporter:  AndreasVoellmy  |          Owner:                
     Type:  bug             |         Status:  new           
 Priority:  normal          |      Component:  libraries/unix
  Version:  7.4.1           |       Keywords:                
       Os:  MacOS X         |   Architecture:  x86_64 (amd64)
  Failure:  Other           |       Testcase:                
Blockedby:                  |       Blocking:                
  Related:                  |  
----------------------------+-----------------------------------------------

Comment(by lukexi):

 Seems related to:
 http://hackage.haskell.org/trac/ghc/ticket/2979 (which explains why it
 works with 7.6.1)

 I fixed it by cabal unpacking, and swapping lines 615-622 with those from
 unix-2.5.1.1 in System/Posix/Signals.hsc:
 foreign import ccall unsafe "__hscore_sigdelset"
   c_sigdelset   :: Ptr CSigset -> CInt -> IO CInt

 foreign import ccall unsafe "__hscore_sigfillset"
   c_sigfillset  :: Ptr CSigset -> IO CInt

 foreign import ccall unsafe "__hscore_sigismember"
   c_sigismember :: Ptr CSigset -> CInt -> IO CInt

 and cabal installing.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7359#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to