Hello community,

here is the log from the commit of package kaffeine for openSUSE:Factory 
checked in at 2016-06-19 12:53:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kaffeine (Old)
 and      /work/SRC/openSUSE:Factory/.kaffeine.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kaffeine"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kaffeine/kaffeine.changes        2016-02-24 
18:43:05.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kaffeine.new/kaffeine.changes   2016-06-19 
12:53:04.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Jun 17 18:57:21 UTC 2016 - wba...@tmo.at
+
+- Add kaffeine-gcc6.patch to fix build with gcc6 (boo#985371)
+
+-------------------------------------------------------------------

New:
----
  kaffeine-gcc6.patch

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

Other differences:
------------------
++++++ kaffeine.spec ++++++
--- /var/tmp/diff_new_pack.wKMh8U/_old  2016-06-19 12:53:06.000000000 +0200
+++ /var/tmp/diff_new_pack.wKMh8U/_new  2016-06-19 12:53:06.000000000 +0200
@@ -45,6 +45,8 @@
 Patch8:         support_for_sundtek_tv_tuners.patch
 #PATCH-FIX-UPSTREAM kaffeine-cmake34.patch -- Include files containing the 
functions used by the build system
 Patch9:         kaffeine-cmake34.patch
+# PATCH-FIX-UPSTREAM kaffeine-gcc6.patch boo#985371 wba...@tmo.at -- fix build 
with gcc6
+Patch10:        kaffeine-gcc6.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 BuildRequires:  libkde4-devel
@@ -82,6 +84,7 @@
 %patch7
 %patch8 -p1
 %patch9 -p1
+%patch10 -p1
 
 %build
 %cmake_kde4 -d build

++++++ kaffeine-gcc6.patch ++++++
--- a/src/dvb/dvbdevice.cpp
+++ b/src/dvb/dvbdevice.cpp
@@ -353,8 +353,8 @@
 
        switch (config->configuration) {
        case DvbConfigBase::DiseqcSwitch: {
-               char cmd[] = { 0xe0, 0x10, 0x38, 0x00 };
-               cmd[3] = 0xf0 | (config->lnbNumber << 2) | (horPolar ? 2 : 0) | 
(highBand ? 1 : 0);
+               char cmd[] = { char(0xe0), 0x10, 0x38, 0x00 };
+               cmd[3] = 0xf0 | char(config->lnbNumber << 2) | (horPolar ? 2 : 
0) | (highBand ? 1 : 0);
                backend->sendMessage(cmd, sizeof(cmd));
                usleep(15000);
 
@@ -399,7 +399,7 @@
                        value |= 0xd000;
                }
 
-               char cmd[] = { 0xe0, 0x31, 0x6e, (value / 256), (value % 256) };
+               char cmd[] = { char(0xe0), 0x31, 0x6e, char(value / 256), 
char(value % 256) };
                backend->sendMessage(cmd, sizeof(cmd));
                usleep(15000);
                moveRotor = true;
@@ -407,7 +407,7 @@
            }
 
        case DvbConfigBase::PositionsRotor: {
-               char cmd[] = { 0xe0, 0x31, 0x6b, config->lnbNumber };
+               char cmd[] = { char(0xe0), 0x31, 0x6b, char(config->lnbNumber) 
};
                backend->sendMessage(cmd, sizeof(cmd));
                usleep(15000);
                moveRotor = true;


Reply via email to