rpms/manaworld/devel tmw-0.0.23-gcc43.patch, NONE, 1.1 manaworld.spec, 1.10, 1.11

Michael Thomas (wart) fedora-extras-commits at redhat.com
Thu Feb 14 16:28:17 UTC 2008


Author: wart

Update of /cvs/extras/rpms/manaworld/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30388

Modified Files:
	manaworld.spec 
Added Files:
	tmw-0.0.23-gcc43.patch 
Log Message:
Rebuild for gcc 4.3


tmw-0.0.23-gcc43.patch:

--- NEW FILE tmw-0.0.23-gcc43.patch ---
--- tmw-0.0.23/src/being.h.orig	2008-02-13 08:35:41.000000000 -0800
+++ tmw-0.0.23/src/being.h	2008-02-13 08:35:48.000000000 -0800
@@ -28,6 +28,7 @@
 #include <string>
 #include <SDL_types.h>
 #include <vector>
+#include <memory>
 
 #include "sprite.h"
 #include "map.h"
--- tmw-0.0.23/src/log.cpp.orig	2008-02-14 08:19:08.000000000 -0800
+++ tmw-0.0.23/src/log.cpp	2008-02-14 08:19:16.000000000 -0800
@@ -32,6 +32,7 @@
 #endif
 
 #include <cstdarg>
+#include <cstdlib>
 #include <iostream>
 #include <sstream>
 
--- tmw-0.0.23/src/gui/window.cpp.orig	2008-02-14 07:27:22.000000000 -0800
+++ tmw-0.0.23/src/gui/window.cpp	2008-02-14 07:27:45.000000000 -0800
@@ -39,6 +39,9 @@
 #include "../resources/image.h"
 #include "../resources/resourcemanager.h"
 
+#include <algorithm>
+#include <climits>
+
 ConfigListener *Window::windowConfigListener = 0;
 WindowContainer *Window::windowContainer = 0;
 int Window::instances = 0;
--- tmw-0.0.23/src/resources/buddylist.cpp.orig	2008-02-13 18:58:40.000000000 -0800
+++ tmw-0.0.23/src/resources/buddylist.cpp	2008-02-13 22:24:04.000000000 -0800
@@ -26,6 +26,8 @@
 #include "../configuration.h"
 #include <iostream>
 #include <fstream>
+#include <cstring>
+#include <algorithm>
 
 BuddyList::BuddyList()
 {
--- tmw-0.0.23/src/utils/dtor.h.orig	2008-02-13 18:50:26.000000000 -0800
+++ tmw-0.0.23/src/utils/dtor.h	2008-02-13 18:21:01.000000000 -0800
@@ -26,6 +26,7 @@
 
 #include <functional>
 #include <utility>
+#include <algorithm>
 
 template<typename T>
 struct dtor : public std::unary_function <T, void>


Index: manaworld.spec
===================================================================
RCS file: /cvs/extras/rpms/manaworld/devel/manaworld.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- manaworld.spec	20 Aug 2007 04:41:27 -0000	1.10
+++ manaworld.spec	14 Feb 2008 16:27:41 -0000	1.11
@@ -1,12 +1,13 @@
 Name:           manaworld
 Version:        0.0.23
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        2D MMORPG world
 
 Group:          Amusements/Games
 License:        GPLv2+
 URL:            http://themanaworld.org
 Source0:        http://downloads.sourceforge.net/themanaworld/tmw-%{version}.tar.gz
+Patch0:         tmw-0.0.23-gcc43.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  guichan-devel desktop-file-utils physfs-devel
@@ -20,6 +21,7 @@
 
 %prep
 %setup -q -n tmw-%{version}
+%patch0 -p1
 
 
 %build
@@ -72,6 +74,9 @@
 
 
 %changelog
+* Wed Feb 13 2008 Wart <wart at kobold.org> 0.0.23-2
+- Rebuild for gcc 4.3
+
 * Sun Aug 19 2007 Wart <wart at kobold.org> 0.0.23-1
 - Update to 0.0.23
 - License tag clarification




More information about the fedora-extras-commits mailing list