1 |
markusle 08/04/01 14:45:12 |
2 |
|
3 |
Added: ginac-1.4.1-gcc4.3.patch |
4 |
Log: |
5 |
Fixed compile issues with gcc-4.3 (see bug #215570). |
6 |
(Portage version: 2.1.4.4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 sci-mathematics/ginac/files/ginac-1.4.1-gcc4.3.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/ginac/files/ginac-1.4.1-gcc4.3.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/ginac/files/ginac-1.4.1-gcc4.3.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: ginac-1.4.1-gcc4.3.patch |
15 |
=================================================================== |
16 |
diff -Naur ginac-1.4.1/ginac/numeric.cpp ginac-1.4.1.new/ginac/numeric.cpp |
17 |
--- ginac-1.4.1/ginac/numeric.cpp 2007-09-07 06:53:54.000000000 -0400 |
18 |
+++ ginac-1.4.1.new/ginac/numeric.cpp 2008-04-01 08:51:29.000000000 -0400 |
19 |
@@ -408,7 +408,7 @@ |
20 |
* @sa http://www.ginac.de/pipermail/cln-list/2006-October/000248.html |
21 |
*/ |
22 |
template<> |
23 |
-static inline bool coerce<int, cln::cl_I>(int& dst, const cln::cl_I& arg) |
24 |
+inline bool coerce<int, cln::cl_I>(int& dst, const cln::cl_I& arg) |
25 |
{ |
26 |
static const cln::cl_I cl_max_int = |
27 |
(cln::cl_I)(long)(std::numeric_limits<int>::max()); |
28 |
@@ -422,7 +422,7 @@ |
29 |
} |
30 |
|
31 |
template<> |
32 |
-static inline bool coerce<unsigned int, cln::cl_I>(unsigned int& dst, const cln::cl_I& arg) |
33 |
+inline bool coerce<unsigned int, cln::cl_I>(unsigned int& dst, const cln::cl_I& arg) |
34 |
{ |
35 |
static const cln::cl_I cl_max_uint = |
36 |
(cln::cl_I)(unsigned long)(std::numeric_limits<unsigned int>::max()); |
37 |
|
38 |
|
39 |
|
40 |
-- |
41 |
gentoo-commits@l.g.o mailing list |