Hello community,

here is the log from the commit of package kmime for openSUSE:Factory checked 
in at 2017-06-12 15:20:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kmime (Old)
 and      /work/SRC/openSUSE:Factory/.kmime.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kmime"

Mon Jun 12 15:20:19 2017 rev:22 rq:502041 version:17.04.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/kmime/kmime.changes      2017-05-22 
10:41:27.591865292 +0200
+++ /work/SRC/openSUSE:Factory/.kmime.new/kmime.changes 2017-06-12 
15:20:22.498420132 +0200
@@ -1,0 +2,11 @@
+Wed Jun 07 17:42:51 CEST 2017 - [email protected]
+
+- Update to 17.04.2
+  * New bugfix release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-17.04.2.php
+- Changes since 17.04.1:
+  * Make it compile on windows
+  * Look at to make it compile on windows
+
+-------------------------------------------------------------------

Old:
----
  kmime-17.04.1.tar.xz

New:
----
  kmime-17.04.2.tar.xz

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

Other differences:
------------------
++++++ kmime.spec ++++++
--- /var/tmp/diff_new_pack.vLOKGS/_old  2017-06-12 15:20:23.142329271 +0200
+++ /var/tmp/diff_new_pack.vLOKGS/_new  2017-06-12 15:20:23.146328708 +0200
@@ -20,7 +20,7 @@
 
 %define kf5_version 5.19.0
 Name:           kmime
-Version:        17.04.1
+Version:        17.04.2
 Release:        0
 %define kf5_version 5.26.0
 # Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA)

++++++ kmime-17.04.1.tar.xz -> kmime-17.04.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kmime-17.04.1/CMakeLists.txt 
new/kmime-17.04.2/CMakeLists.txt
--- old/kmime-17.04.1/CMakeLists.txt    2017-05-09 02:27:00.000000000 +0200
+++ new/kmime-17.04.2/CMakeLists.txt    2017-06-06 02:24:11.000000000 +0200
@@ -1,5 +1,5 @@
 cmake_minimum_required(VERSION 3.0)
-set(PIM_VERSION "5.5.1")
+set(PIM_VERSION "5.5.2")
 
 project(KMime VERSION ${PIM_VERSION})
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kmime-17.04.1/po/tr/libkmime5.po 
new/kmime-17.04.2/po/tr/libkmime5.po
--- old/kmime-17.04.1/po/tr/libkmime5.po        2017-05-09 02:27:00.000000000 
+0200
+++ new/kmime-17.04.2/po/tr/libkmime5.po        2017-06-06 02:24:11.000000000 
+0200
@@ -19,9 +19,9 @@
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"(http://www.transifex.com/projects/p/kdepimlibs-k-tr/language/tr/)\n"
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 "X-Generator: Lokalize 1.4\n"
+"(http: //www.transifex.com/projects/p/kdepimlibs-k-tr/language/tr/)\n"
 
 #: kmime_dateformatter.cpp:270
 #, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kmime-17.04.1/src/kmime_util.cpp 
new/kmime-17.04.2/src/kmime_util.cpp
--- old/kmime-17.04.1/src/kmime_util.cpp        2017-04-26 06:58:05.000000000 
+0200
+++ new/kmime-17.04.2/src/kmime_util.cpp        2017-05-22 20:53:56.000000000 
+0200
@@ -43,7 +43,11 @@
 #include <ctype.h>
 #include <time.h>
 #include <stdlib.h>
+#ifdef WIN32
+#include <process.h>
+#else
 #include <unistd.h>
+#endif
 
 using namespace KMime;
 
@@ -160,7 +164,12 @@
     p[10] = '\0';
     now = time(nullptr);
     ran = 1 + (int)(1000.0 * rand() / (RAND_MAX + 1.0));
-    timeval = (now / ran) + getpid();
+    timeval = (now / ran)
+        #ifdef WIN32
+            + _getpid();
+        #else
+            + getpid();
+        #endif
 
     for (int i = 0; i < 10; i++) {
         pos = (int)(61.0 * rand() / (RAND_MAX + 1.0));
@@ -286,6 +295,9 @@
 }
 
 #ifndef HAVE_STRCASESTR
+#ifdef WIN32
+#define strncasecmp _strnicmp
+#endif
 static const char *strcasestr(const char *haystack, const char *needle)
 {
     /* Copied from libreplace as part of qtwebengine 5.5.1 */


Reply via email to