Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/kstars/, sci-astronomy/kstars/files/
Date: Thu, 26 Apr 2018 03:32:16
Message-Id: 1524713374.43f5b07e80f1a2b934733729cb69aa9baca67fe7.asturm@gentoo
1 commit: 43f5b07e80f1a2b934733729cb69aa9baca67fe7
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 25 20:30:00 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 26 03:29:34 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43f5b07e
7
8 sci-astronomy/kstars: Fix build with Qt 5.11
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 .../kstars/files/kstars-2.9.5-qt-5.11.patch | 31 ++++++++++++++++++++++
13 sci-astronomy/kstars/kstars-2.9.5.ebuild | 2 ++
14 2 files changed, 33 insertions(+)
15
16 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
17 new file mode 100644
18 index 00000000000..72d4b8e4a48
19 --- /dev/null
20 +++ b/sci-astronomy/kstars/files/kstars-2.9.5-qt-5.11.patch
21 @@ -0,0 +1,31 @@
22 +From cf510e4aee93bf1392df8e35931ba9bb9a07fc16 Mon Sep 17 00:00:00 2001
23 +From: Andreas Sturmlechner <asturm@g.o>
24 +Date: Wed, 25 Apr 2018 22:05:50 +0200
25 +Subject: [PATCH] Fix build with Qt 5.11 (missing QDoubleValidator)
26 +
27 +Reviewers: mutlaqja
28 +
29 +Subscribers: #kde_edu
30 +
31 +Tags: #kde_edu
32 +
33 +Differential Revision: https://phabricator.kde.org/D12525
34 +---
35 + kstars/dialogs/focusdialog.cpp | 1 +
36 + 1 file changed, 1 insertion(+)
37 +
38 +diff --git a/kstars/dialogs/focusdialog.cpp b/kstars/dialogs/focusdialog.cpp
39 +index d09ce9273..b264ee5c9 100644
40 +--- a/kstars/dialogs/focusdialog.cpp
41 ++++ b/kstars/dialogs/focusdialog.cpp
42 +@@ -24,6 +24,7 @@
43 + #include "skyobjects/skypoint.h"
44 +
45 + #include <KLocalizedString>
46 ++#include <QDoubleValidator>
47 + #include <KMessageBox>
48 + #include <QPushButton>
49 +
50 +--
51 +2.17.0
52 +
53
54 diff --git a/sci-astronomy/kstars/kstars-2.9.5.ebuild b/sci-astronomy/kstars/kstars-2.9.5.ebuild
55 index a481533f110..cb8577f0137 100644
56 --- a/sci-astronomy/kstars/kstars-2.9.5.ebuild
57 +++ b/sci-astronomy/kstars/kstars-2.9.5.ebuild
58 @@ -61,6 +61,8 @@ RDEPEND="${COMMON_DEPEND}
59 ${PYTHON_DEPS}
60 "
61
62 +PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
63 +
64 src_configure() {
65 local mycmakeargs=(
66 $(cmake-utils_use_find_package fits CFitsio)