mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
kStars: bump version
This commit is contained in:
@@ -8,11 +8,11 @@ For students and teachers, it supports adjustable simulation speeds in order to
|
||||
phenomena that happen over long timescales, the KStars Astrocalculator to predict \
|
||||
conjunctions, and many common astronomical calculations."
|
||||
HOMEPAGE="https://edu.kde.org/kstars"
|
||||
COPYRIGHT="2010-2019 KDE Organisation"
|
||||
COPYRIGHT="2010-2020 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.kde.org/stable/kstars/kstars-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="dc8c0170b2735a1319bb21c2dddbecbef2b5d041f4216be8c14e0730bc06937b"
|
||||
CHECKSUM_SHA256="1300c0a9ef46972c56bbf2cca238b2106b7b8e6160f29dd2f057c3fdd09045ef"
|
||||
PATCHES="kstars-$portVersion.patchset"
|
||||
ADDITIONAL_FILES="kstars.rdef.in"
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
From 06785240556b89317d27f6117c6e3b01c6b5e15d Mon Sep 17 00:00:00 2001
|
||||
From a56ec46adf6ed25d5a9fe8dda633a7b6ebd4095c Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Wed, 8 Jan 2020 12:20:41 +1000
|
||||
Date: Fri, 1 May 2020 17:54:01 +1000
|
||||
Subject: Fix build for Haiku
|
||||
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 93b6b35..17a6d29 100644
|
||||
index 19afc3d..390dc8a 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -290,6 +290,19 @@ if (ANDROID)
|
||||
@@ -130,22 +130,23 @@ index fa3ae42..660498a 100644
|
||||
#endif
|
||||
|
||||
diff --git a/kstars/main.cpp b/kstars/main.cpp
|
||||
index bdd17f3..93ceb4c 100644
|
||||
index 8d537a6..2f4e897 100644
|
||||
--- a/kstars/main.cpp
|
||||
+++ b/kstars/main.cpp
|
||||
@@ -50,6 +50,11 @@
|
||||
#include <QtGlobal>
|
||||
#include <QTranslator>
|
||||
@@ -54,6 +54,12 @@
|
||||
#include <signal.h>
|
||||
#endif
|
||||
|
||||
+#ifdef Q_OS_HAIKU
|
||||
+#include <unistd.h>
|
||||
+#include <sys/types.h>
|
||||
+#include <signal.h>
|
||||
+#endif
|
||||
|
||||
+
|
||||
#ifndef KSTARS_LITE
|
||||
static const char description[] = I18N_NOOP("Desktop Planetarium");
|
||||
@@ -335,6 +340,9 @@ int main(int argc, char *argv[])
|
||||
static const char notice[] = I18N_NOOP("Some images in KStars are for non-commercial use only. See README.images.");
|
||||
@@ -347,6 +353,9 @@ int main(int argc, char *argv[])
|
||||
KStarsLite::createInstance(true);
|
||||
|
||||
app.exec();
|
||||
@@ -156,5 +157,5 @@ index bdd17f3..93ceb4c 100644
|
||||
return 0;
|
||||
}
|
||||
--
|
||||
2.24.1
|
||||
2.26.0
|
||||
|
||||
Reference in New Issue
Block a user