diff options
author | Markus Dittrich <markusle@gentoo.org> | 2008-04-01 14:45:12 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2008-04-01 14:45:12 +0000 |
commit | 37200f1821a0a36db9b81fec32870bc0ec91960e (patch) | |
tree | baa95a79896d60ccca615f971cb736a6fc2fe33d /sci-mathematics/ginac/files | |
parent | introduced 2.6.23+ compatibility as per bug #208059. Patches by Jouni Kosonen... (diff) | |
download | gentoo-2-37200f1821a0a36db9b81fec32870bc0ec91960e.tar.gz gentoo-2-37200f1821a0a36db9b81fec32870bc0ec91960e.tar.bz2 gentoo-2-37200f1821a0a36db9b81fec32870bc0ec91960e.zip |
Fixed compile issues with gcc-4.3 (see bug #215570).
(Portage version: 2.1.4.4)
Diffstat (limited to 'sci-mathematics/ginac/files')
-rw-r--r-- | sci-mathematics/ginac/files/ginac-1.4.1-gcc4.3.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sci-mathematics/ginac/files/ginac-1.4.1-gcc4.3.patch b/sci-mathematics/ginac/files/ginac-1.4.1-gcc4.3.patch new file mode 100644 index 000000000000..93d910dbbd05 --- /dev/null +++ b/sci-mathematics/ginac/files/ginac-1.4.1-gcc4.3.patch @@ -0,0 +1,21 @@ +diff -Naur ginac-1.4.1/ginac/numeric.cpp ginac-1.4.1.new/ginac/numeric.cpp +--- ginac-1.4.1/ginac/numeric.cpp 2007-09-07 06:53:54.000000000 -0400 ++++ ginac-1.4.1.new/ginac/numeric.cpp 2008-04-01 08:51:29.000000000 -0400 +@@ -408,7 +408,7 @@ + * @sa http://www.ginac.de/pipermail/cln-list/2006-October/000248.html + */ + template<> +-static inline bool coerce<int, cln::cl_I>(int& dst, const cln::cl_I& arg) ++inline bool coerce<int, cln::cl_I>(int& dst, const cln::cl_I& arg) + { + static const cln::cl_I cl_max_int = + (cln::cl_I)(long)(std::numeric_limits<int>::max()); +@@ -422,7 +422,7 @@ + } + + template<> +-static inline bool coerce<unsigned int, cln::cl_I>(unsigned int& dst, const cln::cl_I& arg) ++inline bool coerce<unsigned int, cln::cl_I>(unsigned int& dst, const cln::cl_I& arg) + { + static const cln::cl_I cl_max_uint = + (cln::cl_I)(unsigned long)(std::numeric_limits<unsigned int>::max()); |