rpms/celestia/devel celestia-1.5.0-gcc44.patch, NONE, 1.1 celestia.spec, 1.25, 1.26

Lubomir Rintel lkundrak at fedoraproject.org
Sun Mar 1 14:32:03 UTC 2009


Author: lkundrak

Update of /cvs/pkgs/rpms/celestia/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8396

Modified Files:
	celestia.spec 
Added Files:
	celestia-1.5.0-gcc44.patch 
Log Message:
* Sun Mar  1 2009 Lubomir Rintel <lkundrak at v3.sk> - 1.5.0-3
- Fix build with GCC 4.4


celestia-1.5.0-gcc44.patch:

--- NEW FILE celestia-1.5.0-gcc44.patch ---
Fix build with GCC 4.4

Lubomir Rintel (Fedora Astronomy) <lkundrak at v3.sk>

diff -up celestia-1.5.0/src/celengine/overlay.h.gcc44 celestia-1.5.0/src/celengine/overlay.h
--- celestia-1.5.0/src/celengine/overlay.h.gcc44	2009-03-01 15:23:44.000000000 +0100
+++ celestia-1.5.0/src/celengine/overlay.h	2009-03-01 15:23:50.000000000 +0100
@@ -12,6 +12,7 @@
 
 #include <string>
 #include <iostream>
+#include <cstdio>
 #include <celtxf/texturefont.h>
 
 
diff -up celestia-1.5.0/src/celengine/star.cpp.gcc44 celestia-1.5.0/src/celengine/star.cpp
--- celestia-1.5.0/src/celengine/star.cpp.gcc44	2009-03-01 15:26:57.000000000 +0100
+++ celestia-1.5.0/src/celengine/star.cpp	2009-03-01 15:27:22.000000000 +0100
@@ -9,6 +9,7 @@
 
 #include <celmath/mathlib.h>
 #include <cstring>
+#include <cstdio>
 #include <cassert>
 #include "celestia.h"
 #include "astro.h"


Index: celestia.spec
===================================================================
RCS file: /cvs/pkgs/rpms/celestia/devel/celestia.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- celestia.spec	24 Feb 2009 06:57:56 -0000	1.25
+++ celestia.spec	1 Mar 2009 14:31:33 -0000	1.26
@@ -1,12 +1,13 @@
 Name:		celestia
 Version:        1.5.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        OpenGL real-time visual space simulation
 Group:          Applications/Emulators
 License:        GPLv2+
 Source0:        http://dl.sf.net/celestia/celestia-%{version}.tar.gz
 Source3:        celestia.desktop
 Patch0:		celestia-1.5.0-gcc43.patch
+Patch1:         celestia-1.5.0-gcc44.patch
 URL:            http://www.shatters.net/celestia/
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -42,6 +43,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .gcc43
+%patch1 -p1 -b .gcc44
 
 # Make sure we compile with the right CFLAGS/CXXFLAGS (from Hans de Goede).
 sed -i 's/CFLAGS="\$CFLAGS \$CELESTIAFLAGS \$CELESTIA_CFLAGS"/CFLAGS="\$CFLAGS \$CELESTIAFLAGS"/' configure
@@ -127,6 +129,9 @@
 
 
 %changelog
+* Sun Mar  1 2009 Lubomir Rintel <lkundrak at v3.sk> - 1.5.0-3
+- Fix build with GCC 4.4
+
 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list