rpms/xplanet/devel xplanet-1.2.0-g++43-missing-header.patch, NONE, 1.1 xplanet.spec, 1.14, 1.15

Mamoru Tasaka (mtasaka) fedora-extras-commits at redhat.com
Fri Jan 4 16:55:02 UTC 2008


Author: mtasaka

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

Modified Files:
	xplanet.spec 
Added Files:
	xplanet-1.2.0-g++43-missing-header.patch 
Log Message:
* Fri Jan  4 2008 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.2.0-3
- Some misc fixes for g++43


xplanet-1.2.0-g++43-missing-header.patch:

--- NEW FILE xplanet-1.2.0-g++43-missing-header.patch ---
--- xplanet-1.2.0/src/PlanetProperties.h.gcc43	2005-04-02 09:43:06.000000000 +0900
+++ xplanet-1.2.0/src/PlanetProperties.h	2008-01-05 01:37:47.000000000 +0900
@@ -3,6 +3,7 @@
 
 #include <string>
 #include <vector>
+#include <cstring>
 
 #include "body.h"
 
--- xplanet-1.2.0/src/libannotate/addSatellites.cpp.gcc43	2004-07-23 09:46:20.000000000 +0900
+++ xplanet-1.2.0/src/libannotate/addSatellites.cpp	2008-01-05 01:39:43.000000000 +0900
@@ -5,6 +5,7 @@
 #include <map>
 #include <sstream>
 #include <string>
+#include <cstdlib>
 #include <vector>
 using namespace std;
 
--- xplanet-1.2.0/src/xpUtil.h.gcc43	2005-04-02 09:15:23.000000000 +0900
+++ xplanet-1.2.0/src/xpUtil.h	2008-01-05 01:37:47.000000000 +0900
@@ -4,6 +4,8 @@
 #include <cmath>
 #include <ctime>
 #include <string>
+#include <cstring>
+#include <cstdlib>
 
 #ifndef M_PI
 #define M_PI           3.14159265358979323846  /* pi */


Index: xplanet.spec
===================================================================
RCS file: /cvs/extras/rpms/xplanet/devel/xplanet.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- xplanet.spec	21 Aug 2007 19:31:15 -0000	1.14
+++ xplanet.spec	4 Jan 2008 16:54:20 -0000	1.15
@@ -1,11 +1,12 @@
 Summary:	Render a planetary image into an X window
 Name:		xplanet
 Version:	1.2.0
-Release:	2.1%{?dist}.2
+Release:	3%{?dist}
 
 License:	GPLv2
 Group:		Amusements/Graphics
-Source:		http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source:		http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Patch0:		xplanet-1.2.0-g++43-missing-header.patch
 URL:		http://%{name}.sourceforge.net
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -30,6 +31,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .gcc43
 
 %build
 %configure
@@ -50,6 +52,9 @@
 %{_datadir}/xplanet
 
 %changelog
+* Fri Jan  4 2008 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.2.0-3
+- Some misc fixes for g++43
+
 * Wed Aug 22 2007 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.2.0-2.1.dist.2
 - Mass rebuild (buildID or binutils issue)
 




More information about the fedora-extras-commits mailing list