summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2006-03-15 15:18:30 +0000
committerMarkus Dittrich <markusle@gentoo.org>2006-03-15 15:18:30 +0000
commit5e2fb7e1dcbd5da517be847d5959303633eb87e0 (patch)
treef0230fab46783f453d20c2af4b348444b6085dc7 /sci-mathematics/ginac
parentadded ~amd64 (diff)
downloadgentoo-2-5e2fb7e1dcbd5da517be847d5959303633eb87e0.tar.gz
gentoo-2-5e2fb7e1dcbd5da517be847d5959303633eb87e0.tar.bz2
gentoo-2-5e2fb7e1dcbd5da517be847d5959303633eb87e0.zip
Version bump. Also added small patch to allow compilation with gcc-4.1. This fixes bug #125184.
(Portage version: 2.1_pre6-r1)
Diffstat (limited to 'sci-mathematics/ginac')
-rw-r--r--sci-mathematics/ginac/ChangeLog8
-rw-r--r--sci-mathematics/ginac/Manifest21
-rw-r--r--sci-mathematics/ginac/files/digest-ginac-1.3.33
-rwxr-xr-xsci-mathematics/ginac/files/ginac-1.3.3-gcc4.1-gentoo.patch15
-rw-r--r--sci-mathematics/ginac/ginac-1.3.3.ebuild27
5 files changed, 70 insertions, 4 deletions
diff --git a/sci-mathematics/ginac/ChangeLog b/sci-mathematics/ginac/ChangeLog
index 448e218849db..5ae3a7ae480a 100644
--- a/sci-mathematics/ginac/ChangeLog
+++ b/sci-mathematics/ginac/ChangeLog
@@ -1,6 +1,10 @@
# 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:
diff --git a/sci-mathematics/ginac/Manifest b/sci-mathematics/ginac/Manifest
index 49853d5b23ef..4ccdf56da7de 100644
--- a/sci-mathematics/ginac/Manifest
+++ b/sci-mathematics/ginac/Manifest
@@ -1,4 +1,21 @@
+MD5 df7f6834e1c4b86a1ed8de449f1be319 ChangeLog 2268
+RMD160 db815a8b67be9885aa99ead8469da8b4eabf5187 ChangeLog 2268
+SHA256 91f48b9f9e70beeb4eaa4eaefcc7ea96e051c84c0e4c9b079d2248b75961a9b8 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 a160609c3d072a988d49aea3f1ecc468 ginac-1.3.3.ebuild 634
+RMD160 08996a5bf2e0dc72513b77c63841bdae761fc1d4 ginac-1.3.3.ebuild 634
+SHA256 efb109b0d1a709091034b591e9f2f4c47699fdc2868ecc9b631eb21bc8c880ba 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
diff --git a/sci-mathematics/ginac/files/digest-ginac-1.3.3 b/sci-mathematics/ginac/files/digest-ginac-1.3.3
new file mode 100644
index 000000000000..88609d35315e
--- /dev/null
+++ b/sci-mathematics/ginac/files/digest-ginac-1.3.3
@@ -0,0 +1,3 @@
+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
diff --git a/sci-mathematics/ginac/files/ginac-1.3.3-gcc4.1-gentoo.patch b/sci-mathematics/ginac/files/ginac-1.3.3-gcc4.1-gentoo.patch
new file mode 100755
index 000000000000..cff58b059888
--- /dev/null
+++ b/sci-mathematics/ginac/files/ginac-1.3.3-gcc4.1-gentoo.patch
@@ -0,0 +1,15 @@
+# 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)
diff --git a/sci-mathematics/ginac/ginac-1.3.3.ebuild b/sci-mathematics/ginac/ginac-1.3.3.ebuild
new file mode 100644
index 000000000000..cd6b9272704b
--- /dev/null
+++ b/sci-mathematics/ginac/ginac-1.3.3.ebuild
@@ -0,0 +1,27 @@
+# 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
+}