rpms/TnL/devel TnL-source-071111-gcc43.patch, NONE, 1.1 TnL.spec, 1.3, 1.4

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Sat Jan 12 21:41:57 UTC 2008


Author: jwrdegoede

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

Modified Files:
	TnL.spec 
Added Files:
	TnL-source-071111-gcc43.patch 
Log Message:
* Sat Jan 12 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 071111-2
- Fix compilation with gcc 4.3


TnL-source-071111-gcc43.patch:

--- NEW FILE TnL-source-071111-gcc43.patch ---
diff -up TnL-source-071111/src/modules/model/model.cc~ TnL-source-071111/src/modules/model/model.cc
--- TnL-source-071111/src/modules/model/model.cc~	2008-01-12 22:38:59.000000000 +0100
+++ TnL-source-071111/src/modules/model/model.cc	2008-01-12 22:38:59.000000000 +0100
@@ -1,6 +1,7 @@
 #include <fstream>
 #include <cctype>
 #include <cstdio>
+#include <cstring>
 //#include <modules/actors/fx/DebugObject.h>
 #include "model.h"
 


Index: TnL.spec
===================================================================
RCS file: /cvs/extras/rpms/TnL/devel/TnL.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TnL.spec	12 Nov 2007 10:35:41 -0000	1.3
+++ TnL.spec	12 Jan 2008 21:41:18 -0000	1.4
@@ -7,7 +7,7 @@
 
 Name:           TnL
 Version:        071111
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Thunder & Lightning - A futuristic action flight simulator game
 Group:          Amusements/Games
 License:        GPL+
@@ -16,6 +16,7 @@
 Source1:        %{name}.desktop
 Patch0:         TnL-070909-system-boost.patch
 Patch1:         TnL-070909-crash-on-exit.patch
+Patch2:         TnL-source-071111-gcc43.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  freealut-devel glew-devel libpng-devel libsigc++-devel
 BuildRequires:  SDL-devel Io-language-devel boost-devel cegui-devel
@@ -40,6 +41,7 @@
 %setup -q -n %{name}-source-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 # we want to use the system version of boost
 rm -r src/boost
 # stop autoxxx from rerunning because of our patches above
@@ -77,6 +79,9 @@
 
 
 %changelog
+* Sat Jan 12 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 071111-2
+- Fix compilation with gcc 4.3
+
 * Sun Nov 11 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 071111-1
 - New upstream release 071111
 




More information about the fedora-extras-commits mailing list