From: | "Alfredo Tupone (tupone)" <tupone@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-puzzle/enigma/files: enigma-1.01-gcc47.patch |
Date: | Fri, 28 Sep 2012 12:25:04 |
Message-Id: | 20120928122434.EB15721601@flycatcher.gentoo.org |
1 | tupone 12/09/28 12:24:34 |
2 | |
3 | Added: enigma-1.01-gcc47.patch |
4 | Log: |
5 | Fix build with gcc-4.7. Bug #424133 |
6 | Adding USE dependency on sdl-image. Bug #406857 |
7 | |
8 | (Portage version: 2.1.11.21/cvs/Linux i686) |
9 | |
10 | Revision Changes Path |
11 | 1.1 games-puzzle/enigma/files/enigma-1.01-gcc47.patch |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/enigma/files/enigma-1.01-gcc47.patch?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/enigma/files/enigma-1.01-gcc47.patch?rev=1.1&content-type=text/plain |
15 | |
16 | Index: enigma-1.01-gcc47.patch |
17 | =================================================================== |
18 | --- lib-src/enigma-core/ecl_alist.hh.old 2012-09-28 12:28:01.465223434 +0200 |
19 | +++ lib-src/enigma-core/ecl_alist.hh 2012-09-28 12:28:41.195739039 +0200 |
20 | @@ -61,7 +61,7 @@ |
21 | VAL &operator[] (const key_type &key) { |
22 | iterator i=find(key); |
23 | if (i==this->end()) |
24 | - i=insert(this->end(), make_pair(key, VAL())); |
25 | + i=this->insert(this->end(), make_pair(key, VAL())); |
26 | return i->second; |
27 | } |
28 | }; |