Hello community, here is the log from the commit of package ffado for openSUSE:Factory checked in at 2016-02-18 11:06:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ffado (Old) and /work/SRC/openSUSE:Factory/.ffado.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ffado" Changes: -------- --- /work/SRC/openSUSE:Factory/ffado/ffado-mixer.changes 2015-07-16 17:13:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ffado.new/ffado-mixer.changes 2016-02-18 12:35:49.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Feb 8 11:51:37 UTC 2016 - [email protected] + +- Add ffado-gcc6.patch to move #include <math.h> outside of a namespace + and to not declare errno as local variable. + +------------------------------------------------------------------- ffado.changes: same change New: ---- ffado-gcc6.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ffado-mixer.spec ++++++ --- /var/tmp/diff_new_pack.9pxou0/_old 2016-02-18 12:35:49.000000000 +0100 +++ /var/tmp/diff_new_pack.9pxou0/_new 2016-02-18 12:35:49.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package ffado-mixer # -# 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 @@ -26,6 +26,7 @@ Url: http://www.ffado.org/ Source0: %{tname}-%{version}.tar.bz2 Patch1: ffado_SConstruct_powerpc_update.patch +Patch2: ffado-gcc6.patch BuildRequires: alsa-devel BuildRequires: dbus-1-python-devel BuildRequires: doxygen @@ -77,6 +78,7 @@ %prep %setup -n %{tname}-%{version} -q %patch1 -p1 +%patch2 %build scons %{?jobs:--jobs=%jobs} \ ++++++ ffado.spec ++++++ --- /var/tmp/diff_new_pack.9pxou0/_old 2016-02-18 12:35:49.000000000 +0100 +++ /var/tmp/diff_new_pack.9pxou0/_new 2016-02-18 12:35:49.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package ffado # -# 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 @@ -39,6 +39,7 @@ # No current date and time allowed. Patch0: libffado-date_time.patch Patch1: ffado_SConstruct_powerpc_update.patch +Patch2: ffado-gcc6.patch BuildRequires: alsa-devel BuildRequires: dbus-1-python-devel BuildRequires: fdupes @@ -107,11 +108,12 @@ %setup -n %{tname}-%{version} -q %patch0 %patch1 -p1 +%patch2 # The svn repo is actually unavailable #cp %%{SOURCE2} . %build -export EXTRA_FLAGS="" +export EXTRA_FLAGS="-Wno-deprecated-declarations" %ifarch %arm export EXTRA_FLAGS="${EXTRA_FLAGS} -fPIC" %endif ++++++ ffado-gcc6.patch ++++++ --- src/libutil/TimestampedBuffer.cpp | 2 +- tests/test-enhanced-mixer.cpp | 3 ++- tests/test-mixer.cpp | 3 ++- tests/test-pan.cpp | 3 ++- tests/test-volume.cpp | 3 ++- 5 files changed, 9 insertions(+), 5 deletions(-) Index: src/libutil/TimestampedBuffer.cpp =================================================================== --- src/libutil/TimestampedBuffer.cpp.orig +++ src/libutil/TimestampedBuffer.cpp @@ -58,6 +58,7 @@ pthread_mutex_unlock(&m_framecounter_lock); \ } +#include <math.h> namespace Util { @@ -179,7 +180,6 @@ bool TimestampedBuffer::setWrapValue(ffa m_wrap_at=w; return true; } -#include <math.h> /** * \brief return the effective rate Index: tests/test-enhanced-mixer.cpp =================================================================== --- tests/test-enhanced-mixer.cpp.orig +++ tests/test-enhanced-mixer.cpp @@ -25,6 +25,7 @@ #include "libutil/cmd_serialize.h" #include "libieee1394/ieee1394service.h" +#include <cerrno> #include <cstdlib> #include <cstring> @@ -77,7 +78,7 @@ main(int argc, char **argv) exit(0); } - int errno = 0; + errno = 0; char* tail; int node_id = strtol( argv[1], &tail, 0 ); int fb_id = strtol( argv[2], &tail, 0 ); Index: tests/test-mixer.cpp =================================================================== --- tests/test-mixer.cpp.orig +++ tests/test-mixer.cpp @@ -27,6 +27,7 @@ #include "debugmodule/debugmodule.h" #include "libieee1394/ieee1394service.h" +#include <cerrno> #include <string.h> DECLARE_GLOBAL_DEBUG_MODULE; @@ -227,7 +228,7 @@ main( int argc, char **argv ) exit(0); } - int errno = 0; + errno = 0; char* tail; int port = strtol( argv[1], &tail, 0 ); int node_id = strtol( argv[2], &tail, 0 ); Index: tests/test-pan.cpp =================================================================== --- tests/test-pan.cpp.orig +++ tests/test-pan.cpp @@ -26,6 +26,7 @@ #include "libutil/cmd_serialize.h" #include "libieee1394/ieee1394service.h" +#include <cerrno> const bool bVerbose = false; @@ -131,7 +132,7 @@ main(int argc, char **argv) exit(0); } - int errno = 0; + errno = 0; char* tail; int node_id = strtol( argv[1], &tail, 0 ); int fb_id = strtol( argv[2], &tail, 0 ); Index: tests/test-volume.cpp =================================================================== --- tests/test-volume.cpp.orig +++ tests/test-volume.cpp @@ -26,6 +26,7 @@ #include "libutil/cmd_serialize.h" #include "libieee1394/ieee1394service.h" +#include <cerrno> const bool bVerbose = false; @@ -127,7 +128,7 @@ main(int argc, char **argv) exit(0); } - int errno = 0; + errno = 0; char* tail; int node_id = strtol( argv[1], &tail, 0 ); int fb_id = strtol( argv[2], &tail, 0 );
