public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-puzzle/xye/files: xye-0.12.0-gcc47.patch
@ 2012-10-17  8:05 Alfredo Tupone (tupone)
  0 siblings, 0 replies; 2+ messages in thread
From: Alfredo Tupone (tupone) @ 2012-10-17  8:05 UTC (permalink / raw
  To: gentoo-commits

tupone      12/10/17 08:05:17

  Added:                xye-0.12.0-gcc47.patch
  Log:
  Fix build with gcc-4.7 Bug #422555
  
  (Portage version: 2.1.11.28/cvs/Linux i686, signed Manifest commit with key 0145142D)

Revision  Changes    Path
1.1                  games-puzzle/xye/files/xye-0.12.0-gcc47.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/xye/files/xye-0.12.0-gcc47.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/xye/files/xye-0.12.0-gcc47.patch?rev=1.1&content-type=text/plain

Index: xye-0.12.0-gcc47.patch
===================================================================
--- src/editorsave.cpp.old	2012-10-17 09:47:46.413566575 +0200
+++ src/editorsave.cpp	2012-10-17 09:48:17.314366174 +0200
@@ -642,7 +642,8 @@
     file << "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n";
     file << "<pack>\n<name>"<< stripXML(editorboard::filetitle) <<"</name><author>"<< stripXML(editorboard::author) <<"</author>\n<description>"<< stripXML(editorboard::description) <<"</description>\n";
     
-    for (int i=first; i<editorboard::CountLevels(); i++) {
+    int i;
+    for (i=first; i<editorboard::CountLevels(); i++) {
         editorboard::LoadLevelNumber(board, i);
         file << "\n<level>\n";
         file << "<title>"<< stripXML(board->title) <<"</title>\n";
--- src/gen.cpp.old	2012-10-17 09:41:40.825540267 +0200
+++ src/gen.cpp	2012-10-17 09:41:57.087387319 +0200
@@ -21,6 +21,7 @@
 #include<cstdio>
 #include<iostream>
 #include<fstream>
+#include <unistd.h>
 
 const float F_RAND_MAX = (float)(RAND_MAX);
 





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in games-puzzle/xye/files: xye-0.12.0-gcc47.patch
@ 2013-08-14 21:53 Michael Sterrett (mr_bones_)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Sterrett (mr_bones_) @ 2013-08-14 21:53 UTC (permalink / raw
  To: gentoo-commits

mr_bones_    13/08/14 21:53:31

  Removed:              xye-0.12.0-gcc47.patch
  Log:
  old
  
  (Portage version: 2.1.12.2/cvs/Linux x86_64, unsigned Manifest commit)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-14 21:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-14 21:53 [gentoo-commits] gentoo-x86 commit in games-puzzle/xye/files: xye-0.12.0-gcc47.patch Michael Sterrett (mr_bones_)
  -- strict thread matches above, loose matches on Subject: below --
2012-10-17  8:05 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