summaryrefslogtreecommitdiff
path: root/lang/ghc/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ghc/patches/patch-ab')
-rw-r--r--lang/ghc/patches/patch-ab37
1 files changed, 12 insertions, 25 deletions
diff --git a/lang/ghc/patches/patch-ab b/lang/ghc/patches/patch-ab
index 104579dafd8..4bd74caf1c2 100644
--- a/lang/ghc/patches/patch-ab
+++ b/lang/ghc/patches/patch-ab
@@ -1,29 +1,16 @@
-$NetBSD: patch-ab,v 1.4 2003/04/29 12:16:19 augustss Exp $
+$NetBSD: patch-ab,v 1.5 2004/05/29 14:28:43 kristerw Exp $
---- ./mk/config.mk.in.orig Wed Feb 12 22:41:18 2003
-+++ ./mk/config.mk.in Fri Mar 28 23:48:02 2003
-@@ -338,10 +338,13 @@
- # Libraries needed for linking with readline
- LibsReadline=@LibsReadline@
+--- ghc/includes/PosixSource.h.orig Sat May 22 19:36:17 2004
++++ ghc/includes/PosixSource.h Sat May 22 19:36:30 2004
+@@ -10,9 +10,11 @@
+ #ifndef POSIXSOURCE_H
+ #define POSIXSOURCE_H
-+# Additional linker flags needed for linking with readline
-+ExtraLdOptsReadline=@ExtraLdOptsReadline@
-+
- # Include path to readline.h
- # (no path == in standard include path)
- #
--ReadlineIncludePath=
-+ReadlineIncludePath=@ReadlineIncludePath@
++#if 0
+ #define _POSIX_SOURCE 1
+ #define _POSIX_C_SOURCE 199506L
+ #define _ISOC9X_SOURCE
++#endif
- # Math library
- LIBM=@LIBM@
-@@ -678,6 +681,9 @@
- #
- HaveLibGmp = @HaveLibGmp@
- LibGmp = @LibGmp@
-+
-+# Additional linker flags needed for linking with gmp (when HaveLibGmp=YES)
-+ExtraLdOptsGmp=@ExtraLdOptsGmp@
+ /* Let's be ISO C9X too... */
- #-----------------------------------------------------------------------------
- # Mingwex Library