Hello community, here is the log from the commit of package audiofile for openSUSE:Factory checked in at 2016-02-16 09:26:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/audiofile (Old) and /work/SRC/openSUSE:Factory/.audiofile.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "audiofile" Changes: -------- --- /work/SRC/openSUSE:Factory/audiofile/audiofile.changes 2015-10-30 16:34:32.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.audiofile.new/audiofile.changes 2016-02-16 09:26:48.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Jan 29 12:20:40 UTC 2016 - [email protected] + +- Add audiofile-gcc6.patch to fix compile errors with GCC 6. + +------------------------------------------------------------------- New: ---- audiofile-gcc6.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ audiofile.spec ++++++ --- /var/tmp/diff_new_pack.zSiLVO/_old 2016-02-16 09:26:49.000000000 +0100 +++ /var/tmp/diff_new_pack.zSiLVO/_new 2016-02-16 09:26:49.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package audiofile # -# 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 @@ -30,6 +30,7 @@ Source2: baselibs.conf # PATCH-FIX-SECURITY audiofile-CVE-2015-7747.patch bsc949399 CVE-2015-7747 [email protected] -- Fix overflow when changing both number of channels and sample format https://github.com/mpruett/audiofile/pull/25/files https://github.com/mpruett/audiofile/pull/25.patch Patch: audiofile-CVE-2015-7747.patch +Patch2: audiofile-gcc6.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -96,6 +97,7 @@ %prep %setup -q %patch -p1 +%patch2 %build autoreconf -fi ++++++ audiofile-gcc6.patch ++++++ --- libaudiofile/modules/SimpleModule.h.orig 2016-01-29 12:17:56.906436741 +0000 +++ libaudiofile/modules/SimpleModule.h 2016-01-29 12:18:31.610839734 +0000 @@ -123,7 +123,7 @@ typedef typename IntTypes<Format>::UnsignedType UnsignedType; static const int kScaleBits = (Format + 1) * CHAR_BIT - 1; - static const int kMinSignedValue = -1 << kScaleBits; + static const int kMinSignedValue = -1U << kScaleBits; struct signedToUnsigned : public std::unary_function<SignedType, UnsignedType> { --- test/NeXT.cpp.orig 2016-01-29 12:24:59.471342657 +0000 +++ test/NeXT.cpp 2016-01-29 12:26:49.788623085 +0000 @@ -37,7 +37,7 @@ #include "TestUtilities.h" -const char kDataUnspecifiedLength[] = +const unsigned char kDataUnspecifiedLength[] = { '.', 's', 'n', 'd', 0, 0, 0, 24, // offset of 24 bytes @@ -57,7 +57,7 @@ 0, 55 }; -const char kDataTruncated[] = +const unsigned char kDataTruncated[] = { '.', 's', 'n', 'd', 0, 0, 0, 24, // offset of 24 bytes @@ -152,7 +152,7 @@ ASSERT_EQ(::unlink(testFileName.c_str()), 0); } -const char kDataZeroChannels[] = +const unsigned char kDataZeroChannels[] = { '.', 's', 'n', 'd', 0, 0, 0, 24, // offset of 24 bytes
