-$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 2009-12-11 03:31:59.000000000 +0900
++++ libraries/terminfo/configure
+@@ -3568,7 +3568,7 @@ echo "$as_me: error: curses headers coul
+ See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+ else
+- TERMINFO_INCLUDES="$CursesIncludes term.h"
++ TERMINFO_INCLUDES="$CursesIncludes"
+ fi
+ { echo "$as_me:$LINENO: checking for setupterm in -lncursesw" >&5