From d1cb71891b17e6e32b469010a669fba3f6fd7124 Mon Sep 17 00:00:00 2001 From: kristerw Date: Tue, 14 Jun 2005 11:02:43 +0000 Subject: 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). --- lang/ghc/patches/patch-ah | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lang/ghc/patches/patch-ah (limited to 'lang/ghc/patches') 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... */ + -- cgit v1.2.3