The patch

  Mon Nov 20 18:12:11 CET 2006  Dave Love <[EMAIL PROTECTED]>
    * Fix curses stuff, especially on Solaris 10.

Includes the following hunk:

  -foreign import ccall "term.h tgetnum" c_tgetnum :: CString -> IO CInt
  -foreign import ccall "term.h tgetent" c_tgetent :: Ptr CChar -> CString -> 
IO C
  +foreign import ccall "tgetnum" c_tgetnum :: CString -> IO CInt
  +foreign import ccall "tgetent" c_tgetent :: Ptr CChar -> CString -> IO CInt

which causes the following warnings on GNU/Linux:

  /tmp/ghc18663_0/ghc18663_0.hc: In function ‘s8Gr_ret’:

  /tmp/ghc18663_0/ghc18663_0.hc:21561:0:
       warning: implicit declaration of function ‘tgetnum’
  /tmp/ghc18663_0/ghc18663_0.hc: In function ‘s8H0_ret’:

  /tmp/ghc18663_0/ghc18663_0.hc:21690:0:
       warning: implicit declaration of function ‘tgetent’

I have no idea what this is supposed to fix, but it's obviously broken
on GNU/Linux.

                                        Juliusz


_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to