From: | "Tristan Heaven (nyhm)" <nyhm@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-puzzle/candycrisis/files: candycrisis-1.0-gcc44.patch |
Date: | Tue, 28 Jul 2009 15:18:31 |
Message-Id: | E1MVoRh-0003yU-M6@stork.gentoo.org |
1 | nyhm 09/07/28 15:18:29 |
2 | |
3 | Added: candycrisis-1.0-gcc44.patch |
4 | Log: |
5 | Fix building with gcc-4.4, bug #273575 |
6 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 games-puzzle/candycrisis/files/candycrisis-1.0-gcc44.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/candycrisis/files/candycrisis-1.0-gcc44.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/candycrisis/files/candycrisis-1.0-gcc44.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: candycrisis-1.0-gcc44.patch |
15 | =================================================================== |
16 | --- CandyCrisis/Source/RegAlgorithm.cpp |
17 | +++ CandyCrisis/Source/RegAlgorithm.cpp |
18 | @@ -184,7 +184,7 @@ |
19 | { |
20 | // Convert the key (a jumble of letters like BFGJ-TVFF) into a 32-bit |
21 | // hex value. |
22 | - char* unscrambled[8]; |
23 | + const char* unscrambled[8]; |
24 | int index; |
25 | unsigned int value = 0; |