Hello community,

here is the log from the commit of package kdeedu3 for openSUSE:Factory checked 
in at 2016-04-30 23:31:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdeedu3 (Old)
 and      /work/SRC/openSUSE:Factory/.kdeedu3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdeedu3"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdeedu3/kdeedu3.changes  2012-04-02 
11:23:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kdeedu3.new/kdeedu3.changes     2016-04-30 
23:31:45.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Apr 27 11:23:40 UTC 2016 - [email protected]
+
+- add kdeedu3_isnan_ppc64le_cast.patch
+
+-------------------------------------------------------------------

New:
----
  kdeedu3_isnan_ppc64le_cast.patch

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

Other differences:
------------------
++++++ kdeedu3.spec ++++++
--- /var/tmp/diff_new_pack.lvM9qb/_old  2016-04-30 23:31:47.000000000 +0200
+++ /var/tmp/diff_new_pack.lvM9qb/_new  2016-04-30 23:31:47.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package kdeedu3 (Version 3.5.10)
+# spec file for package kdeedu3
 #
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -13,19 +13,23 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
 
 Name:           kdeedu3
 BuildRequires:  kdelibs3-devel
+Summary:        Education Applications
 License:        GPL-2.0+
 Group:          System/GUI/KDE
-Summary:        Education Applications
 Version:        3.5.10
-Release:        1
+Release:        0
 Url:            http://www.kde.org
 BuildRequires:  fdupes
-Provides:       kgeo,keduca
+Provides:       keduca
+Provides:       kgeo
 Source0:        kdeedu-%{version}.tar.bz2
 Patch0:         3_5_BRANCH.diff
+Patch1:         kdeedu3_isnan_ppc64le_cast.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -51,6 +55,7 @@
 %prep
 %setup -n kdeedu-%{version} -q
 %patch0
+%patch1 -p1
 . /etc/opt/kde3/common_options
 update_admin
 

++++++ kdeedu3_isnan_ppc64le_cast.patch ++++++
From: Michel Normand <[email protected]>
Subject: kdeedu3 isnan ppc64le cast
Date: Wed, 27 Apr 2016 13:10:23 +0200

avoid compilation error for ppc64le
===
fitsviewer.cpp: In member function 'float* FITSViewer::loadData(const char*, 
float*)':
fitsviewer.cpp:339:9: error: non-floating-point argument in call to function 
'__builtin_isnan'
if (isnan(pixval_32)) pixval_32 = 0;
        ^
===

Signed-off-by: Michel Normand <[email protected]>
---
 kstars/kstars/fitsviewer.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: kdeedu-3.5.10/kstars/kstars/fitsviewer.cpp
===================================================================
--- kdeedu-3.5.10.orig/kstars/kstars/fitsviewer.cpp
+++ kdeedu-3.5.10/kstars/kstars/fitsviewer.cpp
@@ -336,7 +336,7 @@ float * FITSViewer::loadData(const char
     {
     FITS_GETBITPIX32(tempData, pixval_32);
     //pixval_32 = ntohl(pixval_32);
-    if (isnan(pixval_32)) pixval_32 = 0;
+    if (isnan(float(pixval_32))) pixval_32 = 0;
     buffer[i] = pixval_32;
     tempData+=4;
    }

Reply via email to