diff options
author | Eric Hameleers <alien@slackware.com> | 2020-07-30 19:45:19 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-07-30 19:45:19 +0200 |
commit | 52b1f1cb9f8d4e1fb1fcbde59930a105a819b0b4 (patch) | |
tree | 22f1205f0276563548f2864997c82a8af7307fcd /kde/patch/kholidays/kholidays_isnan.patch | |
parent | 42f29689f597520389829b6d22c56ee21ace7657 (diff) | |
download | ktown-52b1f1cb9f8d4e1fb1fcbde59930a105a819b0b4.tar.gz ktown-52b1f1cb9f8d4e1fb1fcbde59930a105a819b0b4.tar.xz |
Cleanup unused KDE patches
Thanks to Patrick Volkerding for the effort.
Diffstat (limited to 'kde/patch/kholidays/kholidays_isnan.patch')
-rw-r--r-- | kde/patch/kholidays/kholidays_isnan.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/kde/patch/kholidays/kholidays_isnan.patch b/kde/patch/kholidays/kholidays_isnan.patch deleted file mode 100644 index 55e79aa..0000000 --- a/kde/patch/kholidays/kholidays_isnan.patch +++ /dev/null @@ -1,30 +0,0 @@ -From: Milian Wolff <milian.wolff@kdab.com> -Date: Mon, 07 Mar 2016 09:58:37 +0000 -Subject: Fix compile with clang: isnan is in the std namespace when including cmath. -X-Git-Url: http://quickgit.kde.org/?p=kholidays.git&a=commitdiff&h=488aa158f7a0a99604a13a897a11388c02f8d39e ---- -Fix compile with clang: isnan is in the std namespace when including cmath. ---- - - ---- a/src/sunriseset.cpp -+++ b/src/sunriseset.cpp -@@ -180,7 +180,7 @@ - double hourAngle = calcHourAngleSunrise(latitude, solarDec); - double delta = longitude + radToDeg(hourAngle); - QTime timeUTC(0, 0); -- if (isnan(delta)) -+ if (std::isnan(delta)) - return timeUTC; - timeUTC = timeUTC.addSecs((720 - (4.0 * delta) - eqTime) * 60); - return QTime(timeUTC.hour(), -@@ -199,7 +199,7 @@ - double hourAngle = -calcHourAngleSunrise(latitude, solarDec); - double delta = longitude + radToDeg(hourAngle); - QTime timeUTC(0, 0); -- if (isnan(delta)) -+ if (std::isnan(delta)) - return timeUTC; - timeUTC = timeUTC.addSecs((720 - (4.0 * delta) - eqTime) * 60); - return QTime(timeUTC.hour(), - |