forked from pool/musepack
Accepting request 761896 from home:mgorse:factory
- Add libmpcdec-extern.patch: add missing extern declarations (boo#1160284). OBS-URL: https://build.opensuse.org/request/show/761896 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/musepack?expand=0&rev=8
This commit is contained in:
parent
cbe6ebe4b3
commit
de4d4408a6
17
libmpcdec-extern.patch
Normal file
17
libmpcdec-extern.patch
Normal file
@ -0,0 +1,17 @@
|
||||
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)
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 8 15:52:02 UTC 2020 - Michael Gorse <mgorse@suse.com>
|
||||
|
||||
- Add libmpcdec-extern.patch: add missing extern declarations
|
||||
(boo#1160284).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 26 08:21:49 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@ -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 <asterios.dramis@gmail.com>.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -30,6 +30,8 @@ Source0: https://files.musepack.net/source/%{name}_src_%{version}.tar.gz
|
||||
Source99: baselibs.conf
|
||||
# PATCH-FIX-UPSTREAM libmpcdec.patch asterios.dramis@gmail.com -- 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 mgorse@suse.com -- add extern declarations.
|
||||
Patch1: libmpcdec-extern.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: libcuefile-devel
|
||||
BuildRequires: libreplaygain-devel
|
||||
@ -70,6 +72,7 @@ been developed.
|
||||
%prep
|
||||
%setup -q -n %{name}_src_%{version}
|
||||
%patch0
|
||||
%patch1
|
||||
|
||||
%build
|
||||
# Fix rpmlint warning "version-control-internal-file"
|
||||
|
Loading…
Reference in New Issue
Block a user