head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.42 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.40 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.38 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.36 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.34 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.32 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.30 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.28 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.26 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.24 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.22 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.20 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.18 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.16 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.14 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.12 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.10 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.8 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.6 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.4 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.2 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.2.0.10 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.8 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.6 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2; locks; strict; comment @# @; 1.3 date 2005.05.01.22.55.07; author kristerw; state dead; branches; next 1.2; 1.2 date 2004.01.16.20.03.59; author kristerw; state Exp; branches; next 1.1; 1.1 date 2004.01.16.00.59.18; author kristerw; state Exp; branches; next ; desc @@ 1.3 log @Update nhc98 to 1.18. Changes from 1.16: # New: Several more packages of hierarchical libraries are included in the build: base, parsec, haskell-src, QuickCheck, HaXml, HUnit, Cabal. # New: FFI improvements: foreign import "dynamic" is now supported, and named C header-files are now used. # New: The compiler now uses cpphs for Haskell source instead of cpp. This removes problems with string gaps, primes in identifiers, and so on. # New: In hmake-interactive, if the readline library is not available, the simple line editor now has a history mechanism. # Bugfix: hmake's processing of cpp conditional directives is improved also. # Bugfix: More evil bugfixes for gcc versions ? 3.3 # Bugfix: A numeric pattern can now match against a Num newtype. # Bugfix: Foreign imports and abstract newtypes now play OK together. # Bugfix: Methods in qualified classes no longer need to be qualified in instance decls. # Bugfix: GreenCard now accepts <<.../...>> syntax. @ text @$NetBSD: patch-ae,v 1.2 2004/01/16 20:03:59 kristerw Exp $ --- script/nhc98.inst.orig Fri Mar 7 17:48:45 2003 +++ script/nhc98.inst Fri Jan 16 17:59:50 2004 @@@@ -71,6 +71,12 @@@@ MAINROUTINE=$NHC98LIBDIR/$MACHINE/main CC=${CC-gcc}" -D__NHC__=$VERSIONNUM" +gcc_ver=`gcc -dumpversion` +gcc_ver_major=`expr "$gcc_ver" : '\([0-9]*\)'` +gcc_ver_minor=`expr "$gcc_ver" : '[0-9]*\.\([0-9]*\)'` +if test $gcc_ver_major -eq 3 -a $gcc_ver_minor -ge 3; then + CC="${CC} -fno-zero-initialized-in-bss" +fi CPPDEFAULT="${CC} -D__HASKELL__=98 -D__HASKELL_98__ -D__HASKELL98__ -x c -E" @@@@ -543,6 +549,7 @@@@ echo $CPPAS $ENDIAN $CPPASFLAGS $CINCDIRS $TMPCPPASFILE -o $TMPASFILE fi $CPPAS $ENDIAN $CPPASFLAGS $CINCDIRS $TMPCPPASFILE -o - | \ + sed -e '/.p2align 5/s/5/2/' |\ sed -e '/.align 32/s/32/4/' >$TMPASFILE # evil mangler! if test $CSRC -eq 0 then @ 1.2 log @Fix build problem on NetBSD -current. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Add patches from the nhc98 web page: * A degenerate type synonym like type T a = a in some circumstances incorrectly caused an occurence check error. * Several new features in gcc-3.3 cause breakage in the nhc98 build. This patch fixes many [but ot all] of those problems. PKGREVISION++. @ text @d3 16 a18 3 --- script/nhc98.inst.orig 2003-03-07 16:48:45.000000000 +0000 +++ script/nhc98.inst 2003-12-16 16:30:11.000000000 +0000 @@@@ -543,6 +543,7 @@@@ @