rpms/bzflag/F-8 bzflag-2.0.10-gcc-4.3.patch,NONE,1.1

Nils Philippsen (nphilipp) fedora-extras-commits at redhat.com
Tue Jul 8 15:28:00 UTC 2008


Author: nphilipp

Update of /cvs/pkgs/rpms/bzflag/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1754

Added Files:
	bzflag-2.0.10-gcc-4.3.patch 
Log Message:
add missing patch


bzflag-2.0.10-gcc-4.3.patch:

--- NEW FILE bzflag-2.0.10-gcc-4.3.patch ---
diff -up bzflag-2.0.10/include/common.h.gcc-4.3 bzflag-2.0.10/include/common.h
--- bzflag-2.0.10/include/common.h.gcc-4.3	2007-11-15 23:11:33.000000000 +0100
+++ bzflag-2.0.10/include/common.h	2008-02-22 17:51:08.000000000 +0100
@@ -33,9 +33,12 @@
 
 #include <stdio.h>
 #include <stdlib.h> /* needed for bzfrand */
-#include <math.h>
 #ifdef __cplusplus
 #  include <cmath>
+#  include <cstring>
+#else
+#  include <math.h>
+#  include <string.h>
 #endif
 
 
diff -up bzflag-2.0.10/plugins/logDetail/logDetail.cpp.gcc-4.3 bzflag-2.0.10/plugins/logDetail/logDetail.cpp
--- bzflag-2.0.10/plugins/logDetail/logDetail.cpp.gcc-4.3	2007-11-15 23:11:30.000000000 +0100
+++ bzflag-2.0.10/plugins/logDetail/logDetail.cpp	2008-02-22 18:11:32.000000000 +0100
@@ -13,6 +13,7 @@
 // logDetail.cpp : Plugin module for logging server events to stdout
 //
 
+#include <cstring>
 #include <iostream>
 #include <sstream>
 #include "bzfsAPI.h"
diff -up bzflag-2.0.10/plugins/rabidRabbit/rabidRabbit.cpp.gcc-4.3 bzflag-2.0.10/plugins/rabidRabbit/rabidRabbit.cpp
--- bzflag-2.0.10/plugins/rabidRabbit/rabidRabbit.cpp.gcc-4.3	2007-11-15 23:11:31.000000000 +0100
+++ bzflag-2.0.10/plugins/rabidRabbit/rabidRabbit.cpp	2008-02-22 20:55:32.000000000 +0100
@@ -4,7 +4,8 @@
 #include <string>
 #include <vector>
 #include <map>
-#include <math.h>
+#include <cstdlib>
+#include <cmath>
 
 BZ_GET_PLUGIN_VERSION
 
diff -up bzflag-2.0.10/plugins/teamflagreset/teamflagreset.cpp.gcc-4.3 bzflag-2.0.10/plugins/teamflagreset/teamflagreset.cpp
--- bzflag-2.0.10/plugins/teamflagreset/teamflagreset.cpp.gcc-4.3	2007-11-15 23:11:30.000000000 +0100
+++ bzflag-2.0.10/plugins/teamflagreset/teamflagreset.cpp	2008-02-22 20:57:02.000000000 +0100
@@ -1,6 +1,7 @@
 // teamflagreset.cpp : Defines the entry point for the DLL application.
 
 #include "bzfsAPI.h"
+#include <cstring>
 
 BZ_GET_PLUGIN_VERSION
 
diff -up bzflag-2.0.10/plugins/HoldTheFlag/HoldTheFlag.cpp.gcc-4.3 bzflag-2.0.10/plugins/HoldTheFlag/HoldTheFlag.cpp
--- bzflag-2.0.10/plugins/HoldTheFlag/HoldTheFlag.cpp.gcc-4.3	2007-11-15 23:11:31.000000000 +0100
+++ bzflag-2.0.10/plugins/HoldTheFlag/HoldTheFlag.cpp	2008-02-22 17:51:08.000000000 +0100
@@ -5,6 +5,8 @@
 
 #include "bzfsAPI.h"
 #include <map>
+#include <cstdlib>
+#include <cstring>
 #include <stdarg.h>
 
 BZ_GET_PLUGIN_VERSION
diff -up bzflag-2.0.10/plugins/keepaway/keepaway.cpp.gcc-4.3 bzflag-2.0.10/plugins/keepaway/keepaway.cpp
--- bzflag-2.0.10/plugins/keepaway/keepaway.cpp.gcc-4.3	2007-11-15 23:11:30.000000000 +0100
+++ bzflag-2.0.10/plugins/keepaway/keepaway.cpp	2008-02-22 18:09:18.000000000 +0100
@@ -1,6 +1,7 @@
 // keepaway.cpp : Defines the entry point for the DLL application.
 
 #include "bzfsAPI.h"
+#include <cstdlib>
 #include <string>
 #include <vector>
 #include <map>
