Hello community, here is the log from the commit of package musepack for openSUSE:Factory checked in at 2020-01-11 14:37:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/musepack (Old) and /work/SRC/openSUSE:Factory/.musepack.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "musepack" Sat Jan 11 14:37:38 2020 rev:3 rq:761905 version:r475 Changes: -------- --- /work/SRC/openSUSE:Factory/musepack/musepack.changes 2019-08-27 15:53:57.479684931 +0200 +++ /work/SRC/openSUSE:Factory/.musepack.new.6675/musepack.changes 2020-01-11 14:37:47.449131394 +0100 @@ -1,0 +2,6 @@ +Wed Jan 8 15:52:02 UTC 2020 - Michael Gorse <[email protected]> + +- Add libmpcdec-extern.patch: add missing extern declarations + (boo#1160284). + +------------------------------------------------------------------- New: ---- libmpcdec-extern.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ musepack.spec ++++++ --- /var/tmp/diff_new_pack.pdrS5r/_old 2020-01-11 14:37:49.025132018 +0100 +++ /var/tmp/diff_new_pack.pdrS5r/_new 2020-01-11 14:37:49.029132019 +0100 @@ -1,7 +1,7 @@ # # spec file for package musepack # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2013 Asterios Dramis <[email protected]>. # # All modifications and additions to the file contributed by third parties @@ -30,6 +30,8 @@ Source99: baselibs.conf # PATCH-FIX-UPSTREAM libmpcdec.patch [email protected] -- Fix CMakeLists.txt to install a libmpcdec shared library, fix missing libmpcdec link to libm Patch0: libmpcdec.patch +# PATCh-FIX-UPSTREAM libmpcdec-extern.patch boo#1160284 [email protected] -- add extern declarations. +Patch1: libmpcdec-extern.patch BuildRequires: cmake BuildRequires: libcuefile-devel BuildRequires: libreplaygain-devel @@ -70,6 +72,7 @@ %prep %setup -q -n %{name}_src_%{version} %patch0 +%patch1 %build # Fix rpmlint warning "version-control-internal-file" ++++++ libmpcdec-extern.patch ++++++ Index: libmpcdec/requant.h =================================================================== --- libmpcdec/requant.h (revision 478) +++ libmpcdec/requant.h (revision 479) @@ -47,9 +47,9 @@ /* C O N S T A N T S */ -const mpc_uint8_t Res_bit [18]; ///< Bits per sample for chosen quantizer -const MPC_SAMPLE_FORMAT __Cc [1 + 18]; ///< Requantization coefficients -const mpc_int16_t __Dc [1 + 18]; ///< Requantization offset +extern const mpc_uint8_t Res_bit [18]; ///< Bits per sample for chosen quantizer +extern const MPC_SAMPLE_FORMAT __Cc [1 + 18]; ///< Requantization coefficients +extern const mpc_int16_t __Dc [1 + 18]; ///< Requantization offset #define Cc (__Cc + 1) #define Dc (__Dc + 1)
