summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2004-04-19 16:58:57 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2004-04-19 16:58:57 +0000
commit51a0179aa0bc46872cdc2b28b17369a06bcdd1a2 (patch)
tree0cf2c5ab8ea7720eeb8bb8b03f060f9a704ffb9e /app-sci
parentAdded --disable-upx. Bug 46746. (Manifest recommit) (diff)
downloadgentoo-2-51a0179aa0bc46872cdc2b28b17369a06bcdd1a2.tar.gz
gentoo-2-51a0179aa0bc46872cdc2b28b17369a06bcdd1a2.tar.bz2
gentoo-2-51a0179aa0bc46872cdc2b28b17369a06bcdd1a2.zip
Version bump, patch for some c++ problems
Diffstat (limited to 'app-sci')
-rw-r--r--app-sci/yacas/ChangeLog10
-rw-r--r--app-sci/yacas/Manifest3
-rw-r--r--app-sci/yacas/files/digest-yacas-1.0.561
-rw-r--r--app-sci/yacas/files/obsolete_cpp.patch56
-rw-r--r--app-sci/yacas/yacas-1.0.56.ebuild43
5 files changed, 111 insertions, 2 deletions
diff --git a/app-sci/yacas/ChangeLog b/app-sci/yacas/ChangeLog
index 4b5a4b6c516d..bb98acd76a55 100644
--- a/app-sci/yacas/ChangeLog
+++ b/app-sci/yacas/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-sci/yacas
-# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-sci/yacas/ChangeLog,v 1.3 2004/03/19 08:59:43 aliz Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/app-sci/yacas/ChangeLog,v 1.4 2004/04/19 16:58:57 phosphan Exp $
+
+*yacas-1.0.56 (19 Apr 2004)
+
+ 19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> yacas-1.0.56.ebuild,
+ files/obsolete_cpp.patch:
+ Version bump, patch for some c++ problems
*yacas-1.0.55 (09 Jul 2003)
diff --git a/app-sci/yacas/Manifest b/app-sci/yacas/Manifest
index 3eadc10a2f0c..bc7d536bd0d6 100644
--- a/app-sci/yacas/Manifest
+++ b/app-sci/yacas/Manifest
@@ -1,6 +1,9 @@
MD5 9e0338851ba142d0ce6a4252f34f7cb6 yacas-1.0.55.ebuild 1390
MD5 2a05df51640b77aaa154f23be7aeced3 yacas-1.0.54.ebuild 1389
+MD5 dfaec1dfed56b7b9e0f1df8ff3071a86 yacas-1.0.56.ebuild 1177
MD5 21e7e37aacd2a75315f8e32debbaced7 ChangeLog 699
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
MD5 1bc407af698756810b2529f3c253a402 files/digest-yacas-1.0.54 65
MD5 1ba5c4a16d348ff13ea579fe92cc7ef8 files/digest-yacas-1.0.55 65
+MD5 cf8261d2a6075743d63d67192ed50b7b files/digest-yacas-1.0.56 65
+MD5 64b45c5008b8d4664ead72296b23729e files/obsolete_cpp.patch 1155
diff --git a/app-sci/yacas/files/digest-yacas-1.0.56 b/app-sci/yacas/files/digest-yacas-1.0.56
new file mode 100644
index 000000000000..f5b4350eb3cb
--- /dev/null
+++ b/app-sci/yacas/files/digest-yacas-1.0.56
@@ -0,0 +1 @@
+MD5 cde348f0a4274e1f487b7483003cf119 yacas-1.0.56.tar.gz 1931182
diff --git a/app-sci/yacas/files/obsolete_cpp.patch b/app-sci/yacas/files/obsolete_cpp.patch
new file mode 100644
index 000000000000..3fd1ecca7217
--- /dev/null
+++ b/app-sci/yacas/files/obsolete_cpp.patch
@@ -0,0 +1,56 @@
+--- src/gmpnumbers.cpp 2004-04-19 18:31:02.459711256 +0200
++++ src/gmpnumbers.cpp.new 2004-04-19 18:35:49.982768353 +0200
+@@ -84,7 +84,7 @@
+ {
+ mpz_t man;
+ mpz_init_set(man,y.man);
+- x.man = man;
++ mpz_init_set(x.man,man);
+ x.exp = y.exp;
+ }
+
+@@ -92,7 +92,7 @@
+ {
+ mpz_t man;
+ mpz_init_set_ui(man,y);
+- x.man = man;
++ mpz_init_set(x.man,man);
+ x.exp = 0;
+ }
+
+@@ -100,7 +100,7 @@
+ {
+ mpz_t man;
+ mpz_init_set(man,mpz);
+- x.man = man;
++ mpz_init_set(x.man,man);
+ x.exp = 0;
+ }
+
+@@ -153,7 +153,7 @@
+ mpz_init_set_str(ma,man,10);
+ free(man);
+ if(neg)mpz_neg(ma,ma);
+- x.man=ma;
++ mpz_init_set(x.man,ma);
+ x.exp=exp;
+ }
+
+@@ -170,7 +170,7 @@
+ free(str);
+ }
+
+-char* getstrGMPNumber(GMPNumber& x, long prec=0)
++char* getstrGMPNumber(GMPNumber& x, long prec)
+ {
+ long rawsize = mpz_sizeinbase(x.man,10);
+ size_t size;
+@@ -241,7 +241,7 @@
+ }
+
+ static LispStringPtr GMPNumberToString(GMPNumber& x, LispHashTable& h,
+- LispInt prec=0)
++ LispInt prec)
+ {
+ char* result = getstrGMPNumber(x, prec);
+ LispStringPtr toreturn = h.LookUp(result);
diff --git a/app-sci/yacas/yacas-1.0.56.ebuild b/app-sci/yacas/yacas-1.0.56.ebuild
new file mode 100644
index 000000000000..8c4b1a549617
--- /dev/null
+++ b/app-sci/yacas/yacas-1.0.56.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-sci/yacas/yacas-1.0.56.ebuild,v 1.1 2004/04/19 16:58:57 phosphan Exp $
+
+inherit eutils
+
+IUSE="gmp"
+
+DESCRIPTION="very powerful general purpose Computer Algebra System"
+HOMEPAGE="http://yacas.sourceforge.net/"
+SRC_URI="http://${PN}.sourceforge.net/backups/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+DEPEND="virtual/glibc
+ >=sys-apps/sed-4
+ gmp? ( >=dev-libs/gmp-4 ) "
+
+src_compile() {
+ local myconf
+ if use gmp ; then
+ epatch ${FILESDIR}/obsolete_cpp.patch
+ myconf="--with-numlib=gmp"
+ fi
+ econf ${myconf} || die "./configure failed"
+ emake || die
+}
+
+src_install() {
+ # a very strange Makefile's, that do not honor standard wrappings :(
+ find -name Makefile |xargs sed -i -e "s:datadir = /usr/share:datadir = ${D}/usr/share:"
+ cd manmake
+ sed -i -e "s:htmldir = :htmldir = ${D}:" -e "s:psdir = :psdir = ${D}:" Makefile
+ cd ${S}
+
+ DESTDIR=${D} make install-strip || die
+
+ dodoc AUTHORS INSTALL NEWS README TODO
+ mv ${D}/usr/share/${PN}/documentation ${D}/usr/share/doc/${PF}/html
+ rmdir ${D}/usr/include/
+}