From: | "Kacper Kowalik (xarthisius)" <xarthisius@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-mathematics/scilab/files: scilab-4.1.2-gcc45.patch |
Date: | Thu, 24 Jun 2010 16:09:18 |
Message-Id: | 20100624160916.908F62CF4C@corvid.gentoo.org |
1 | xarthisius 10/06/24 16:09:16 |
2 | |
3 | Added: scilab-4.1.2-gcc45.patch |
4 | Log: |
5 | Fix build with GCC-4.5 wrt bug 321209. Thanks Diego for reporting. |
6 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sci-mathematics/scilab/files/scilab-4.1.2-gcc45.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/scilab/files/scilab-4.1.2-gcc45.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/scilab/files/scilab-4.1.2-gcc45.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: scilab-4.1.2-gcc45.patch |
15 | =================================================================== |
16 | Fixing build with gcc 4.5. |
17 | |
18 | http://bugs.gentoo.org/show_bug.cgi?id=321209 |
19 | |
20 | --- routines/system/msgs.f |
21 | +++ routines/system/msgs.f |
22 | @@ -82,7 +82,7 @@ |
23 | call showstack() |
24 | goto 9999 |
25 | 109 continue |
26 | - write(buf(1:5),'(1pI5)') ierr |
27 | + write(buf(1:5),'(I5)') ierr |
28 | call basout(io, wte, 'rank defficient. rank = '//buf(1:5)) |
29 | goto 9999 |
30 | 110 continue |
31 | --- routines/system/Makefile.in |
32 | +++ routines/system/Makefile.in |
33 | @@ -41,6 +41,9 @@ |
34 | getsym.o: getsym.f |
35 | $(FC) @FC_OPTIONS2@ -c getsym.f -o getsym.o |
36 | |
37 | +algebre.o: algebre.f |
38 | + $(FC) $(FC_OPTIONS) -fno-range-check -c $< -o $@ |
39 | + |
40 | allops.o: ../stack.h |
41 | bexec.o: ../stack.h |
42 | clause.o: ../stack.h |