From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-electronics/iverilog/files: iverilog-0.9.1-gcc45.patch iverilog-gcc43.patch iverilog-0.8.2-gcc-4.10.patch |
Date: | Tue, 01 Jun 2010 11:59:42 |
Message-Id: | 20100601115939.15F922C3ED@corvid.gentoo.org |
1 | ssuominen 10/06/01 11:59:38 |
2 | |
3 | Added: iverilog-0.9.1-gcc45.patch |
4 | Removed: iverilog-gcc43.patch iverilog-0.8.2-gcc-4.10.patch |
5 | Log: |
6 | Fix building with GCC 4.5+ wrt #319361 by Kacper Kowalik. |
7 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sci-electronics/iverilog/files/iverilog-0.9.1-gcc45.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/iverilog/files/iverilog-0.9.1-gcc45.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/iverilog/files/iverilog-0.9.1-gcc45.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: iverilog-0.9.1-gcc45.patch |
16 | =================================================================== |
17 | Fixing build with gcc 4.5 |
18 | |
19 | https://bugs.gentoo.org/show_bug.cgi?id=319361 |
20 | |
21 | --- pform_disciplines.cc |
22 | +++ pform_disciplines.cc |
23 | @@ -27,8 +27,8 @@ |
24 | map<perm_string,ivl_discipline_t> disciplines; |
25 | map<perm_string,ivl_nature_t> access_function_nature; |
26 | |
27 | -static perm_string nature_name = perm_string::perm_string(); |
28 | -static perm_string nature_access = perm_string::perm_string(); |
29 | +static perm_string nature_name = perm_string(); |
30 | +static perm_string nature_access = perm_string(); |
31 | |
32 | void pform_start_nature(const char*name) |
33 | { |
34 | @@ -82,8 +82,8 @@ |
35 | // expressions that use the access function can find it. |
36 | access_function_nature[nature_access] = tmp; |
37 | |
38 | - nature_name = perm_string::perm_string(); |
39 | - nature_access = perm_string::perm_string(); |
40 | + nature_name = perm_string(); |
41 | + nature_access = perm_string(); |
42 | } |
43 | |
44 | |
45 | @@ -171,7 +171,7 @@ |
46 | FILE_NAME(tmp, loc); |
47 | |
48 | /* Clear the static variables for the next item. */ |
49 | - discipline_name = perm_string::perm_string(); |
50 | + discipline_name = perm_string(); |
51 | discipline_domain = IVL_DIS_NONE; |
52 | discipline_potential = 0; |
53 | discipline_flow = 0; |