rpms/fgfs-Atlas/devel fgfs-Atlas-0.3.1-gcc43.patch, NONE, 1.1 fgfs-Atlas.spec, 1.5, 1.6

Fabrice Bellet (bellet) fedora-extras-commits at redhat.com
Mon Feb 4 22:53:44 UTC 2008


Author: bellet

Update of /cvs/extras/rpms/fgfs-Atlas/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23480

Modified Files:
	fgfs-Atlas.spec 
Added Files:
	fgfs-Atlas-0.3.1-gcc43.patch 
Log Message:
* Mon Feb  4 2008 Fabrice Bellet <fabrice at bellet.info> 0.3.1-8
- fix gcc43 build


fgfs-Atlas-0.3.1-gcc43.patch:

--- NEW FILE fgfs-Atlas-0.3.1-gcc43.patch ---
--- Atlas-0.3.1.orig/src/fg_mkdir.cxx	2005-01-28 13:54:12.000000000 +0100
+++ Atlas-0.3.1/src/fg_mkdir.cxx	2008-02-01 15:34:09.000000000 +0100
@@ -34,6 +34,7 @@
 #endif
 #include <string.h>
 #include <string>
+#include <cstdlib>
 
 using namespace std;
 


Index: fgfs-Atlas.spec
===================================================================
RCS file: /cvs/extras/rpms/fgfs-Atlas/devel/fgfs-Atlas.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- fgfs-Atlas.spec	7 Jan 2008 22:03:56 -0000	1.5
+++ fgfs-Atlas.spec	4 Feb 2008 22:53:07 -0000	1.6
@@ -1,12 +1,13 @@
 Name:		fgfs-Atlas
 Summary:	Flightgear map tools
 Version:	0.3.1
-Release:	7%{?dist}
+Release:	8%{?dist}
 
 License:	GPLv2+
 Group:		Amusements/Games
 Source:		http://downloads.sourceforge.net/sourceforge/atlas/Atlas-%{version}.tar.gz
 Source1:	Atlas-default-maps.tar.gz
+Patch0:		fgfs-Atlas-0.3.1-gcc43.patch
 URL:		http://atlas.sourceforge.net
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	freeglut-devel, curl-devel, SimGear-devel, libpng-devel
@@ -20,6 +21,7 @@
 
 %prep
 %setup -q -n Atlas-%{version}
+%patch0 -p1 -b .gcc43
 find -type f -name '*.[hc]xx' -exec chmod a-x {} \;
 
 %build
@@ -49,6 +51,9 @@
 %{_datadir}/FlightGear/*
 
 %changelog
+* Mon Feb  4 2008 Fabrice Bellet <fabrice at bellet.info> 0.3.1-8
+- fix gcc43 build
+
 * Mon Jan  7 2008 Fabrice Bellet <fabrice at bellet.info> 0.3.1-7
 - rebuild with newer SimGear
 




More information about the fedora-extras-commits mailing list