rpms/xplanet/devel xplanet-1.2.0-g++44-compile.patch, NONE, 1.1 xplanet.spec, 1.17, 1.18

Mamoru Tasaka mtasaka at fedoraproject.org
Wed Feb 4 15:27:13 UTC 2009


Author: mtasaka

Update of /cvs/extras/rpms/xplanet/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26503

Modified Files:
	xplanet.spec 
Added Files:
	xplanet-1.2.0-g++44-compile.patch 
Log Message:
* Thu Feb  5 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.2.0-5
- Patch to compile with g++44


xplanet-1.2.0-g++44-compile.patch:

--- NEW FILE xplanet-1.2.0-g++44-compile.patch ---
--- xplanet-1.2.0/src/Satellite.cpp.debug	2004-04-27 06:05:25.000000000 +0900
+++ xplanet-1.2.0/src/Satellite.cpp	2009-02-05 00:15:03.000000000 +0900
@@ -1,4 +1,5 @@
 #include <clocale>
+#include <cstdio>
 #include <cstring>
 #include <iostream>
 using namespace std;


Index: xplanet.spec
===================================================================
RCS file: /cvs/extras/rpms/xplanet/devel/xplanet.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- xplanet.spec	21 Dec 2008 05:28:23 -0000	1.17
+++ xplanet.spec	4 Feb 2009 15:26:42 -0000	1.18
@@ -1,12 +1,13 @@
 Summary:	Render a planetary image into an X window
 Name:		xplanet
 Version:	1.2.0
-Release:	4%{?dist}
+Release:	5%{?dist}
 
 License:	GPLv2
 Group:		Amusements/Graphics
 Source:		http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 Patch0:		xplanet-1.2.0-g++43-missing-header.patch
+Patch1:		xplanet-1.2.0-g++44-compile.patch
 URL:		http://%{name}.sourceforge.net
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -33,10 +34,11 @@
 %prep
 %setup -q
 %patch0 -p1 -b .gcc43
+%patch1 -p1 -b .gcc44
 
 %build
 %configure
-make %{?_smp_mflags}
+make %{?_smp_mflags} -k
 
 %install
 rm -rf %{buildroot}
@@ -56,6 +58,9 @@
 %{_datadir}/xplanet
 
 %changelog
+* Thu Feb  5 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.2.0-5
+- Patch to compile with g++44
+
 * Sun Dec 21 2008 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.2.0-4
 - Remove xplanet private ttf file, use system one
 




More information about the scm-commits mailing list