From a1b1909290470fe1b2703bef555fec4e205883ba Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Oct 15 2015 09:01:14 +0000 Subject: Fix build with Qt 5.5 --- diff --git a/stellarium-0.13.3-qt55.patch b/stellarium-0.13.3-qt55.patch new file mode 100644 index 0000000..0d5451b --- /dev/null +++ b/stellarium-0.13.3-qt55.patch @@ -0,0 +1,24 @@ +=== modified file 'src/CLIProcessor.hpp' +--- src/CLIProcessor.hpp 2014-11-04 10:59:12 +0000 ++++ src/CLIProcessor.hpp 2015-09-28 09:34:25 +0000 +@@ -21,6 +21,7 @@ + #define CLIPROCESSOR_HPP + + #include ++#include + + class QSettings; + + +=== modified file 'src/core/StelSkyCultureMgr.hpp' +--- src/core/StelSkyCultureMgr.hpp 2014-11-11 19:39:19 +0000 ++++ src/core/StelSkyCultureMgr.hpp 2015-09-28 09:34:25 +0000 +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + + //! @class StelSkyCulture + //! Store basic info about a sky culture for stellarium. + diff --git a/stellarium.spec b/stellarium.spec index dd142c5..6a3d613 100644 --- a/stellarium.spec +++ b/stellarium.spec @@ -2,13 +2,16 @@ Name: stellarium Version: 0.13.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Photo-realistic nightsky renderer Group: Amusements/Graphics License: GPLv2+ URL: http://www.stellarium.org Source0: http://downloads.sourceforge.net/stellarium/stellarium-%{version}.tar.gz +# https://bugs.launchpad.net/stellarium/+bug/1504595 +# http://bazaar.launchpad.net/~stellarium/stellarium/0.13/revision/6940 +Patch0: stellarium-0.13.3-qt55.patch BuildRequires: phonon-devel BuildRequires: SDL_mixer-devel @@ -39,6 +42,7 @@ constellations, planets, major satellites and nebulas. %prep %setup -q +%patch0 -p0 %build export CFLAGS="$RPM_OPT_FLAGS" @@ -82,6 +86,9 @@ cp -p data/stellarium.appdata.xml $RPM_BUILD_ROOT/%{_datadir}/appdata %{_mandir}/man1/stellarium.1.gz %changelog +* Thu Oct 15 2015 Mamoru TASAKA - 0.13.3-5 +- Fix build with Qt 5.5 + * Wed Jul 29 2015 Fedora Release Engineering - 0.13.3-4 - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159