summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-10-05 21:47:04 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-10-05 22:46:18 +0200
commitc0593dbf15bc7cd2397321cf31e4b393c42a060b (patch)
treee9b02baa20f27ec04793bc2240541ff718671042 /sci-astronomy
parentsci-libs/indilib: add 1.9.8 (diff)
downloadgentoo-c0593dbf15bc7cd2397321cf31e4b393c42a060b.tar.gz
gentoo-c0593dbf15bc7cd2397321cf31e4b393c42a060b.tar.bz2
gentoo-c0593dbf15bc7cd2397321cf31e4b393c42a060b.zip
sci-astronomy/kstars: Drop obsolete header
Upstream commit bc80093354457d8f057115a75877ce330e65e79e Closes: https://bugs.gentoo.org/867814 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/kstars/files/kstars-3.5.9-obsolete-header.patch26
-rw-r--r--sci-astronomy/kstars/kstars-3.5.9.ebuild2
2 files changed, 28 insertions, 0 deletions
diff --git a/sci-astronomy/kstars/files/kstars-3.5.9-obsolete-header.patch b/sci-astronomy/kstars/files/kstars-3.5.9-obsolete-header.patch
new file mode 100644
index 000000000000..6cad0329d3ba
--- /dev/null
+++ b/sci-astronomy/kstars/files/kstars-3.5.9-obsolete-header.patch
@@ -0,0 +1,26 @@
+From bc80093354457d8f057115a75877ce330e65e79e Mon Sep 17 00:00:00 2001
+From: Jasem Mutlaq <mutlaqja@ikarustech.com>
+Date: Fri, 1 Jul 2022 22:04:52 +0300
+Subject: [PATCH] engine.h no longer available with latest KF5
+
+* asturm 2022-10-05: Cleanup unrelated style changes.
+
+---
+ Tests/kstars_ui/test_catalog_download.cpp | 9 +++++----
+ 1 file changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/Tests/kstars_ui/test_catalog_download.cpp b/Tests/kstars_ui/test_catalog_download.cpp
+index 111e5a70f..d94c99f5f 100644
+--- a/Tests/kstars_ui/test_catalog_download.cpp
++++ b/Tests/kstars_ui/test_catalog_download.cpp
+@@ -4,7 +4,6 @@
+ #include "test_kstars_startup.h"
+
+ #include "Options.h"
+-#include <engine.h>
+ #include <KNS3/DownloadWidget>
+ #include <KNS3/Button>
+ #include <KMessageBox>
+--
+GitLab
+
diff --git a/sci-astronomy/kstars/kstars-3.5.9.ebuild b/sci-astronomy/kstars/kstars-3.5.9.ebuild
index 4a205c269d69..8a67421da78e 100644
--- a/sci-astronomy/kstars/kstars-3.5.9.ebuild
+++ b/sci-astronomy/kstars/kstars-3.5.9.ebuild
@@ -73,6 +73,8 @@ RDEPEND="${COMMON_DEPEND}
>=dev-qt/qtquickcontrols2-${QTMIN}:5
"
+PATCHES=( "${FILESDIR}/${P}-obsolete-header.patch" ) # bug 867814
+
src_configure() {
local mycmakeargs=(
-DFETCH_TRANSLATIONS=OFF