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
commitccdbd981203fa854118e1d5133beb472e02f5240 (patch)
tree12705b3302a249acd272c48c0532e57eb94a217b /sci-mathematics/ginac/files
parentadded ~amd64 (diff)
downloadhistorical-ccdbd981203fa854118e1d5133beb472e02f5240.tar.gz
historical-ccdbd981203fa854118e1d5133beb472e02f5240.tar.bz2
historical-ccdbd981203fa854118e1d5133beb472e02f5240.zip
Version bump. Also added small patch to allow compilation with gcc-4.1. This fixes bug #125184.
Package-Manager: portage-2.1_pre6-r1
Diffstat (limited to 'sci-mathematics/ginac/files')
-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
2 files changed, 18 insertions, 0 deletions
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)