diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-27 21:10:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-27 21:10:49 +0100 |
commit | 3ca7a521e79841f7247feb67780a70722c997d55 (patch) | |
tree | 30b9afb1b822575d8e6ac4009489795a105a56ce /sci-astronomy/stellarium/files/stellarium-0.22.1-fix-conv.patch | |
parent | c268590c556cb766e1ca3f55fde8a40cdde19c44 (diff) |
gentoo auto-resync : 27:09:2022 - 21:10:48
Diffstat (limited to 'sci-astronomy/stellarium/files/stellarium-0.22.1-fix-conv.patch')
-rw-r--r-- | sci-astronomy/stellarium/files/stellarium-0.22.1-fix-conv.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sci-astronomy/stellarium/files/stellarium-0.22.1-fix-conv.patch b/sci-astronomy/stellarium/files/stellarium-0.22.1-fix-conv.patch deleted file mode 100644 index 5187837fbb61..000000000000 --- a/sci-astronomy/stellarium/files/stellarium-0.22.1-fix-conv.patch +++ /dev/null @@ -1,23 +0,0 @@ -From dd65fdf5a332d62834ac1cfe9639e220ea635c55 Mon Sep 17 00:00:00 2001 -From: "Alexander V. Wolf" <alex.v.wolf@gmail.com> -Date: Wed, 25 May 2022 20:55:15 +0700 -Subject: [PATCH] Fixed conversion tool radToHms(): avoiding possible negative - zero for value of seconds (see #2460) - ---- - src/core/StelUtils.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/core/StelUtils.cpp b/src/core/StelUtils.cpp -index 93a55ebb957..b03f55a68ec 100644 ---- a/src/core/StelUtils.cpp -+++ b/src/core/StelUtils.cpp -@@ -140,7 +140,7 @@ void radToHms(double angle, unsigned int& h, unsigned int& m, double& s) - - h = static_cast<unsigned int>(angle); - m = static_cast<unsigned int>((angle-h)*60); -- s = (angle-h)*3600.-60.*m; -+ s = qAbs((angle-h)*3600.-60.*m); - } - - /************************************************************************* |