Hello community,

here is the log from the commit of package kholidays for openSUSE:Factory 
checked in at 2016-03-07 15:02:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kholidays (Old)
 and      /work/SRC/openSUSE:Factory/.kholidays.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kholidays"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kholidays/kholidays.changes      2016-02-22 
10:16:33.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kholidays.new/kholidays.changes 2016-03-07 
15:02:36.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Mar  5 07:34:01 UTC 2016 - [email protected]
+
+- Add kholidays-glibc-2.23.patch to fix build with glibc 2.23
+
+-------------------------------------------------------------------

New:
----
  kholidays-glibc-2.23.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kholidays.spec ++++++
--- /var/tmp/diff_new_pack.dQ9Fu0/_old  2016-03-07 15:02:44.000000000 +0100
+++ /var/tmp/diff_new_pack.dQ9Fu0/_new  2016-03-07 15:02:44.000000000 +0100
@@ -25,6 +25,8 @@
 Group:          System/GUI/KDE
 Url:            http://www.kde.org
 Source:         kholidays-%{version}.tar.xz
+#PATCH-FIX-OPENSUSE kholidays-glibc-2.23.patch -- Fix build with glibc 2.23
+Patch1:         kholidays-glibc-2.23.patch
 BuildRequires:  boost-devel >= 1.34.0
 BuildRequires:  cyrus-sasl-devel
 BuildRequires:  extra-cmake-modules >= 1.0.0
@@ -72,8 +74,6 @@
 %description -n libKF5Holidays5
 This package contains the Holiday API library  for KDE PIM applications.
  
-
-
 %package devel
 Summary:        KDE PIM Libraries: Build Environment
 Group:          Development/Libraries/KDE
@@ -87,6 +87,7 @@
 
 %prep
 %setup -q -n kholidays-%{version}
+%patch1 -p1
 
 %build
   %cmake_kf5 -d build -- -DBUILD_TESTING=ON 
-DKF5_INCLUDE_INSTALL_DIR=%_kf5_includedir

++++++ kholidays-glibc-2.23.patch ++++++
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(),

Reply via email to