Hello community, here is the log from the commit of package libmusicbrainz for openSUSE:Factory checked in at 2016-05-31 12:10:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmusicbrainz (Old) and /work/SRC/openSUSE:Factory/.libmusicbrainz.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmusicbrainz" Changes: -------- --- /work/SRC/openSUSE:Factory/libmusicbrainz/libmusicbrainz.changes 2011-11-21 15:47:05.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libmusicbrainz.new/libmusicbrainz.changes 2016-05-31 12:10:48.000000000 +0200 @@ -1,0 +2,5 @@ +Wed May 25 09:05:01 UTC 2016 - martin.li...@suse.com + +- Add patch gcc6-fix-errors.patch to remove errors seen by GCC6. + +------------------------------------------------------------------- New: ---- gcc6-fix-errors.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmusicbrainz.spec ++++++ --- /var/tmp/diff_new_pack.HVrZWp/_old 2016-05-31 12:10:49.000000000 +0200 +++ /var/tmp/diff_new_pack.HVrZWp/_new 2016-05-31 12:10:49.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libmusicbrainz # -# Copyright (c) 2011 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 @@ -15,20 +15,23 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: libmusicbrainz -BuildRequires: gcc-c++ libexpat-devel -BuildRequires: libtool pkg-config +BuildRequires: gcc-c++ +BuildRequires: libexpat-devel +BuildRequires: libtool +BuildRequires: pkg-config Summary: Library That Provides Access to the MusicBrainz Server License: LGPL-2.1+ Group: System/Libraries Version: 2.1.5 -Release: 16 +Release: 0 Url: http://www.musicbrainz.org/ Source: %{name}-%{version}.tar.bz2 +Source1000: baselibs.conf Patch0: libmusicbrainz-2.1.5-gcc43.patch +# PATCH-FIX-OPENSUSE gcc6-fix-errors.patch -- Fix errors spotted by GCC6. +Patch1: gcc6-fix-errors.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -37,9 +40,8 @@ download metadata about the music they are playing. %package -n libmusicbrainz4 -License: LGPL-2.1+ -Group: System/Libraries Summary: Library That Provides Access to the MusicBrainz Server +Group: System/Libraries Provides: %{name} = %{version} Obsoletes: %{name} < %{version} @@ -49,10 +51,9 @@ download metadata about the music they are playing. %package devel -License: LGPL-2.1+ -Group: Development/Libraries/C and C++ Requires: libmusicbrainz4 = %{version} libstdc++-devel Summary: Include Files and Libraries Mandatory for Development +Group: Development/Libraries/C and C++ %description devel This package contains all necessary include files and libraries needed @@ -61,6 +62,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build autoreconf -fiv ++++++ gcc6-fix-errors.patch ++++++ --- libmusicbrainz-2.1.5/lib/sigclient.cpp 2006-11-14 17:34:49.000000000 +0100 +++ libmusicbrainz-2.1.5/lib/sigclient.cpp 2016-05-25 10:56:19.796743594 +0200 @@ -38,10 +38,10 @@ #include "sigxdr.h" -char tooShortTRM[] = { 0xf9, 0x80, 0x9a, 0xb1, 0x2b, 0x0f, 0x4d, 0x78, - 0x88, 0x62, 0xfb, 0x42, 0x5a, 0xde, 0x8a, 0xb9 }; -char sigserverBusyTRM[] = { 0xc4, 0x57, 0xa4, 0xa8, 0xb3, 0x42, 0x4e, 0xc9, - 0x8f, 0x13, 0xb6, 0xbd, 0x26, 0xc0, 0xe4, 0x00 }; +char tooShortTRM[] = { (char)0xf9, (char)0x80, (char)0x9a, (char)0xb1, (char)0x2b, (char)0x0f, (char)0x4d, (char)0x78, + (char)0x88, (char)0x62, (char)0xfb, (char)0x42, (char)0x5a, (char)0xde, (char)0x8a, (char)0xb9 }; +char sigserverBusyTRM[] = { (char)0xc4, (char)0x57, (char)0xa4, (char)0xa8, (char)0xb3, (char)0x42, (char)0x4e, (char)0xc9, + (char)0x8f, (char)0x13, (char)0xb6, (char)0xbd, (char)0x26, (char)0xc0, (char)0xe4, (char)0x00 }; namespace SigClientVars { --- libmusicbrainz-2.1.5/lib/signature.cpp 2006-11-14 17:34:49.000000000 +0100 +++ libmusicbrainz-2.1.5/lib/signature.cpp 2016-05-25 10:56:31.572970348 +0200 @@ -45,8 +45,8 @@ typedef long long llong; #endif -char silenceTRM[] = { 0x7d, 0x15, 0x4f, 0x52, 0xb5, 0x36, 0x4f, 0xae, - 0xb5, 0x8b, 0x06, 0x66, 0x82, 0x6c, 0x2b, 0xac, 0x00 }; +char silenceTRM[] = { (char)0x7d, (char)0x15, (char)0x4f, (char)0x52, (char)0xb5, (char)0x36, (char)0x4f, (char)0xae, + (char)0xb5, (char)0x8b, (char)0x06, (char)0x66, (char)0x82, (char)0x6c, (char)0x2b, (char)0xac, (char)0x00 }; TRM::TRM(void) {