rpms/netpanzer/devel netpanzer-0.8.2-ColorTable-memory.patch, NONE, 1.1 netpanzer-0.8.2-Log-algorithm.patch, NONE, 1.1 netpanzer-0.8.2-MapSelectionView-memory.patch, NONE, 1.1 netpanzer-0.8.2-Pallette-memory.patch, NONE, 1.1 netpanzer.spec, 1.6, 1.7

Jon Ciesla (limb) fedora-extras-commits at redhat.com
Thu Jan 10 15:30:58 UTC 2008


Author: limb

Update of /cvs/pkgs/rpms/netpanzer/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10640

Modified Files:
	netpanzer.spec 
Added Files:
	netpanzer-0.8.2-ColorTable-memory.patch 
	netpanzer-0.8.2-Log-algorithm.patch 
	netpanzer-0.8.2-MapSelectionView-memory.patch 
	netpanzer-0.8.2-Pallette-memory.patch 
Log Message:
Added gcc 4.3.0 patches.


netpanzer-0.8.2-ColorTable-memory.patch:

--- NEW FILE netpanzer-0.8.2-ColorTable-memory.patch ---
--- src/Lib/2D/ColorTable.cpp	2008-01-10 08:49:40.000000000 -0600
+++ src/Lib/2D/ColorTable.cpp	2008-01-10 08:49:40.000000000 -0600
@@ -24,6 +24,7 @@
 #include "Palette.hpp"
 #include "Surface.hpp"
 #include "Util/UtilInterface.hpp"
+#include <memory>
 
 char *ColorTable::extension = ".tbl";
 

netpanzer-0.8.2-Log-algorithm.patch:

--- NEW FILE netpanzer-0.8.2-Log-algorithm.patch ---
--- src/Lib/Util/Log.cpp	2008-01-10 08:51:58.000000000 -0600
+++ src/Lib/Util/Log.cpp	2008-01-10 08:51:58.000000000 -0600
@@ -26,6 +26,7 @@
 #include <vector>
 #include <exception>
 #include <iomanip>
+#include <algorithm>
 
 #include "Exception.hpp"
 #include "FileSystem.hpp"

netpanzer-0.8.2-MapSelectionView-memory.patch:

--- NEW FILE netpanzer-0.8.2-MapSelectionView-memory.patch ---
--- src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp	2008-01-10 08:56:59.000000000 -0600
+++ src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp	2008-01-10 08:56:59.000000000 -0600
@@ -28,6 +28,7 @@
 #include "Util/FileStream.hpp"
 #include "Util/Exception.hpp"
 #include "Util/Log.hpp"
+#include <memory>
 
 std::vector<MapInfo*> MapSelectionView::mapList;
 int MapSelectionView::curMap = 0;

netpanzer-0.8.2-Pallette-memory.patch:

--- NEW FILE netpanzer-0.8.2-Pallette-memory.patch ---
--- src/Lib/2D/Palette.cpp	2008-01-10 08:46:50.000000000 -0600
+++ src/Lib/2D/Palette.cpp	2008-01-10 08:46:50.000000000 -0600
@@ -18,6 +18,7 @@
 #include <config.h>
 
 #include <math.h>
+#include <memory>
 
 #include "Palette.hpp"
 #include "Util/FileSystem.hpp"


Index: netpanzer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/netpanzer/devel/netpanzer.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- netpanzer.spec	30 Aug 2007 11:23:02 -0000	1.6
+++ netpanzer.spec	10 Jan 2008 15:30:20 -0000	1.7
@@ -1,6 +1,6 @@
 Name:           netpanzer
 Version:        0.8.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        An Online Multiplayer Tactical Warfare Game
 
 Group:          Amusements/Games
@@ -8,6 +8,10 @@
 URL:            http://netpanzer.berlios.de
 Source0:        http://download.berlios.de/netpanzer/netpanzer-%{version}.tar.bz2
 Patch0:         netpanzer-desktop.patch
+Patch1:         netpanzer-0.8.2-Pallette-memory.patch
+Patch2:         netpanzer-0.8.2-ColorTable-memory.patch
+Patch3:         netpanzer-0.8.2-Log-algorithm.patch
+Patch4:         netpanzer-0.8.2-MapSelectionView-memory.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  jam, physfs-devel >= 0.1.9, desktop-file-utils, doxygen
@@ -32,6 +36,11 @@
 #Correct .desktop file
 %patch0 -p0
 
+%patch1 -p0
+%patch2 -p0
+%patch3 -p0
+%patch4 -p0
+
 %build
 %configure
 jam %{?_smp_mflags}
@@ -80,6 +89,9 @@
 %{_datadir}/netpanzer
 
 %changelog
+* Thu Jan 10 2008 Jon Ciesla <limb at jcomserv.net> 0.8.2-2
+- Added memory, algorithm patches.
+
 * Wed Aug 29 2007 Jon Ciesla <limb at jcomserv.net> 0.8.2-1
 - Bumped to 0.8.2.
 - Merged in and obsoleted/provided netpanzer-data to follow upstream.




More information about the fedora-extras-commits mailing list