diff -up bzflag-2.0.10/plugins/rabbitTimer/rabbitTimer.cpp.gcc-4.3 bzflag-2.0.10/plugins/rabbitTimer/rabbitTimer.cpp
--- bzflag-2.0.10/plugins/rabbitTimer/rabbitTimer.cpp.gcc-4.3	2007-11-15 23:11:30.000000000 +0100
+++ bzflag-2.0.10/plugins/rabbitTimer/rabbitTimer.cpp	2008-02-22 20:59:59.000000000 +0100
@@ -2,6 +2,7 @@
 //
 
 #include "bzfsAPI.h"
+#include <cstdlib>
 
 BZ_GET_PLUGIN_VERSION
 
diff -up bzflag-2.0.10/plugins/timedctf/timedctf.cpp.gcc-4.3 bzflag-2.0.10/plugins/timedctf/timedctf.cpp
--- bzflag-2.0.10/plugins/timedctf/timedctf.cpp.gcc-4.3	2008-02-22 20:58:31.000000000 +0100
+++ bzflag-2.0.10/plugins/timedctf/timedctf.cpp	2008-02-22 20:58:05.000000000 +0100
@@ -1,6 +1,7 @@
 // timedctf.cpp : Defines the entry point for the DLL application.
 
 #include "bzfsAPI.h"
+#include <cstring>
 
 BZ_GET_PLUGIN_VERSION
 
diff -up bzflag-2.0.10/plugins/wwzones/wwzones.cpp.gcc-4.3 bzflag-2.0.10/plugins/wwzones/wwzones.cpp
--- bzflag-2.0.10/plugins/wwzones/wwzones.cpp.gcc-4.3	2007-11-15 23:11:31.000000000 +0100
+++ bzflag-2.0.10/plugins/wwzones/wwzones.cpp	2008-02-22 21:01:47.000000000 +0100
@@ -1,6 +1,7 @@
 // wwzones.cpp : Defines the entry point for the DLL application.
 
 #include "bzfsAPI.h"
+#include <cstdlib>
 #include <string>
 #include <vector>
 #include <map>
diff -up bzflag-2.0.10/plugins/airspawn/airspawn.cpp.gcc-4.3 bzflag-2.0.10/plugins/airspawn/airspawn.cpp
--- bzflag-2.0.10/plugins/airspawn/airspawn.cpp.gcc-4.3	2007-11-15 23:11:31.000000000 +0100
+++ bzflag-2.0.10/plugins/airspawn/airspawn.cpp	2008-02-22 18:07:27.000000000 +0100
@@ -3,6 +3,7 @@
 
 
 #include "bzfsAPI.h"
+#include <cstdlib>
 #include <string>
 #include <map>
 
diff -up bzflag-2.0.10/plugins/nagware/nagware.cpp.gcc-4.3 bzflag-2.0.10/plugins/nagware/nagware.cpp
--- bzflag-2.0.10/plugins/nagware/nagware.cpp.gcc-4.3	2007-11-15 23:11:31.000000000 +0100
+++ bzflag-2.0.10/plugins/nagware/nagware.cpp	2008-02-22 18:12:17.000000000 +0100
@@ -3,6 +3,8 @@
 // $Id: nagware.cpp 16200 2007-11-15 17:31:43Z JeffM2501 $
 
 #include "bzfsAPI.h"
+#include <cstdlib>
+#include <cstring>
 #include <vector>
 
 BZ_GET_PLUGIN_VERSION
diff -up bzflag-2.0.10/plugins/flagStay/flagStay.cpp.gcc-4.3 bzflag-2.0.10/plugins/flagStay/flagStay.cpp
--- bzflag-2.0.10/plugins/flagStay/flagStay.cpp.gcc-4.3	2007-11-15 23:11:31.000000000 +0100
+++ bzflag-2.0.10/plugins/flagStay/flagStay.cpp	2008-02-22 18:08:30.000000000 +0100
@@ -2,6 +2,7 @@
 //
 
 #include "bzfsAPI.h"
+#include <cstdlib>
 #include <string>
 #include <vector>
 #include <map>
diff -up bzflag-2.0.10/plugins/koth/koth.cpp.gcc-4.3 bzflag-2.0.10/plugins/koth/koth.cpp
--- bzflag-2.0.10/plugins/koth/koth.cpp.gcc-4.3	2007-11-15 23:11:30.000000000 +0100
+++ bzflag-2.0.10/plugins/koth/koth.cpp	2008-02-22 18:10:10.000000000 +0100
@@ -1,6 +1,7 @@
 // koth.cpp : Defines the entry point for the DLL application.
 
 #include "bzfsAPI.h"
+#include <cstdlib>
 #include <string>
 #include <vector>
 #include <map>
diff -up bzflag-2.0.10/plugins/torBlock/torBlock.cpp.gcc-4.3 bzflag-2.0.10/plugins/torBlock/torBlock.cpp
--- bzflag-2.0.10/plugins/torBlock/torBlock.cpp.gcc-4.3	2008-02-22 21:01:08.000000000 +0100
+++ bzflag-2.0.10/plugins/torBlock/torBlock.cpp	2008-02-22 21:00:52.000000000 +0100
@@ -2,6 +2,7 @@
 //
 
 #include "bzfsAPI.h"
+#include <cstring>
 #include <string>
 #include <algorithm>
 #include <sstream>




More information about the fedora-extras-commits mailing list