summaryrefslogtreecommitdiff
path: root/lang/ghc/patches
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2005-06-14 11:02:43 +0000
committerkristerw <kristerw@pkgsrc.org>2005-06-14 11:02:43 +0000
commitd1cb71891b17e6e32b469010a669fba3f6fd7124 (patch)
treeb39846439f201228b5eddcef4b5d6f9a1dc69b63 /lang/ghc/patches
parente6bc216fa0eaad1f1ea958930fa5f60db345b261 (diff)
downloadpkgsrc-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/ghc/patches')
-rw-r--r--lang/ghc/patches/patch-ah16
1 files changed, 16 insertions, 0 deletions
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... */
+