Files
haikuports/media-sound/musepack_tools/patches/musepack-tools-465-fno-common.patch
Schrijvers Luc 2f5f6dc7b0 musepack_tools, cleanup, fix installation paths (#8259)
* musepack_tools, cleanup, fix installation paths

* cleanup, fix multiple defenitions ... (for newer gcc versions)
2023-04-03 20:17:07 +02:00

17 lines
659 B
Diff

https://bugs.gentoo.org/706992
--- a/libmpcdec/requant.h
+++ b/libmpcdec/requant.h
@@ -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)