From 2e92dd1bd38d1fb6b818c124b4d5631d306b1445 Mon Sep 17 00:00:00 2001 From: Jochen Schmitt Date: Aug 11 2005 14:40:43 +0000 Subject: Description: Take ownership of stellarium. Fix minor build problem with gcc4. --- diff --git a/stellarium-0.6.2-gcc4.patch b/stellarium-0.6.2-gcc4.patch index b57b776..1f26d55 100644 --- a/stellarium-0.6.2-gcc4.patch +++ b/stellarium-0.6.2-gcc4.patch @@ -1,6 +1,5 @@ -diff -Nur stellarium-0.6.2-orig/src/vecmath.h stellarium-0.6.2/src/vecmath.h ---- stellarium-0.6.2-orig/src/vecmath.h 2004-10-09 02:14:04.000000000 +0200 -+++ stellarium-0.6.2/src/vecmath.h 2005-04-14 01:02:11.000000000 +0200 +--- stellarium-0.6.2/src/vecmath.h.gcc4 2004-10-09 02:14:04.000000000 +0200 ++++ stellarium-0.6.2/src/vecmath.h 2005-08-10 20:31:06.000000000 +0200 @@ -73,8 +73,8 @@ inline Vector2 operator-(const Vector2&) const; inline Vector2 operator+(const Vector2&) const; @@ -34,3 +33,14 @@ diff -Nur stellarium-0.6.2-orig/src/vecmath.h stellarium-0.6.2/src/vecmath.h inline Vector4 operator*(T) const; inline Vector4 operator/(T) const; +--- stellarium-0.6.2/src/stel_core.h.gcc4 2005-08-10 20:37:45.000000000 +0200 ++++ stellarium-0.6.2/src/stel_core.h 2005-08-10 20:38:16.000000000 +0200 +@@ -46,6 +46,8 @@ + #include "meteor_mgr.h" + #include "sky_localizer.h" + ++class stel_ui; ++ + class stel_core + { + friend class stel_ui; diff --git a/stellarium.spec b/stellarium.spec index 4299741..e22161c 100644 --- a/stellarium.spec +++ b/stellarium.spec @@ -1,6 +1,6 @@ Name: stellarium Version: 0.6.2 -Release: 4 +Release: 5 Summary: Photo-realistic nightsky renderer Group: Amusements/Graphics @@ -67,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Aug 10 2005 Jochen Schmitt 0.6.2-5 +- Fix build for GCC4. + * Thu Apr 14 2005 Michael Schwendt - 0.6.2-4 - Fix build for GCC4. - Fix desktop icon installation.