diff options
author | kristerw <kristerw@pkgsrc.org> | 2005-06-14 11:02:43 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2005-06-14 11:02:43 +0000 |
commit | d1cb71891b17e6e32b469010a669fba3f6fd7124 (patch) | |
tree | b39846439f201228b5eddcef4b5d6f9a1dc69b63 /lang | |
parent | e6bc216fa0eaad1f1ea958930fa5f60db345b261 (diff) | |
download | pkgsrc-d1cb71891b17e6e32b469010a669fba3f6fd7124.tar.gz |
Do not #define _POSIX_SOURCE. We do not need that namespace protection,
and _POSIX_SOURCE causes build to fail for NetBSD 1.6 (due to fd_set
not being available).
Diffstat (limited to 'lang')
-rw-r--r-- | lang/ghc/distinfo | 3 | ||||
-rw-r--r-- | lang/ghc/patches/patch-ah | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/lang/ghc/distinfo b/lang/ghc/distinfo index f2943b31fc0..a864f074f58 100644 --- a/lang/ghc/distinfo +++ b/lang/ghc/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2005/05/21 20:22:21 kristerw Exp $ +$NetBSD: distinfo,v 1.10 2005/06/14 11:02:43 kristerw Exp $ SHA1 (ghc-6.4-src.tar.bz2) = d799730abe021a9af3c85da26ed585eb0ccc9c37 RMD160 (ghc-6.4-src.tar.bz2) = 23a0f07887d2ccd0df909592f3a3b40ef5bea2f5 @@ -16,3 +16,4 @@ SHA1 (patch-ad) = 73f5593587d20ad8f6bab5b6586c043c838e83a8 SHA1 (patch-ae) = 994e5c93c93e82c6c375f21ae172eac5a887d756 SHA1 (patch-af) = a0c44c8b43b4ca7489a4e14a247ca959764e7bc5 SHA1 (patch-ag) = 9d9e39fbb97c516fcd9d8775cfe4f88d0ecbdb43 +SHA1 (patch-ah) = 243b1b98ce48873ded6c45dd0ff3541e8284bf00 diff --git a/lang/ghc/patches/patch-ah b/lang/ghc/patches/patch-ah new file mode 100644 index 00000000000..9e71b74edee --- /dev/null +++ b/lang/ghc/patches/patch-ah @@ -0,0 +1,16 @@ +$NetBSD: patch-ah,v 1.3 2005/06/14 11:02:43 kristerw Exp $ + +--- ghc/rts/PosixSource.h.orig Tue Jun 14 01:55:53 2005 ++++ ghc/rts/PosixSource.h Fri Aug 13 15:39:29 2004 +@@ -9,9 +9,11 @@ + #ifndef POSIXSOURCE_H + #define POSIXSOURCE_H + ++#if 0 + #define _POSIX_SOURCE 1 + #define _POSIX_C_SOURCE 199506L + #define _ISOC9X_SOURCE ++#endif + + /* Let's be ISO C9X too... */ + |