diff options
author | markd <markd@pkgsrc.org> | 2013-11-07 11:53:59 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2013-11-07 11:53:59 +0000 |
commit | 1fa837a026be336a4dcca6300fa3b399ed6ebad7 (patch) | |
tree | f6cf5752f96c0cb922f4b52cfbd07b3cfc61d99f /misc/kstars/patches | |
parent | 20a40e1f58139523947c208e52200102731e3b65 (diff) | |
download | pkgsrc-1fa837a026be336a4dcca6300fa3b399ed6ebad7.tar.gz |
Update to KDE SC 4.11.3
bugfixes, many new features, improved stability and performance.
Diffstat (limited to 'misc/kstars/patches')
-rw-r--r-- | misc/kstars/patches/patch-kstars_skyobjects_ksmoon.cpp | 15 | ||||
-rw-r--r-- | misc/kstars/patches/patch-kstars_skyobjects_starobject.cpp | 13 |
2 files changed, 13 insertions, 15 deletions
diff --git a/misc/kstars/patches/patch-kstars_skyobjects_ksmoon.cpp b/misc/kstars/patches/patch-kstars_skyobjects_ksmoon.cpp deleted file mode 100644 index fc7e1a7b2f2..00000000000 --- a/misc/kstars/patches/patch-kstars_skyobjects_ksmoon.cpp +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-kstars_skyobjects_ksmoon.cpp,v 1.1 2013/04/03 10:52:03 markd Exp $ - -'isnan' was not declared in scope - ---- kstars/skyobjects/ksmoon.cpp.orig 2013-03-01 06:45:57.000000000 +0000 -+++ kstars/skyobjects/ksmoon.cpp -@@ -222,7 +222,7 @@ void KSMoon::findMagnitude(const KSNumbe - // relevant data put into ksplanetbase.h) was taken from - // SkyChart v3 Beta - double phd = phase().Degrees(); -- if( isnan( phd ) ) // Avoid nanny phases. -+ if( std::isnan( phd ) ) // Avoid nanny phases. - return; - int p = floor( phd ); - if( p > 180 ) diff --git a/misc/kstars/patches/patch-kstars_skyobjects_starobject.cpp b/misc/kstars/patches/patch-kstars_skyobjects_starobject.cpp new file mode 100644 index 00000000000..89fa83fff09 --- /dev/null +++ b/misc/kstars/patches/patch-kstars_skyobjects_starobject.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-kstars_skyobjects_starobject.cpp,v 1.1 2013/11/07 12:35:42 markd Exp $ + +--- kstars/skyobjects/starobject.cpp.orig 2013-08-28 17:03:16.000000000 +0000 ++++ kstars/skyobjects/starobject.cpp +@@ -282,7 +282,7 @@ void StarObject::getIndexCoords( KSNumbe + + pmms = pmMagnitudeSquared(); + +- if( isnan( pmms ) || pmms * num->julianMillenia() * num->julianMillenia() < 1. ) { ++ if( std::isnan( pmms ) || pmms * num->julianMillenia() * num->julianMillenia() < 1. ) { + // Ignore corrections + *ra = ra0().Degrees(); + *dec = dec0().Degrees(); |