Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2020 17:53:53 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r546204 - head/audio/musepack/files
Message-ID:  <202008251753.07PHrrLI023199@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Tue Aug 25 17:53:52 2020
New Revision: 546204
URL: https://svnweb.freebsd.org/changeset/ports/546204

Log:
  audio/musepack: fix build on current
  
  Obtained from:	http://trac.musepack.net/musepack/changeset/479/libmpc/trunk/libmpcdec/requant.h

Added:
  head/audio/musepack/files/patch-svn_r479   (contents, props changed)

Added: head/audio/musepack/files/patch-svn_r479
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/musepack/files/patch-svn_r479	Tue Aug 25 17:53:52 2020	(r546204)
@@ -0,0 +1,15 @@
+Index: libmpc/trunk/libmpcdec/requant.h
+===================================================================
+--- libmpcdec/requant.h
++++ libmpcdec/requant.h
+@@ -48,7 +48,7 @@
+ 
+ /* 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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008251753.07PHrrLI023199>