Hello community, here is the log from the commit of package libsidplay1 for openSUSE:Factory checked in at 2016-05-31 12:11:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libsidplay1 (Old) and /work/SRC/openSUSE:Factory/.libsidplay1.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libsidplay1" Changes: -------- --- /work/SRC/openSUSE:Factory/libsidplay1/libsidplay1.changes 2011-12-25 17:36:41.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libsidplay1.new/libsidplay1.changes 2016-05-31 12:11:33.000000000 +0200 @@ -1,0 +2,12 @@ +Wed May 25 08:23:31 UTC 2016 - [email protected] + +- Add baselibs.conf to source list. + +------------------------------------------------------------------- +Tue May 24 20:40:19 UTC 2016 - [email protected] + +- In case we build using gcc6, add -Wno-narrowing to CFLAGS and + CXXFLAGS: the code (intentionally) stores values like 0x80 into + signed chars, resulting in the compiler complaining (boo#981470). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libsidplay1.spec ++++++ --- /var/tmp/diff_new_pack.gieOWI/_old 2016-05-31 12:11:34.000000000 +0200 +++ /var/tmp/diff_new_pack.gieOWI/_new 2016-05-31 12:11:34.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libsidplay1 # -# 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 @@ -24,6 +24,7 @@ Version: 1.36.59 Release: 0 Source: %{_name}-%{version}.tar.bz2 +Source99: baselibs.conf Patch: libsidplay-gcc43.patch Summary: A Library for C64 Music Files License: GPL-2.0+ @@ -55,8 +56,11 @@ %build autoreconf --force --install -export CFLAGS="$RPM_OPT_FLAGS" -export CXXFLAGS="$RPM_OPT_FLAGS" +if [ $(gcc -dumpversion) -ge 6 ]; then +export narrowing=-Wno-narrowing +fi +export CFLAGS="$RPM_OPT_FLAGS $narrowing" +export CXXFLAGS="$RPM_OPT_FLAGS $narrowing" %configure --disable-static --with-pic make %{?jobs:-j %jobs}
