rpms/boswars/devel boswars-2.4.1-gcc43.patch, 1.2, 1.3 boswars.spec, 1.5, 1.6

Hans de Goede jwrdegoede at fedoraproject.org
Sat Feb 21 09:44:41 UTC 2009


Author: jwrdegoede

Update of /cvs/extras/rpms/boswars/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17493

Modified Files:
	boswars-2.4.1-gcc43.patch boswars.spec 
Log Message:
* Sat Feb 21 2009 Hans de Goede <hdegoede at redhat.com> 2.5-2
- Fix build with gcc 4.4


boswars-2.4.1-gcc43.patch:

Index: boswars-2.4.1-gcc43.patch
===================================================================
RCS file: /cvs/extras/rpms/boswars/devel/boswars-2.4.1-gcc43.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- boswars-2.4.1-gcc43.patch	2 Mar 2008 10:51:08 -0000	1.2
+++ boswars-2.4.1-gcc43.patch	21 Feb 2009 09:44:41 -0000	1.3
@@ -12,11 +12,23 @@
 diff -up boswars-2.5-src/engine/pathfinder/astar.cpp~ boswars-2.5-src/engine/pathfinder/astar.cpp
 --- boswars-2.5-src/engine/pathfinder/astar.cpp~	2008-03-02 09:23:48.000000000 +0100
 +++ boswars-2.5-src/engine/pathfinder/astar.cpp	2008-03-02 09:23:48.000000000 +0100
-@@ -35,6 +35,7 @@
+@@ -35,6 +35,8 @@
  
  #include "stratagus.h"
  #include "pathfinder.h"
 +#include <stdlib.h> /* for abs() */
++#include <stdio.h>
  
  /*----------------------------------------------------------------------------
  --  Declarations
+diff -up boswars-2.5-src/engine/stratagus/translate.cpp~ boswars-2.5-src/engine/stratagus/translate.cpp
+--- boswars-2.5-src/engine/stratagus/translate.cpp~	2008-01-27 00:02:54.000000000 +0100
++++ boswars-2.5-src/engine/stratagus/translate.cpp	2009-02-21 10:27:02.000000000 +0100
+@@ -36,6 +36,7 @@
+ 
+ #include <map>
+ #include <string>
++#include <cstdio>
+ 
+ #include "translate.h"
+ #include "iolib.h"


Index: boswars.spec
===================================================================
RCS file: /cvs/extras/rpms/boswars/devel/boswars.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- boswars.spec	2 Mar 2008 10:51:08 -0000	1.5
+++ boswars.spec	21 Feb 2009 09:44:41 -0000	1.6
@@ -1,6 +1,6 @@
 Name:           boswars
 Version:        2.5
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Bos Wars is a futuristic real-time strategy game
 Group:          Amusements/Games
 License:        GPLv2
@@ -85,6 +85,9 @@
 
 
 %changelog
+* Sat Feb 21 2009 Hans de Goede <hdegoede at redhat.com> 2.5-2
+- Fix build with gcc 4.4
+
 * Sun Mar  2 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 2.5-1
 - New upstream release 2.5
 




More information about the fedora-extras-commits mailing list