commit:     c0593dbf15bc7cd2397321cf31e4b393c42a060b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  5 19:47:04 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Oct  5 20:46:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0593dbf

sci-astronomy/kstars: Drop obsolete header

Upstream commit bc80093354457d8f057115a75877ce330e65e79e

Closes: https://bugs.gentoo.org/867814
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/kstars-3.5.9-obsolete-header.patch       | 26 ++++++++++++++++++++++
 sci-astronomy/kstars/kstars-3.5.9.ebuild           |  2 ++
 2 files changed, 28 insertions(+)

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 <[email protected]>
+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

Reply via email to