pkgsrc/lang/ghc/patches/patch-as
kristerw 40df28eb7b Update ghc to 6.8.3. Thanks to Donn Cave for bugfix patches.
Changes in 6.8.3:
* The arguments to ghc-pkg now understand lists and wildcards, and
  there is a new command ghc-pkg find-module.

* The filename completion in ghci is now more intelligent.

* We now look for GHCi config files in these locations:
    ./.ghci
    $HOME/.ghc/ghci.conf
    $HOME/.ghci

* You can now give multiple -e options to GHC.

* You can now use the -prof and -threaded flags together, although
  you cannot also use +RTS -N2.

* SCC names are no longer allowed to contain spaces, as some of the
  profiling tools break if they do.

* Various changes have been made to GHC's internals, so there are some
  differences in the API exposed by the ghc package. Most notably,
  checkAndLoadModule has now been implemented.
2008-07-20 00:26:52 +00:00

21 lines
733 B
Text

$NetBSD: patch-as,v 1.3 2008/07/20 00:26:52 kristerw Exp $
--- libraries/unix/System/Posix/Signals.hs.orig 2008-07-19 19:59:17.000000000 +0200
+++ libraries/unix/System/Posix/Signals.hs 2008-07-19 20:00:49.000000000 +0200
@@ -502,7 +502,7 @@
-- ignore the return value; according to the docs it can only ever be
-- (-1) with errno set to EINTR.
-foreign import ccall unsafe "sigsuspend"
+foreign import ccall unsafe "__hsunix_sigsuspend"
c_sigsuspend :: Ptr CSigset -> IO CInt
#endif
@@ -526,6 +526,6 @@
c_sigismember :: Ptr CSigset -> CInt -> IO CInt
#endif /* __HUGS__ */
-foreign import ccall unsafe "sigpending"
+foreign import ccall unsafe "__hsunix_sigpending"
c_sigpending :: Ptr CSigset -> IO CInt