summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-05-26 12:34:54 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-05-26 12:51:10 +0200
commit2c09e45056318e64b64629926dd8bd303166f91e (patch)
tree439ca7d532d41d65b7c9f62efd33b816e30ddeae /sci-astronomy/kstars/files
parentdev-python/pysol_cards: 0.8.15 version bump (diff)
downloadgentoo-2c09e45056318e64b64629926dd8bd303166f91e.tar.gz
gentoo-2c09e45056318e64b64629926dd8bd303166f91e.tar.bz2
gentoo-2c09e45056318e64b64629926dd8bd303166f91e.zip
sci-astronomy/kstars: 3.4.2 version bump
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-astronomy/kstars/files')
-rw-r--r--sci-astronomy/kstars/files/kstars-3.4.2-cfitsio-optional.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/sci-astronomy/kstars/files/kstars-3.4.2-cfitsio-optional.patch b/sci-astronomy/kstars/files/kstars-3.4.2-cfitsio-optional.patch
new file mode 100644
index 000000000000..b486debf3e4c
--- /dev/null
+++ b/sci-astronomy/kstars/files/kstars-3.4.2-cfitsio-optional.patch
@@ -0,0 +1,38 @@
+From f66d634768fb8d18caded24646946f134b8e70c2 Mon Sep 17 00:00:00 2001
+From: Jasem Mutlaq <mutlaqja@ikarustech.com>
+Date: Sun, 3 May 2020 20:13:15 +0300
+Subject: Don't run fitsviewer test if no fitsio
+
+Summary: Should fix https://build.kde.org/view/Failing/job/Extragear/job/kstars/job/kf5-qt5%20WindowsMSVCQt5.14/ (tests are not working as fitsio not available on Windows)
+
+Reviewers: #kstars, TallFurryMan, mutlaqja
+
+Reviewed By: #kstars, TallFurryMan, mutlaqja
+
+Subscribers: TallFurryMan, kde-edu
+
+Tags: #kstars, #kde_edu
+
+Differential Revision: https://phabricator.kde.org/D29388
+---
+ Tests/CMakeLists.txt | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
+index 020f697..1e3a09a 100644
+--- a/Tests/CMakeLists.txt
++++ b/Tests/CMakeLists.txt
+@@ -32,7 +32,10 @@ SET( TEST_KSLITE_LIBRARIES
+
+ add_subdirectory(auxiliary)
+ add_subdirectory(skyobjects)
+-add_subdirectory(fitsviewer)
++
++IF (CFITSIO_FOUND)
++ add_subdirectory(fitsviewer)
++ENDIF ()
+
+ IF (UNIX AND NOT APPLE AND CFITSIO_FOUND)
+ IF (BUILD_KSTARS_LITE)
+--
+cgit v1.1