summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-04-01 14:45:12 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-04-01 14:45:12 +0000
commit45697c615488d8f28331143e1d5d0cf516ecc95c (patch)
tree2220ce9f427b386dbf5e8e9203d453ff1a6b8153 /sci-mathematics/ginac/files
parentintroduced 2.6.23+ compatibility as per bug #208059. Patches by Jouni Kosonen... (diff)
downloadhistorical-45697c615488d8f28331143e1d5d0cf516ecc95c.tar.gz
historical-45697c615488d8f28331143e1d5d0cf516ecc95c.tar.bz2
historical-45697c615488d8f28331143e1d5d0cf516ecc95c.zip
Fixed compile issues with gcc-4.3 (see bug #215570).
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sci-mathematics/ginac/files')
-rw-r--r--sci-mathematics/ginac/files/ginac-1.4.1-gcc4.3.patch21
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());