Hello community,

here is the log from the commit of package kdelibs3 for openSUSE:Factory 
checked in at 2016-06-23 13:36:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdelibs3 (Old)
 and      /work/SRC/openSUSE:Factory/.kdelibs3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdelibs3"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdelibs3/kdelibs3.changes        2015-09-08 
18:09:19.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kdelibs3.new/kdelibs3.changes   2016-06-23 
13:36:57.000000000 +0200
@@ -1,0 +2,8 @@
+Mon Jun 20 16:12:43 UTC 2016 - [email protected]
+
+- add patch: kdelibs-3.5.10-gcc6.patch
+  * fix boo#985092
+  * fix narrowing conversion from int to char inside {}
+  * fix call of overloaded 'abs(unsigned int&)' is ambiguous
+
+-------------------------------------------------------------------

New:
----
  kdelibs-3.5.10-gcc6.patch

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

Other differences:
------------------
++++++ kdelibs3.spec ++++++
--- /var/tmp/diff_new_pack.inf0kb/_old  2016-06-23 13:37:01.000000000 +0200
+++ /var/tmp/diff_new_pack.inf0kb/_new  2016-06-23 13:37:01.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package kdelibs3
 #
-# Copyright (c) 2015 SUSE LINUX 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
@@ -209,6 +209,7 @@
 Patch232:       kdelibs-3.5.10-cups20.patch
 Patch233:       kdelibs-3.5.10-CVE-2013-2074.patch
 Patch234:       fix-perl-no-defined-array.diff
+Patch235:       kdelibs-3.5.10-gcc6.patch
 
 %description
 This package contains kdelibs, one of the basic packages of the K
@@ -418,6 +419,7 @@
 %patch231 -p1
 %patch232 -p1
 %patch234 -p1
+%patch235 -p1
 
 # disable a debug feature
 sed -i 's|#define KICONLOADER_CHECKS||g' kdecore/kiconloader.cpp


++++++ kdelibs-3.5.10-gcc6.patch ++++++
Index: kdelibs-3.5.10/kate/part/katebuffer.cpp
===================================================================
--- kdelibs-3.5.10.orig/kate/part/katebuffer.cpp
+++ kdelibs-3.5.10/kate/part/katebuffer.cpp
@@ -20,6 +20,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <unistd.h>
+#include <cmath>
 
 #include "katebuffer.h"
 #include "katebuffer.moc"
@@ -122,8 +123,8 @@ class KateFileLoader
           if ((c >= 2) && (m_codec->mibEnum() == 1000) && (m_buffer[1] == 
0x00))
           {
             // utf16LE, we need to put the decoder in LE mode
-            char reverseUtf16[3] = {0xFF, 0xFE, 0x00};
-            m_decoder->toUnicode(reverseUtf16, 2);
+            unsigned char reverseUtf16[3] = {0xFF, 0xFE, 0x00};
+            m_decoder->toUnicode((char *)reverseUtf16, 2);
           }
 
           processNull (c);
@@ -917,7 +918,7 @@ void KateBuffer::updatePreviousNotEmptyL
   } while (textLine->firstChar()==-1);
   kdDebug(13020)<<"updatePreviousNotEmptyLine: updating 
line:"<<(blk->startLine()+current_line)<<endl;
   QMemArray<uint> foldingList=textLine->foldingListArray();
-  while ( (foldingList.size()>0)  && ( 
abs(foldingList[foldingList.size()-2])==1)) {
+  while ( (foldingList.size()>0)  && ( 
std::abs(foldingList[foldingList.size()-2])==1)) {
     foldingList.resize(foldingList.size()-2,QGArray::SpeedOptim);
   }
   addIndentBasedFoldingInformation(foldingList,addindent,deindent);

Reply via email to