summaryrefslogtreecommitdiff
path: root/lang/nhc98/patches
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2003-03-19 23:14:35 +0000
committerkristerw <kristerw@pkgsrc.org>2003-03-19 23:14:35 +0000
commit71b94596712c831caa3f3f2cf80a8c2df3419b0b (patch)
tree62810228c5836dcd52893b9c9d0b0e68cee1033e /lang/nhc98/patches
parentffe988aa1a66a47e99bdc3ad2eb128b8107877e9 (diff)
downloadpkgsrc-71b94596712c831caa3f3f2cf80a8c2df3419b0b.tar.gz
Update nhc98 to 1.16.
Changes since 1.14a include: * A large subset of the base package of hierarchical libraries is now included in the build. * The primitive FFI mechanism has been updated to match the latest official spec, and the full Foreign libraries are also included (in hierarchical form). * The library function List.sortBy now uses a stable O(n log n) mergesort. * Numerous other small fixes, including revisions to the Haskell'98 standard.
Diffstat (limited to 'lang/nhc98/patches')
-rw-r--r--lang/nhc98/patches/patch-aa61
1 files changed, 30 insertions, 31 deletions
diff --git a/lang/nhc98/patches/patch-aa b/lang/nhc98/patches/patch-aa
index 768b76aa12b..5a5ed252221 100644
--- a/lang/nhc98/patches/patch-aa
+++ b/lang/nhc98/patches/patch-aa
@@ -1,34 +1,33 @@
-$NetBSD: patch-aa,v 1.5 2002/11/14 22:38:30 jlam Exp $
-
---- configure.orig Tue Aug 13 09:52:51 2002
-+++ configure
-@@ -345,13 +345,13 @@ int main (void) { test(); }
- if $CCC -o curses curses.c >/dev/null 2>/dev/null
- then CURSES=""
- else
-- if $CCC -o curses curses.c -lncurses >/dev/null 2>/dev/null
-+ if $CCC $LDFLAGS -o curses curses.c -lncurses >/dev/null 2>/dev/null
- then CURSES="-lncurses"
+$NetBSD: patch-aa,v 1.6 2003/03/19 23:14:35 kristerw Exp $
+--- configure.orig Wed Mar 12 23:55:24 2003
++++ configure Wed Mar 12 23:57:47 2003
+@@ -363,13 +363,13 @@
+ if $CCC -o curses curses.c >/dev/null 2>/dev/null
+ then CURSES=""
else
-- if $CCC -o curses curses.c -lcurses >/dev/null 2>/dev/null
-+ if $CCC $LDFLAGS -o curses curses.c -lcurses >/dev/null 2>/dev/null
- then CURSES="-lcurses"
+- if $CCC -o curses curses.c -lncurses >/dev/null 2>/dev/null
++ if $CCC $LDFLAGS -o curses curses.c -lncurses >/dev/null 2>/dev/null
+ then CURSES="-lncurses"
else
-- if $CCC -o curses curses.c -lcurses -ltermcap >/dev/null 2>/dev/null
-+ if $CCC $LDFLAGS -o curses curses.c -lcurses -ltermcap >/dev/null 2>/dev/null
- then CURSES="-lcurses -ltermcap"
- else CURSES="-ltermcap -lcurses" # don't know a good default?
- fi
-@@ -368,10 +368,10 @@ int main (void) { test(); }
+- if $CCC -o curses curses.c -lcurses >/dev/null 2>/dev/null
++ if $CCC $LDFLAGS -o curses curses.c -lcurses >/dev/null 2>/dev/null
+ then CURSES="-lcurses"
+ else
+- if $CCC -o curses curses.c -lcurses -ltermcap >/dev/null 2>/dev/null
++ if $CCC $LDFLAGS -o curses curses.c -lcurses -ltermcap >/dev/null 2>/dev/null
+ then CURSES="-lcurses -ltermcap"
+ else CURSES="-ltermcap -lcurses" # don't know a good default?
+ fi
+@@ -386,10 +386,10 @@
- echo -n "Testing for the readline library: "
- echo 'main(){readline();}' >rd.c
-- if ${CCC} -o rd.out rd.c -lreadline >/dev/null 2>&1
-+ if ${CCC} ${LDFLAGS} -o rd.out rd.c -lreadline >/dev/null 2>&1
- then echo ' -lreadline (detected)'
- READLINE="-DUSE_READLINE=1 -lreadline"
-- else if ${CCC} -o rd.out rd.c -lreadline $CURSES >/dev/null 2>&1
-+ else if ${CCC} ${LDFLAGS} -o rd.out rd.c -lreadline $CURSES >/dev/null 2>&1
- then echo " -lreadline $CURSES (detected)"
- READLINE="-DUSE_READLINE=1 -lreadline $CURSES"
- else echo ' no (detected)'
+ echo -n "Testing for the readline library: "
+ echo 'main(){readline();}' >rd.c
+- if ${CCC} -o rd.out rd.c -lreadline >/dev/null 2>&1
++ if ${CCC} ${LDFLAGS} -o rd.out rd.c -lreadline >/dev/null 2>&1
+ then echo ' -lreadline (detected)'
+ READLINE="-DUSE_READLINE=1 -lreadline"
+- else if ${CCC} -o rd.out rd.c -lreadline $CURSES >/dev/null 2>&1
++ else if ${CCC} ${LDFLAGS} -o rd.out rd.c -lreadline $CURSES >/dev/null 2>&1
+ then echo " -lreadline $CURSES (detected)"
+ READLINE="-DUSE_READLINE=1 -lreadline $CURSES"
+ else echo ' no (detected)'