[lordsawar] 29/133: patch against current version

Markus Koschany apo-guest at moszumanska.debian.org
Thu Jul 2 17:37:54 UTC 2015


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch master
in repository lordsawar.

commit 98545438980f211ad667fac543f9833d7c34898d
Author: Peter de Wachter <pdewacht at gmail.com>
Date:   Sun Apr 6 12:57:48 2008 +0000

    patch against current version
---
 debian/patches/ftbfs_gcc-4.3_fix.diff | 112 +++++++++++-----------------------
 1 file changed, 34 insertions(+), 78 deletions(-)

diff --git a/debian/patches/ftbfs_gcc-4.3_fix.diff b/debian/patches/ftbfs_gcc-4.3_fix.diff
index c3eeb9c..0135220 100644
--- a/debian/patches/ftbfs_gcc-4.3_fix.diff
+++ b/debian/patches/ftbfs_gcc-4.3_fix.diff
@@ -1,6 +1,6 @@
 diff -rN -u old-lordsawar-0.0.8/m4/ggz.m4 new-lordsawar-0.0.8/m4/ggz.m4
---- old-lordsawar-0.0.8/m4/ggz.m4	2008-04-06 12:44:14.000000000 +0200
-+++ new-lordsawar-0.0.8/m4/ggz.m4	2008-04-06 12:44:15.000000000 +0200
+--- old-lordsawar-0.0.8/m4/ggz.m4	2008-04-06 14:46:22.000000000 +0200
++++ new-lordsawar-0.0.8/m4/ggz.m4	2008-04-06 14:46:22.000000000 +0200
 @@ -136,7 +136,7 @@
    ac_ggz_stdetc="$ac_ggz_stdetc/ggzd /usr/local/etc/ggzd /etc/ggzd"
  fi
@@ -47,9 +47,9 @@ diff -rN -u old-lordsawar-0.0.8/m4/ggz.m4 new-lordsawar-0.0.8/m4/ggz.m4
  
    AC_SUBST(GGZDMOD_INCLUDES)
 diff -rN -u old-lordsawar-0.0.8/src/editor/editorbigmap.cpp new-lordsawar-0.0.8/src/editor/editorbigmap.cpp
