-$NetBSD: patch-ah,v 1.4 2007/03/24 17:57:20 kristerw Exp $
+$NetBSD$
---- ../ghc-6.4.2/ghc/rts/PosixSource.h.orig Tue Jun 14 01:55:53 2005
-+++ ../ghc-6.4.2/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... */
+--- libraries/terminfo/configure.orig 2010-11-12 18:10:58.000000000 +0000
++++ libraries/terminfo/configure
+@@ -3254,7 +3254,7 @@ $as_echo "$as_me: error: in \`$ac_pwd':"
+ as_fn_error "curses headers could not be found, so this package cannot be built
+ See \`config.log' for more details." "$LINENO" 5; }
+ else
+- TERMINFO_INCLUDES="$CursesIncludes term.h"
++ TERMINFO_INCLUDES="$CursesIncludes"
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncursesw" >&5