head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.10 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.8 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.6 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.4 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.2 pkgsrc-2025Q1-base:1.1; locks; strict; comment @# @; 1.1 date 2025.01.29.13.21.54; author pho; state Exp; branches; next ; commitid BioNou7xEmeVNnHF; desc @@ 1.1 log @lang/ghc910: import ghc-9.10.1 GHC: The Glasgow Haskell Compiler. The Glasgow Haskell Compiler is a robust, fully-featured, optimising compiler for the functional programming language Haskell 98 (http://www.haskell.org). GHC compiles Haskell to either native code or C. It implements numerous experimental language extensions to Haskell, including concurrency, a foreign language interface, several type-system extensions, exceptions, and so on. GHC comes with a generational garbage collector, a space and time profiler, and a comprehensive set of libraries. This package provides the 9.10.x release series. @ text @$NetBSD: patch-libraries_unix_System_Posix_Signals.hsc,v 1.1 2024/04/28 05:58:58 pho Exp $ Suppress linker warnings about compatibility symbols. --- libraries/unix/System/Posix/Signals.hsc.orig 2023-09-21 11:31:41.000000000 +0000 +++ libraries/unix/System/Posix/Signals.hsc @@@@ -848,7 +848,7 @@@@ awaitSignal maybe_sigset = do #if defined(HAVE_SIGNAL_H) -foreign import ccall unsafe "sigsuspend" +foreign import capi unsafe "signal.h sigsuspend" c_sigsuspend :: Ptr CSigset -> IO CInt foreign import capi unsafe "signal.h sigdelset" @@@@ -860,7 +860,7 @@@@ foreign import capi unsafe "signal.h sig foreign import capi unsafe "signal.h sigismember" c_sigismember :: Ptr CSigset -> CInt -> IO CInt -foreign import ccall unsafe "sigpending" +foreign import capi unsafe "signal.h sigpending" c_sigpending :: Ptr CSigset -> IO CInt #endif // HAVE_SIGNAL_H @