diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-04-25 22:30:00 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-04-26 05:29:34 +0200 |
commit | 43f5b07e80f1a2b934733729cb69aa9baca67fe7 (patch) | |
tree | 1368b9ddafa84025a243cfd9594eeb720d725acd /sci-astronomy | |
parent | dev-python/kiwisolver: Drop old (diff) | |
download | gentoo-43f5b07e80f1a2b934733729cb69aa9baca67fe7.tar.gz gentoo-43f5b07e80f1a2b934733729cb69aa9baca67fe7.tar.bz2 gentoo-43f5b07e80f1a2b934733729cb69aa9baca67fe7.zip |
sci-astronomy/kstars: Fix build with Qt 5.11
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'sci-astronomy')
-rw-r--r-- | sci-astronomy/kstars/files/kstars-2.9.5-qt-5.11.patch | 31 | ||||
-rw-r--r-- | sci-astronomy/kstars/kstars-2.9.5.ebuild | 2 |
2 files changed, 33 insertions, 0 deletions
diff --git a/sci-astronomy/kstars/files/kstars-2.9.5-qt-5.11.patch b/sci-astronomy/kstars/files/kstars-2.9.5-qt-5.11.patch new file mode 100644 index 000000000000..72d4b8e4a48a --- /dev/null +++ b/sci-astronomy/kstars/files/kstars-2.9.5-qt-5.11.patch @@ -0,0 +1,31 @@ +From cf510e4aee93bf1392df8e35931ba9bb9a07fc16 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Wed, 25 Apr 2018 22:05:50 +0200 +Subject: [PATCH] Fix build with Qt 5.11 (missing QDoubleValidator) + +Reviewers: mutlaqja + +Subscribers: #kde_edu + +Tags: #kde_edu + +Differential Revision: https://phabricator.kde.org/D12525 +--- + kstars/dialogs/focusdialog.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/kstars/dialogs/focusdialog.cpp b/kstars/dialogs/focusdialog.cpp +index d09ce9273..b264ee5c9 100644 +--- a/kstars/dialogs/focusdialog.cpp ++++ b/kstars/dialogs/focusdialog.cpp +@@ -24,6 +24,7 @@ + #include "skyobjects/skypoint.h" + + #include <KLocalizedString> ++#include <QDoubleValidator> + #include <KMessageBox> + #include <QPushButton> + +-- +2.17.0 + diff --git a/sci-astronomy/kstars/kstars-2.9.5.ebuild b/sci-astronomy/kstars/kstars-2.9.5.ebuild index a481533f1106..cb8577f01377 100644 --- a/sci-astronomy/kstars/kstars-2.9.5.ebuild +++ b/sci-astronomy/kstars/kstars-2.9.5.ebuild @@ -61,6 +61,8 @@ RDEPEND="${COMMON_DEPEND} ${PYTHON_DEPS} " +PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" ) + src_configure() { local mycmakeargs=( $(cmake-utils_use_find_package fits CFitsio) |