* [gentoo-commits] gentoo-x86 commit in games-puzzle/enigma/files: enigma-1.01-gcc44.patch
@ 2009-05-22 8:52 Alfredo Tupone (tupone)
0 siblings, 0 replies; 2+ messages in thread
From: Alfredo Tupone (tupone) @ 2009-05-22 8:52 UTC (permalink / raw
To: gentoo-commits
tupone 09/05/22 08:52:18
Added: enigma-1.01-gcc44.patch
Log:
Fix build with gcc-4.4.0 Bug #269275
(Portage version: 2.1.6.11/cvs/Linux x86_64)
Revision Changes Path
1.1 games-puzzle/enigma/files/enigma-1.01-gcc44.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/enigma/files/enigma-1.01-gcc44.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/enigma/files/enigma-1.01-gcc44.patch?rev=1.1&content-type=text/plain
Index: enigma-1.01-gcc44.patch
===================================================================
--- src/PropertyManager.cc.old 2009-05-22 10:50:04.000000000 +0200
+++ src/PropertyManager.cc 2009-05-22 10:50:30.000000000 +0200
@@ -28,6 +28,7 @@
#include "XMLtoLocal.hh"
#include "XMLtoUtf8.hh"
#include "ecl_system.hh"
+#include <cstdio>
#include <iostream>
#include <xercesc/dom/DOM.hpp>
#include <xercesc/util/XMLDouble.hpp>
--- src/StateManager.cc.old 2009-05-22 10:52:13.000000000 +0200
+++ src/StateManager.cc 2009-05-22 10:52:38.000000000 +0200
@@ -31,6 +31,7 @@
#include "XMLtoUtf8.hh"
#include "ecl_system.hh"
#include "gui/ErrorMenu.hh"
+#include <cstdio>
#include <iostream>
#include <sstream>
#include <xercesc/dom/DOM.hpp>
--- src/gui/LevelPackComposer.cc.old 2009-05-22 10:53:46.000000000 +0200
+++ src/gui/LevelPackComposer.cc 2009-05-22 10:54:24.000000000 +0200
@@ -28,6 +28,7 @@
#include "lev/Index.hh"
#include "main.hh"
+#include <cstdio>
using namespace ecl;
using namespace std;
--- src/lev/Index.cc.old 2009-05-22 10:55:16.000000000 +0200
+++ src/lev/Index.cc 2009-05-22 10:55:41.000000000 +0200
@@ -26,6 +26,7 @@
#include "StateManager.hh"
#include "lev/ScoreManager.hh"
#include "lev/RatingManager.hh"
+#include <cstdio>
namespace enigma { namespace lev {
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in games-puzzle/enigma/files: enigma-1.01-gcc44.patch
@ 2009-05-28 7:54 Alfredo Tupone (tupone)
0 siblings, 0 replies; 2+ messages in thread
From: Alfredo Tupone (tupone) @ 2009-05-28 7:54 UTC (permalink / raw
To: gentoo-commits
tupone 09/05/28 07:54:49
Modified: enigma-1.01-gcc44.patch
Log:
Fix build with gcc-4.4.0 and glibc-2.10.1 Bug #271464
(Portage version: 2.1.6.11/cvs/Linux x86_64)
Revision Changes Path
1.2 games-puzzle/enigma/files/enigma-1.01-gcc44.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/enigma/files/enigma-1.01-gcc44.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/enigma/files/enigma-1.01-gcc44.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-puzzle/enigma/files/enigma-1.01-gcc44.patch?r1=1.1&r2=1.2
Index: enigma-1.01-gcc44.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-puzzle/enigma/files/enigma-1.01-gcc44.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- enigma-1.01-gcc44.patch 22 May 2009 08:52:18 -0000 1.1
+++ enigma-1.01-gcc44.patch 28 May 2009 07:54:49 -0000 1.2
@@ -38,3 +38,14 @@
namespace enigma { namespace lev {
+--- src/lua.cc.old 2009-05-28 09:43:36.000000000 +0200
++++ src/lua.cc 2009-05-28 09:44:22.000000000 +0200
+@@ -574,7 +574,7 @@
+ int y = round_down<int>(lua_tonumber(L, 2));
+ const char *dir = lua_tostring(L,3);
+ const char *allowed = "wsen";
+- char *found = strchr(allowed, dir[0]);
++ const char *found = strchr(allowed, dir[0]);
+
+ if (found && found[0])
+ world::AddScramble(GridPos(x,y), enigma::Direction(found-allowed));
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-28 7:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-22 8:52 [gentoo-commits] gentoo-x86 commit in games-puzzle/enigma/files: enigma-1.01-gcc44.patch Alfredo Tupone (tupone)
-- strict thread matches above, loose matches on Subject: below --
2009-05-28 7:54 Alfredo Tupone (tupone)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox