Hello community, here is the log from the commit of package cdrdao for openSUSE:Factory checked in at 2016-05-31 12:10:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cdrdao (Old) and /work/SRC/openSUSE:Factory/.cdrdao.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cdrdao" Changes: -------- --- /work/SRC/openSUSE:Factory/cdrdao/cdrdao.changes 2013-04-17 18:22:48.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cdrdao.new/cdrdao.changes 2016-05-31 12:10:32.000000000 +0200 @@ -1,0 +2,5 @@ +Tue May 24 15:47:54 UTC 2016 - [email protected] + +- Add cdrdao-gcc6-fixes.patch: Fix build with gcc6. + +------------------------------------------------------------------- New: ---- cdrdao-gcc6-fixes.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cdrdao.spec ++++++ --- /var/tmp/diff_new_pack.A5IzgM/_old 2016-05-31 12:10:33.000000000 +0200 +++ /var/tmp/diff_new_pack.A5IzgM/_new 2016-05-31 12:10:33.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package cdrdao # -# Copyright (c) 2013 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 @@ -34,6 +34,8 @@ Patch2: cdrdao-fixes.patch # PATCH-FIX-OPENSUSE cdrdao-1.2.3-stat.patch [email protected] -- Missing includes causes failure build (patch taken from Fedora) Patch3: cdrdao-1.2.3-stat.patch +# PATCH-FIX-UPSTREAM cdrdao-gcc6-fixes.patch [email protected] -- Fix build with gcc6 +Patch4: cdrdao-gcc6-fixes.patch BuildRequires: gcc-c++ BuildRequires: libao-devel BuildRequires: libsigc++2-devel @@ -59,6 +61,7 @@ %patch1 %patch2 %patch3 -p1 +%patch4 -p1 %build %configure \ ++++++ cdrdao-gcc6-fixes.patch ++++++ From: Dominique Leuenberger <[email protected]> Upstream: https://sourceforge.net/p/cdrdao/patches/27/ Fix build with gcc 6 ==================== [ 42s] CdrDriver.cc:498:64: error: narrowing conversion of '255' from 'int' to 'char' inside { } [-Wnarrowing] [ 42s] char CdrDriver::REMOTE_MSG_SYNC_[4] = { 0xff, 0x00, 0xff, 0x00 }; Index: cdrdao-1.2.3/dao/CdrDriver.cc =================================================================== --- cdrdao-1.2.3.orig/dao/CdrDriver.cc +++ cdrdao-1.2.3/dao/CdrDriver.cc @@ -495,7 +495,7 @@ unsigned char CdrDriver::syncPattern[12] 0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0 }; -char CdrDriver::REMOTE_MSG_SYNC_[4] = { 0xff, 0x00, 0xff, 0x00 }; +unsigned char CdrDriver::REMOTE_MSG_SYNC_[4] = { 0xff, 0x00, 0xff, 0x00 }; /* Maps a string to the corresponding driver option value Index: cdrdao-1.2.3/dao/CdrDriver.h =================================================================== --- cdrdao-1.2.3.orig/dao/CdrDriver.h +++ cdrdao-1.2.3/dao/CdrDriver.h @@ -440,7 +440,7 @@ protected: bool fullBurn_; static unsigned char syncPattern[12]; - static char REMOTE_MSG_SYNC_[4]; + static unsigned char REMOTE_MSG_SYNC_[4]; static int speed2Mult(int); static int mult2Speed(int);