---- old-lordsawar-0.0.8/src/editor/editorbigmap.cpp	2008-04-06 12:44:15.000000000 +0200
-+++ new-lordsawar-0.0.8/src/editor/editorbigmap.cpp	2008-04-06 12:44:15.000000000 +0200
-@@ -673,8 +673,8 @@
+--- old-lordsawar-0.0.8/src/editor/editorbigmap.cpp	2008-04-06 14:46:22.000000000 +0200
++++ new-lordsawar-0.0.8/src/editor/editorbigmap.cpp	2008-04-06 14:46:22.000000000 +0200
+@@ -635,8 +635,8 @@
  		for (int x = tile.x - 1; x <= tile.x + 1; ++x)
  		    for (int y = tile.y - 1; y <= tile.y + 1; ++y)
  		    {
@@ -60,10 +60,21 @@ diff -rN -u old-lordsawar-0.0.8/src/editor/editorbigmap.cpp new-lordsawar-0.0.8/
  			    continue;
  
  			Vector<int> pos(x, y);
-diff -rN -u old-lordsawar-0.0.8/src/game.cpp new-lordsawar-0.0.8/src/game.cpp
---- old-lordsawar-0.0.8/src/game.cpp	2008-04-06 12:44:15.000000000 +0200
-+++ new-lordsawar-0.0.8/src/game.cpp	2008-04-06 12:44:15.000000000 +0200
-@@ -934,7 +934,7 @@
+diff -rN -u old-lordsawar-0.0.8/src/editor/Makefile.in new-lordsawar-0.0.8/src/editor/Makefile.in
+--- old-lordsawar-0.0.8/src/game.cpp	2008-04-06 14:46:22.000000000 +0200
++++ new-lordsawar-0.0.8/src/game.cpp	2008-04-06 14:46:22.000000000 +0200
+@@ -833,8 +833,8 @@
+   if (stack)
+     {
+       can_move_selected_stack_along_path.emit
+-	(stack->getPath()->size() > 0 && stack->enoughMoves() ||
+-	 (stack->getPath()->size() && stack->getMovesExhaustedAtPoint() > 0));
++	((stack->getPath()->size() > 0 && stack->enoughMoves()) ||
++	 ((stack->getPath()->size() && stack->getMovesExhaustedAtPoint() > 0)));
+ 
+       /*
+        * a note about searching.
+@@ -1118,7 +1118,7 @@
    int retval;
    int gender;
    int side;
@@ -73,8 +84,8 @@ diff -rN -u old-lordsawar-0.0.8/src/game.cpp new-lordsawar-0.0.8/src/game.cpp
    const Armysetlist* al = Armysetlist::getInstance();
    const Army* herotype;
 diff -rN -u old-lordsawar-0.0.8/src/Location.h new-lordsawar-0.0.8/src/Location.h
---- old-lordsawar-0.0.8/src/Location.h	2008-04-06 12:44:15.000000000 +0200
-+++ new-lordsawar-0.0.8/src/Location.h	2008-04-06 12:44:15.000000000 +0200
+--- old-lordsawar-0.0.8/src/Location.h	2008-04-06 14:46:22.000000000 +0200
++++ new-lordsawar-0.0.8/src/Location.h	2008-04-06 14:46:22.000000000 +0200
 @@ -23,7 +23,7 @@
  
  class Player;
@@ -84,70 +95,15 @@ diff -rN -u old-lordsawar-0.0.8/src/Location.h new-lordsawar-0.0.8/src/Location.
  
  /** A Location is a map object with a name. This is the metaclass for
    * cities, ruins and temples.
-diff -rN -u old-lordsawar-0.0.8/src/rewardlist.cpp new-lordsawar-0.0.8/src/rewardlist.cpp
---- old-lordsawar-0.0.8/src/rewardlist.cpp	2008-04-06 12:44:15.000000000 +0200
-+++ new-lordsawar-0.0.8/src/rewardlist.cpp	2008-04-06 12:44:15.000000000 +0200
-@@ -12,6 +12,7 @@
- //  along with this program; if not, write to the Free Software
- //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- 
-+#include <algorithm>
- #include <sigc++/functors/mem_fun.h>
- 
- #include "rewardlist.h"
-diff -rN -u old-lordsawar-0.0.8/src/stack.h new-lordsawar-0.0.8/src/stack.h
---- old-lordsawar-0.0.8/src/stack.h	2008-04-06 12:44:15.000000000 +0200
-+++ new-lordsawar-0.0.8/src/stack.h	2008-04-06 12:44:15.000000000 +0200
-@@ -15,6 +15,7 @@
- #ifndef STACK_H
- #define STACK_H
- 
-+#include <string>
- #include <list>
- #include <vector>
- #include "vector.h"
-diff -rN -u old-lordsawar-0.0.8/src/stacklist.cpp new-lordsawar-0.0.8/src/stacklist.cpp
---- old-lordsawar-0.0.8/src/stacklist.cpp	2008-04-06 12:44:15.000000000 +0200
-+++ new-lordsawar-0.0.8/src/stacklist.cpp	2008-04-06 12:44:15.000000000 +0200
-@@ -13,6 +13,7 @@
- //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- 
- #include <sigc++/functors/mem_fun.h>
-+#include <algorithm>
- 
- #include "stacklist.h"
- #include "stack.h"
-diff -rN -u old-lordsawar-0.0.8/src/stacklist.h new-lordsawar-0.0.8/src/stacklist.h
---- old-lordsawar-0.0.8/src/stacklist.h	2008-04-06 12:44:15.000000000 +0200
-+++ new-lordsawar-0.0.8/src/stacklist.h	2008-04-06 12:44:15.000000000 +0200
-@@ -15,6 +15,7 @@
- #ifndef STACKLIST_H
- #define STACKLIST_H
- 
-+#include <string>
- #include <list>
- #include <vector>
- #include <sigc++/trackable.h>
-diff -rN -u old-lordsawar-0.0.8/src/Threatlist.cpp new-lordsawar-0.0.8/src/Threatlist.cpp
---- old-lordsawar-0.0.8/src/Threatlist.cpp	2008-04-06 12:44:15.000000000 +0200
-+++ new-lordsawar-0.0.8/src/Threatlist.cpp	2008-04-06 12:44:15.000000000 +0200
-@@ -13,6 +13,7 @@
- //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- 
- #include <iostream>
-+#include <algorithm>
- 
- #include "Threatlist.h"
- #include "stack.h"
-diff -rN -u old-lordsawar-0.0.8/src/utils/extractv.cpp new-lordsawar-0.0.8/src/utils/extractv.cpp
---- old-lordsawar-0.0.8/src/utils/extractv.cpp	2008-04-06 12:44:15.000000000 +0200
-+++ new-lordsawar-0.0.8/src/utils/extractv.cpp	2008-04-06 12:44:15.000000000 +0200
-@@ -16,6 +16,7 @@
- 
- #include <stdio.h>
- #include <string>
-+#include <cstring>
- #include <vector>
- #include <iostream>
- #include "expat.h"
-
+diff -rN -u old-lordsawar-0.0.8/src/playerlist.cpp new-lordsawar-0.0.8/src/playerlist.cpp
+--- old-lordsawar-0.0.8/src/playerlist.cpp	2008-04-06 14:46:22.000000000 +0200
++++ new-lordsawar-0.0.8/src/playerlist.cpp	2008-04-06 14:46:22.000000000 +0200
+@@ -290,7 +290,7 @@
+ void Playerlist::calculateDiplomaticRankings()
+ {
+   unsigned int i = 0;
+-  char* titles[MAX_PLAYERS] = 
++  const char* titles[MAX_PLAYERS] = 
+     {
+       "Statesman",
+       "Diplomat",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/lordsawar.git



More information about the Pkg-games-commits mailing list