Hello community,

here is the log from the commit of package kolor-manager for openSUSE:Factory 
checked in at 2016-07-03 12:28:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kolor-manager (Old)
 and      /work/SRC/openSUSE:Factory/.kolor-manager.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kolor-manager"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kolor-manager/kolor-manager.changes      
2015-07-12 22:52:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kolor-manager.new/kolor-manager.changes 
2016-07-03 12:28:40.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jun 24 12:00:00 UTC 2016 - [email protected]
+
+- Added 0002-fix-header-includes-for-uint32_t-and-friends.patch, 
+  to fix building building. Extracted from git master.
+
+-------------------------------------------------------------------

New:
----
  0002-fix-header-includes-for-uint32_t-and-friends.patch

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

Other differences:
------------------
++++++ kolor-manager.spec ++++++
--- /var/tmp/diff_new_pack.pifMBN/_old  2016-07-03 12:28:41.000000000 +0200
+++ /var/tmp/diff_new_pack.pifMBN/_new  2016-07-03 12:28:41.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package kolor-manager
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2010-2014 Kai-Uwe Behrmann <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -43,6 +43,7 @@
 Source:         %{name}-%{version}.tar.bz2
 # PATCH-FIX-UPSTREAM 0001-fix_CMakeLists.patch [email protected]
 Patch0:         0001-fix_CMakeLists.patch
+Patch1:         0002-fix-header-includes-for-uint32_t-and-friends.patch
 
 Requires:       icc-examin
 Requires:       oyranos
@@ -75,6 +76,7 @@
 %prep
 %setup -n %{name}-%{version} -q
 %patch0 -p1
+%patch1 -p1
 
 %build
   %cmake_kde4

++++++ 0002-fix-header-includes-for-uint32_t-and-friends.patch ++++++
>From 43bb8658ff74e5a1e089fbce7f4fa5c9cb4653bd Mon Sep 17 00:00:00 2001
From: Kai-Uwe Behrmann <[email protected]>
Date: Sun, 28 Sep 2014 22:39:39 +0200
Subject: fix header includes for uint32_t and friends

X headers do not necessarily include stdint.h

diff --git a/kolor-server/x11-helpers.h b/kolor-server/x11-helpers.h
index 476cec0..1036ba9 100644
--- a/kolor-server/x11-helpers.h
+++ b/kolor-server/x11-helpers.h
@@ -29,6 +29,9 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 
DAMAGE.
 #ifndef X11_HELPERS_H_
 #define X11_HELPERS_H_
 
+#include <stdint.h> /* uint32_t */
+#include <arpa/inet.h> /* ntohl() */
+
 namespace X11 {
 #include <X11/Xlib.h>
 #include <X11/Xatom.h>
@@ -44,14 +47,6 @@ namespace X11 {
 
 using X11::Atom;
 using X11::XcolorProfile;
-using X11::intmax_t;
-using X11::uint8_t;
-using X11::uint16_t;
-using X11::uint32_t;
-using X11::uintmax_t;
-
-using X11::ntohl;
-using X11::htonl;
 
 
 /*

Reply via email to