diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2010-05-25 16:48:12 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2010-05-25 16:48:12 +0000 |
commit | e55e505261b908c67ed2d8534357f30cedb0cdef (patch) | |
tree | 63f0e46fbe0e9a019265b31eaf816651b5df0623 /sci-mathematics/ginac/files | |
parent | Use Python 2 (bug #311683). (diff) | |
download | gentoo-2-e55e505261b908c67ed2d8534357f30cedb0cdef.tar.gz gentoo-2-e55e505261b908c67ed2d8534357f30cedb0cdef.tar.bz2 gentoo-2-e55e505261b908c67ed2d8534357f30cedb0cdef.zip |
Fix build with GCC-4.5 wrt bug 321411. Thanks Diego for report
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics/ginac/files')
-rw-r--r-- | sci-mathematics/ginac/files/ginac-1.5.7-gcc45.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sci-mathematics/ginac/files/ginac-1.5.7-gcc45.patch b/sci-mathematics/ginac/files/ginac-1.5.7-gcc45.patch new file mode 100644 index 000000000000..df0a61d79f3c --- /dev/null +++ b/sci-mathematics/ginac/files/ginac-1.5.7-gcc45.patch @@ -0,0 +1,16 @@ +Fixing build with gcc 4.5. +Upstream fix e22d2ed95925d870876c4fcd922ea2a9cfdbdab1 + +http://bugs.gentoo.org/show_bug.cgi?id=321411 + +--- ginac/function.pl ++++ ginac/function.pl +@@ -1314,7 +1314,7 @@ + + // No derivative defined? Then return abstract derivative object + if (opt.power_f == NULL) +- return (new power::power(*this, power_param))->setflag(status_flags::dynallocated | ++ return (new GiNaC::power(*this, power_param))->setflag(status_flags::dynallocated | + status_flags::evaluated); + + current_serial = serial; |