mr_bones_    15/01/23 21:44:21

  Modified:             brainparty-0.61-savegame.patch
  Added:                brainparty-0.61-gcc49.patch
  Log:
  EAPI=5; add patch from Martin Väth to fix compile with gcc49 (bug #537338)
  
  (Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.2                  
games-puzzle/brainparty/files/brainparty-0.61-savegame.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/brainparty/files/brainparty-0.61-savegame.patch?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/brainparty/files/brainparty-0.61-savegame.patch?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-puzzle/brainparty/files/brainparty-0.61-savegame.patch?r1=1.1&r2=1.2

Index: brainparty-0.61-savegame.patch
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/games-puzzle/brainparty/files/brainparty-0.61-savegame.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- brainparty-0.61-savegame.patch      28 Nov 2010 19:47:03 -0000      1.1
+++ brainparty-0.61-savegame.patch      23 Jan 2015 21:44:21 -0000      1.2
@@ -1,5 +1,5 @@
---- a/BPGame.cpp       2010-03-11 00:15:34.000000000 +0000
-+++ b/BPGame.cpp       2010-04-02 04:17:02.640735675 +0100
+--- a/BPGame.cpp
++++ b/BPGame.cpp
 @@ -1294,8 +1294,10 @@ void BPGame::LoadSettings() {
        Secret1 = Secret2 = Secret3 = Secret4 = false;
        NumUnlockedGames = 0;



1.1                  games-puzzle/brainparty/files/brainparty-0.61-gcc49.patch

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

Index: brainparty-0.61-gcc49.patch
===================================================================
--- a/BPList.h
+++ a/BPList.h
@@ -138,7 +138,7 @@
        ~BPPList();
        void Add(T item);
        bool Contains(T item);
-       void Clear(bool safe_delete);
+       void Clear(bool safe_delete = true);
        int IndexOf(T item);
        void Insert(int pos, T item);
        void Remove(T item);
@@ -171,7 +171,7 @@
 }
 
 template <class T>
-void BPPList<T>::Clear(bool safe_delete = true) {
+void BPPList<T>::Clear(bool safe_delete) {
        if (safe_delete) {
                for (int i = data.size() - 1; i >= 0; --i) {
                        T item = data[i];




Reply via email to