summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorsjg <sjg@pkgsrc.org>2002-11-06 06:52:00 +0000
committersjg <sjg@pkgsrc.org>2002-11-06 06:52:00 +0000
commit5ad14425a6c10306b084f5347612fcf090a5fbe6 (patch)
treee55df71238ca9a16fe631bd191d273aedcd2f02f /devel
parent989355443cdc05d3111180327acfd925453baa40 (diff)
downloadpkgsrc-5ad14425a6c10306b084f5347612fcf090a5fbe6.tar.gz
Make this build on 1.6 at least.
Diffstat (limited to 'devel')
-rw-r--r--devel/libg++/Makefile4
-rw-r--r--devel/libg++/distinfo3
-rw-r--r--devel/libg++/patches/patch-ad13
3 files changed, 17 insertions, 3 deletions
diff --git a/devel/libg++/Makefile b/devel/libg++/Makefile
index cabb834fca9..97c265d3dee 100644
--- a/devel/libg++/Makefile
+++ b/devel/libg++/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2002/08/01 02:37:44 jschauma Exp $
+# $NetBSD: Makefile,v 1.22 2002/11/06 06:52:00 sjg Exp $
#
DISTNAME= libg++-${GXXVERSION}
@@ -8,7 +8,7 @@ MASTER_SITES= ${MASTER_SITE_GNU:=libg++/}
MAINTAINER= packages@netbsd.org
COMMENT= GNU C++ Class Library
-.if !exists(/usr/lib/libstdc++.so.2.0)
+.if !exists(/usr/lib/libstdc++.so.2.0) && !exists(/usr/lib/libstdc++.so)
IGNORE= '${PKGNAME} is designed for NetBSD>=1.4. NetBSD 1.3(.x) comes with this in-tree'
.endif
diff --git a/devel/libg++/distinfo b/devel/libg++/distinfo
index 3a064ea5e83..d146e2044bb 100644
--- a/devel/libg++/distinfo
+++ b/devel/libg++/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 00:44:27 wiz Exp $
+$NetBSD: distinfo,v 1.3 2002/11/06 06:52:01 sjg Exp $
SHA1 (libg++-2.8.1.1a.tar.gz) = 9b205ff12d81ebb45845a36f264bd84c408d6dcc
Size (libg++-2.8.1.1a.tar.gz) = 751713 bytes
SHA1 (patch-aa) = 4750e57b84b740ce14f27053c635d042657f9b17
SHA1 (patch-ab) = 6f8347d8a8a3904902ba55f1411b7a4df2cf51f2
SHA1 (patch-ac) = 5bfa9cc6fcad64bf56971f751f625b92cf13b2cb
+SHA1 (patch-ad) = fb56944aac14d538cdb5ebbe5498d53cc29d0ba0
diff --git a/devel/libg++/patches/patch-ad b/devel/libg++/patches/patch-ad
new file mode 100644
index 00000000000..5753328072c
--- /dev/null
+++ b/devel/libg++/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2002/11/06 06:52:01 sjg Exp $
+
+--- libg++/src/ACG.cc.old Sun Nov 3 21:40:07 2002
++++ libg++/src/ACG.cc Sun Nov 3 21:37:55 2002
+@@ -110,7 +110,7 @@ Foundation, 59 Temple Place - Suite 330,
+ // to adjust the size of the table at the expense of shorter sequences.
+ //
+
+-static randomStateTable[][3] = {
++static int randomStateTable[][3] = {
+ {3,7,16}, {4,9, 32}, {3,10, 32}, {1,11, 32}, {1,15,64}, {3,17,128},
+ {7,18,128}, {3,20,128}, {2,21, 128}, {1,22, 128}, {5,23, 128}, {3,25, 128},
+ {2,29, 128}, {3,31, 128}, {13,33, 256}, {2,35, 256}, {11,36, 256},