pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc/kstars
Module Name: pkgsrc
Committed By: wiz
Date: Sat May 9 15:45:26 UTC 2026
Modified Files:
pkgsrc/misc/kstars: Makefile distinfo
Added Files:
pkgsrc/misc/kstars/patches: patch-kstars_ekos_focus_curvefit.cpp
patch-kstars_skyqpainter.cpp
Log Message:
kstars: fix one build issue (isnan)
another one remains.
To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 pkgsrc/misc/kstars/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/misc/kstars/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/misc/kstars/patches/patch-kstars_ekos_focus_curvefit.cpp \
pkgsrc/misc/kstars/patches/patch-kstars_skyqpainter.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/misc/kstars/Makefile
diff -u pkgsrc/misc/kstars/Makefile:1.92 pkgsrc/misc/kstars/Makefile:1.93
--- pkgsrc/misc/kstars/Makefile:1.92 Sat Apr 11 17:09:11 2026
+++ pkgsrc/misc/kstars/Makefile Sat May 9 15:45:26 2026
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.92 2026/04/11 17:09:11 wiz Exp $
+# $NetBSD: Makefile,v 1.93 2026/05/09 15:45:26 wiz Exp $
DISTNAME= kstars-3.8.1
PKGREVISION= 1
CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_KDE:=kstars/3.8.1/}
+MASTER_SITES= ${MASTER_SITE_KDE:=kstars/${PKGVERSION_NOREV}/}
HOMEPAGE= https://kstars.kde.org/
COMMENT= KDE desktop planetarium
Index: pkgsrc/misc/kstars/distinfo
diff -u pkgsrc/misc/kstars/distinfo:1.19 pkgsrc/misc/kstars/distinfo:1.20
--- pkgsrc/misc/kstars/distinfo:1.19 Tue Feb 17 19:25:01 2026
+++ pkgsrc/misc/kstars/distinfo Sat May 9 15:45:26 2026
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.19 2026/02/17 19:25:01 markd Exp $
+$NetBSD: distinfo,v 1.20 2026/05/09 15:45:26 wiz Exp $
-BLAKE2s (kstars-3.8.1.tar.xz) = 00ec270d78e5ede66417ba9196c47f267d34091c667efac30cf9d724fe2914bb
-SHA512 (kstars-3.8.1.tar.xz) = c8d564c6ddcb36cd478759045545bc9ac8d31c23277f2d99f779028d086a2def28eb684f35db642624ccb6db5c183fa701f3d085fb773f0c0be98cf29a8d7cdc
-Size (kstars-3.8.1.tar.xz) = 51894280 bytes
+BLAKE2s (kstars-3.8.2.tar.xz) = 9d1b54c2e6890ba2a000f7ae86faab76b51f2918686885576c3c7737c98a972c
+SHA512 (kstars-3.8.2.tar.xz) = 81f468d779055f7a38b4d6e204f0e51663a845197d7ab31a2e7343c8885494398628da2627794082e107d4472a4370a9447956beaddbbbb7055fc67cb9bd56a3
+Size (kstars-3.8.2.tar.xz) = 52049284 bytes
+SHA1 (patch-kstars_ekos_focus_curvefit.cpp) = 6b90358ab6e717efff2075cf73e6f91fd7783171
SHA1 (patch-kstars_indi_servermanager.cpp) = 6d59d0d9703d77f375f69ccf4da8d844cfafef6a
+SHA1 (patch-kstars_skyqpainter.cpp) = ce0ad0119feb333faf05790b81159883fe2424f4
Added files:
Index: pkgsrc/misc/kstars/patches/patch-kstars_ekos_focus_curvefit.cpp
diff -u /dev/null pkgsrc/misc/kstars/patches/patch-kstars_ekos_focus_curvefit.cpp:1.1
--- /dev/null Sat May 9 15:45:26 2026
+++ pkgsrc/misc/kstars/patches/patch-kstars_ekos_focus_curvefit.cpp Sat May 9 15:45:26 2026
@@ -0,0 +1,21 @@
+$NetBSD: patch-kstars_ekos_focus_curvefit.cpp,v 1.1 2026/05/09 15:45:26 wiz Exp $
+
+https://bugs.kde.org/show_bug.cgi?id=519958
+
+kstars-3.8.1/kstars/ekos/focus/curvefit.cpp: In member function 'bool Ekos::CurveFitting::getGaussianParams(StarParams*)':
+kstars-3.8.1/kstars/ekos/focus/curvefit.cpp:2593:9: error: 'isnan' was not declared in this scope; did you mean 'std::isnan'?
+ 2593 | if (isnan(FWHM) || FWHM < 0.0)
+ | ^~~~~
+ | std::isnan
+
+--- kstars/ekos/focus/curvefit.cpp.orig 2026-05-09 15:31:15.259844166 +0000
++++ kstars/ekos/focus/curvefit.cpp
+@@ -2590,7 +2590,7 @@ bool CurveFitting::getGaussianParams(StarParams *starP
+ double FWHMy = 2 * pow(2 * log(2) * sigmay2, 0.5);
+ double FWHM = (FWHMx + FWHMy) / 2.0;
+
+- if (isnan(FWHM) || FWHM < 0.0)
++ if (std::isnan(FWHM) || FWHM < 0.0)
+ {
+ qCDebug(KSTARS_EKOS_FOCUS) << QString("Error in CurveFitting::getGaussianParams FWHM=%1").arg(FWHM);
+ return false;
Index: pkgsrc/misc/kstars/patches/patch-kstars_skyqpainter.cpp
diff -u /dev/null pkgsrc/misc/kstars/patches/patch-kstars_skyqpainter.cpp:1.1
--- /dev/null Sat May 9 15:45:26 2026
+++ pkgsrc/misc/kstars/patches/patch-kstars_skyqpainter.cpp Sat May 9 15:45:26 2026
@@ -0,0 +1,20 @@
+$NetBSD: patch-kstars_skyqpainter.cpp,v 1.1 2026/05/09 15:45:26 wiz Exp $
+
+https://bugs.kde.org/show_bug.cgi?id=519958
+
+kstars-3.8.1/kstars/skyqpainter.cpp: In member function 'virtual bool SkyQPainter::drawImageOverlay(const QList<ImageOverlay>*, bool)':
+kstars-3.8.1/kstars/skyqpainter.cpp:921:25: error: 'isnan' was not declared in this scope
+ 921 | if (!visible || isnan(pos.x()) || isnan(pos.y()))
+ | ^~~~~
+
+--- kstars/skyqpainter.cpp.orig 2026-05-09 15:33:58.763669163 +0000
++++ kstars/skyqpainter.cpp
+@@ -918,7 +918,7 @@ bool SkyQPainter::drawImageOverlay(const QList<ImageOv
+
+ bool visible;
+ QPointF pos = m_proj->toScreen(&coord, true, &visible);
+- if (!visible || isnan(pos.x()) || isnan(pos.y()))
++ if (!visible || std::isnan(pos.x()) || std::isnan(pos.y()))
+ continue;
+
+ const auto PA = (orientation < 0) ? orientation + 360 : orientation;
Home |
Main Index |
Thread Index |
Old Index