Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:5217
kholidays.openSUSE_Backports_SLE-12-SP1
kholidays-glibc-2.23.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kholidays-glibc-2.23.patch of Package kholidays.openSUSE_Backports_SLE-12-SP1
diff -urB kholidays-15.12.2/src/sunriseset.cpp new/src/sunriseset.cpp --- kholidays-15.12.2/src/sunriseset.cpp 2016-02-11 18:26:09.000000000 +0100 +++ new/src/sunriseset.cpp 2016-03-05 08:32:09.432970180 +0100 @@ -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(),
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor