1 |
bicatali 12/06/28 04:57:27 |
2 |
|
3 |
Added: pari-2.5.1-gcc47.patch |
4 |
Log: |
5 |
Fixed linear solving with gcc-4.7, bug #423617 |
6 |
|
7 |
(Portage version: 2.1.11.1/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sci-mathematics/pari/files/pari-2.5.1-gcc47.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.1-gcc47.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/pari/files/pari-2.5.1-gcc47.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: pari-2.5.1-gcc47.patch |
16 |
=================================================================== |
17 |
Index: pari-2.5.1/src/basemath/bibli2.c |
18 |
=================================================================== |
19 |
--- pari-2.5.1.orig/src/basemath/bibli2.c 2012-01-26 17:26:13.000000000 +0100 |
20 |
+++ pari-2.5.1/src/basemath/bibli2.c 2012-06-04 10:08:41.000000000 +0200 |
21 |
@@ -1394,12 +1394,12 @@ |
22 |
int (*CMP)(void*,GEN,GEN); |
23 |
int (*cmp)(GEN,GEN) = (flag & cmp_LEX)? &lexcmp: &gcmp; |
24 |
void *E; |
25 |
+ struct veccmp_s v; |
26 |
|
27 |
if (flag < 0 || flag > (cmp_REV|cmp_LEX|cmp_IND|cmp_UNIQ)) |
28 |
pari_err(flagerr,"vecsort"); |
29 |
if (k) { |
30 |
long i, j, l, lk, tx, lx; |
31 |
- struct veccmp_s v; |
32 |
GEN y; |
33 |
|
34 |
/* cf init_sort */ |