pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ghc Do not #define _POSIX_SOURCE. We do not need...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cabac67e063a
branches:  trunk
changeset: 495570:cabac67e063a
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Tue Jun 14 11:02:43 2005 +0000

description:
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:

 lang/ghc/distinfo         |   3 ++-
 lang/ghc/patches/patch-ah |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 901e00c2a151 -r cabac67e063a lang/ghc/distinfo
--- a/lang/ghc/distinfo Tue Jun 14 07:47:17 2005 +0000
+++ b/lang/ghc/distinfo Tue Jun 14 11:02:43 2005 +0000
@@ -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-ae) = 994e5c93c93e82c6c375f21ae172eac5a887d756
 SHA1 (patch-af) = a0c44c8b43b4ca7489a4e14a247ca959764e7bc5
 SHA1 (patch-ag) = 9d9e39fbb97c516fcd9d8775cfe4f88d0ecbdb43
+SHA1 (patch-ah) = 243b1b98ce48873ded6c45dd0ff3541e8284bf00
diff -r 901e00c2a151 -r cabac67e063a lang/ghc/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/ghc/patches/patch-ah Tue Jun 14 11:02:43 2005 +0000
@@ -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... */
+ 



Home | Main Index | Thread Index | Old Index