# ChangeLog for sci-mathematics/ginac
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ChangeLog,v 1.6 2005/06/26 01:44:36 ribosome Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ChangeLog,v 1.7 2006/03/15 15:18:30 markusle Exp $
+
+ 15 Mar 2006; Markus Dittrich <markusle@gentoo.org> ChangeLog:
+ Version bump. Also added small patch to allow compilation
+ with gcc-4.1. This fixes bug #125184.
26 Jun 2005; Olivier Fisette <ribosome@gentoo.org> -ginac-1.1.3.ebuild,
-ginac-1.1.6.ebuild:
+MD5 b7f3fadee5e888aa931e4c14cced6b21 ChangeLog 2268
+RMD160 99a0182572cf25e97527158c3e655a368985486a ChangeLog 2268
+SHA256 6c877c0abd5605cec68629b2bff764a1d0093aee569229bae20100cfe84550bb ChangeLog 2268
+MD5 f4742264ea978194ec2b9c9c196d4e8f files/digest-ginac-1.2.3 64
+RMD160 9e8b652e2861e25274ed9d8a2de9f6e8beb5b7c9 files/digest-ginac-1.2.3 64
+SHA256 c5e6c69cc92eb36ee2097b8a829966277177de33b7246bfecc6c953000f3138e files/digest-ginac-1.2.3 64
+MD5 99916ae762b0575a5d0ca3a8c6744b88 files/digest-ginac-1.3.3 238
+RMD160 513d9cbe66380cd4b8ac47d49c0c979ea9a3b8e9 files/digest-ginac-1.3.3 238
+SHA256 68ae79a11807cc87022512884738e00aa05685738540f6712527bf61ee5e9cf8 files/digest-ginac-1.3.3 238
+MD5 f145f9afc128cbe5d129b6aca5ed31f9 files/ginac-1.3.3-gcc4.1-gentoo.patch 767
+RMD160 5bf8eb6406e19fca7bcf3bbb1287b3565e308f54 files/ginac-1.3.3-gcc4.1-gentoo.patch 767
+SHA256 fd56943368a97bdbf9143f7ad9da8399b7be0fa81372d4486c2423ad543a01ed files/ginac-1.3.3-gcc4.1-gentoo.patch 767
MD5 047751a8cc0ccd9fbbfd3fc8bb572520 ginac-1.2.3.ebuild 703
-MD5 8cac7a5f8335be0547bd2780fb1f32f0 ChangeLog 2103
+RMD160 f677880ce9df4b8f60b233b788483ee7b3fd88e1 ginac-1.2.3.ebuild 703
+SHA256 0f7fa54479a1e5ec139351da9d0ec7c7a58d3a1fd11f74d10347bf037e8cea74 ginac-1.2.3.ebuild 703
+MD5 54201d46642c7abef0f16be1e127fe7d ginac-1.3.3.ebuild 634
+RMD160 b53b246d1cdb181d64fca7674e871bb389198bdb ginac-1.3.3.ebuild 634
+SHA256 35c405e2ae0551f95b8a163a7da2bcf5713fe9a6e4857a681763dc020c7ff65c ginac-1.3.3.ebuild 634
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
-MD5 f4742264ea978194ec2b9c9c196d4e8f files/digest-ginac-1.2.3 64
+RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156
+SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 metadata.xml 156
--- /dev/null
+MD5 6278b954d17013a4c027e4d52a4bd8b4 ginac-1.3.3.tar.bz2 775173
+RMD160 b46747041dd84d233d2c61fa189d1ef6b3c66f10 ginac-1.3.3.tar.bz2 775173
+SHA256 9f3adfef06a23ded66b868033ffacea7af8b6555209c45969d90255636a3babe ginac-1.3.3.tar.bz2 775173
--- /dev/null
+# patch from CVS head to enable compilation with gcc-4.1.x
+
+diff -Naur ginac-1.3.3/ginac/indexed.cpp ginac-1.3.3-new/ginac/indexed.cpp
+--- ginac-1.3.3/ginac/indexed.cpp 2005-05-19 09:24:35.000000000 -0500
++++ ginac-1.3.3-new/ginac/indexed.cpp 2006-03-15 08:32:35.000000000 -0600
+@@ -704,6 +704,9 @@
+ }
+ }
+
++// Forward declaration needed in absence of friend injection, C.f. [namespace.memdef]:
++ex simplify_indexed(const ex & e, exvector & free_indices, exvector & dummy_indices, const scalar_products & sp);
++
+ /** Simplify product of indexed expressions (commutative, noncommutative and
+ * simple squares), return list of free indices. */
+ ex simplify_indexed_product(const ex & e, exvector & free_indices, exvector & dummy_indices, const scalar_products & sp)
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/ginac/ginac-1.3.3.ebuild,v 1.1 2006/03/15 15:18:30 markusle Exp $
+
+inherit eutils
+
+DESCRIPTION="GiNaC : a free CAS (computer algebra system)"
+SRC_URI="ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/${P}.tar.bz2"
+HOMEPAGE="http://www.ginac.de/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~ppc"
+IUSE=""
+
+DEPEND="sci-libs/cln"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/ginac-1.3.3-gcc4.1-gentoo.patch
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+}