diff options
Diffstat (limited to 'sci-mathematics/ginac/files/ginac-1.3.3-gcc4.1-gentoo.patch')
-rwxr-xr-x | sci-mathematics/ginac/files/ginac-1.3.3-gcc4.1-gentoo.patch | 15 |
1 files changed, 15 insertions, 0 deletions
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) |