svn commit: r546204 - head/audio/musepack/files

Tobias C. Berner tcberner at FreeBSD.org
Tue Aug 25 17:53:53 UTC 2020


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)


More information about the svn-ports-head mailing list