summaryrefslogtreecommitdiff
path: root/lang/ghc/patches/patch-al
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ghc/patches/patch-al')
-rw-r--r--lang/ghc/patches/patch-al15
1 files changed, 12 insertions, 3 deletions
diff --git a/lang/ghc/patches/patch-al b/lang/ghc/patches/patch-al
index ca1cfb7a85d..3271c862a39 100644
--- a/lang/ghc/patches/patch-al
+++ b/lang/ghc/patches/patch-al
@@ -1,7 +1,7 @@
-$NetBSD: patch-al,v 1.3 2008/03/24 22:40:23 kristerw Exp $
+$NetBSD: patch-al,v 1.4 2008/07/07 14:58:00 kristerw Exp $
---- libraries/base/System/Posix/Internals.hs.orig 2008-03-24 13:34:39.000000000 +0100
-+++ libraries/base/System/Posix/Internals.hs 2008-03-24 13:44:11.000000000 +0100
+--- libraries/base/System/Posix/Internals.hs.orig 2007-12-10 19:16:54.000000000 +0100
++++ libraries/base/System/Posix/Internals.hs 2008-07-07 13:11:44.000000000 +0200
@@ -354,7 +354,7 @@
foreign import ccall unsafe "HsBase.h __hscore_open"
c_open :: CString -> CInt -> CMode -> IO CInt
@@ -11,3 +11,12 @@ $NetBSD: patch-al,v 1.3 2008/03/24 22:40:23 kristerw Exp $
c_opendir :: CString -> IO (Ptr CDir)
foreign import ccall unsafe "HsBase.h __hscore_mkdir"
+@@ -418,7 +418,7 @@
+ foreign import ccall unsafe "HsBase.h __hscore_sigaddset"
+ c_sigaddset :: Ptr CSigset -> CInt -> IO CInt
+
+-foreign import ccall unsafe "HsBase.h sigprocmask"
++foreign import ccall unsafe "HsBase.h __hscore_sigprocmask"
+ c_sigprocmask :: CInt -> Ptr CSigset -> Ptr CSigset -> IO CInt
+
+ foreign import ccall unsafe "HsBase.h tcgetattr"