pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/nhc98 Fix build problem on NetBSD -current.
details: https://anonhg.NetBSD.org/pkgsrc/rev/4f41b78d447d
branches: trunk
changeset: 466368:4f41b78d447d
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Fri Jan 16 20:03:59 2004 +0000
description:
Fix build problem on NetBSD -current.
diffstat:
lang/nhc98/distinfo | 4 ++--
lang/nhc98/patches/patch-ae | 21 +++++++++++++++++----
2 files changed, 19 insertions(+), 6 deletions(-)
diffs (46 lines):
diff -r f306e544dcdc -r 4f41b78d447d lang/nhc98/distinfo
--- a/lang/nhc98/distinfo Fri Jan 16 15:04:54 2004 +0000
+++ b/lang/nhc98/distinfo Fri Jan 16 20:03:59 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2004/01/16 00:59:18 kristerw Exp $
+$NetBSD: distinfo,v 1.11 2004/01/16 20:03:59 kristerw Exp $
SHA1 (nhc98src-1.16.tar.gz) = 7ca27c190d06462cab5d642726b7e5e73b61a7e4
Size (nhc98src-1.16.tar.gz) = 5689485 bytes
@@ -6,6 +6,6 @@
SHA1 (patch-ab) = 064fe3b954dadf46155a3ddcd1e0ba439ff5167d
SHA1 (patch-ac) = 514a8e8d74a4efb6149734c95b9b4f0c72678218
SHA1 (patch-ad) = 53ff3bf9b71810c024df1ed04103964f0d65848f
-SHA1 (patch-ae) = 89a661248bddb6dddbac232fe9abba81cc0db172
+SHA1 (patch-ae) = b3cebbf940f03cfb250743991f52b2b7999f923f
SHA1 (patch-af) = 0036a99ddd54f86679faa2d564fab1297aa00273
SHA1 (patch-ag) = 613b06d92328ff649ea8d3cd198b058f0354654a
diff -r f306e544dcdc -r 4f41b78d447d lang/nhc98/patches/patch-ae
--- a/lang/nhc98/patches/patch-ae Fri Jan 16 15:04:54 2004 +0000
+++ b/lang/nhc98/patches/patch-ae Fri Jan 16 20:03:59 2004 +0000
@@ -1,8 +1,21 @@
-$NetBSD: patch-ae,v 1.1 2004/01/16 00:59:18 kristerw Exp $
+$NetBSD: patch-ae,v 1.2 2004/01/16 20:03:59 kristerw Exp $
---- 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 @@
+--- 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 - | \
Home |
Main Index |
Thread Index |
Old Index