1 |
ssuominen 10/05/06 10:55:03 |
2 |
|
3 |
Added: njam-1.25-gcc45.patch |
4 |
Log: |
5 |
Fix building with GCC 4.5+ wrt #318411 by Kacper Kowalik. |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 games-arcade/njam/files/njam-1.25-gcc45.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/njam/files/njam-1.25-gcc45.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-arcade/njam/files/njam-1.25-gcc45.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: njam-1.25-gcc45.patch |
15 |
=================================================================== |
16 |
Fix buiding with gcc 4.5 |
17 |
|
18 |
http://bugs.gentoo.org/show_bug.cgi?id=318411 |
19 |
|
20 |
--- src/njamedit.cpp |
21 |
+++ src/njamedit.cpp |
22 |
@@ -114,7 +114,7 @@ |
23 |
key = SDLK_a; |
24 |
else if (CheckForSave()) |
25 |
{ |
26 |
- LogFile::LogFile("Saving maps"); |
27 |
+ LogFile("Saving maps"); |
28 |
m_Maps.Save(filename); |
29 |
level_type_was = level_type; |
30 |
changed = false; |
31 |
@@ -131,7 +131,7 @@ |
32 |
char types[2][5] = { "COOP", "DUEL" }; |
33 |
sprintf(buf, "levels/%s.%s\0", filename, types[level_type]); |
34 |
sprintf(filename, "%s\0", buf); |
35 |
- LogFile::LogFile("Saving maps"); |
36 |
+ LogFile("Saving maps"); |
37 |
m_Maps.Save(filename); |
38 |
level_type_was = level_type; |
39 |
changed = false; |