From: | "Thomas Kahle (tomka)" <tomka@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-mathematics/gfan/files: gfan-0.5-double-declare-fix.patch |
Date: | Sat, 30 Jun 2012 02:06:55 |
Message-Id: | 20120630020645.EEDF12004C@flycatcher.gentoo.org |
1 | tomka 12/06/30 02:06:45 |
2 | |
3 | Added: gfan-0.5-double-declare-fix.patch |
4 | Log: |
5 | Fix double declare (for gcc-4.7) in bug 424099 |
6 | |
7 | (Portage version: 2.1.11.3/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sci-mathematics/gfan/files/gfan-0.5-double-declare-fix.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gfan/files/gfan-0.5-double-declare-fix.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/gfan/files/gfan-0.5-double-declare-fix.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: gfan-0.5-double-declare-fix.patch |
16 | =================================================================== |
17 | diff -U 3 -dHrN gfan0.5/app_minkowski.cpp gfan0.5-new/app_minkowski.cpp |
18 | --- gfan0.5/app_minkowski.cpp 2011-01-23 12:21:47.000000000 -0500 |
19 | +++ gfan0.5-new/app_minkowski.cpp 2012-06-29 15:23:48.604280985 -0400 |
20 | @@ -160,7 +160,7 @@ |
21 | //log0 fprintf(Stderr,"4"); |
22 | f.insert(c); |
23 | //log0 fprintf(Stderr,"5\n"); |
24 | - static int i; |
25 | + // static int i; |
26 | //log0 fprintf(Stderr,"inserted:%i\n",++i); |
27 | } |
28 | log1 fprintf(Stderr,"Resolving symmetries.\n"); |