From aaa87d78d6e8fe7b1ddaa910f2657952f117529f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 11 Apr 2007 10:09:16 +0200 Subject: Update libmpcdec (formerly libmusepack) to version 1.2.5, this also reduces the patching needed. Contestually, move libmpcdec code in contrib/libmpcdec, so that it's not mixed together with xine code. The use of MUSEPACK_LIBS/MUSEPACK_CFLAGS intermediate is to make simpler move to pkg-config checks if libmpcdec developers decide to install one. --- contrib/libmpcdec/diff_from_libmpcdec_1.2.5.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 contrib/libmpcdec/diff_from_libmpcdec_1.2.5.patch (limited to 'contrib/libmpcdec/diff_from_libmpcdec_1.2.5.patch') diff --git a/contrib/libmpcdec/diff_from_libmpcdec_1.2.5.patch b/contrib/libmpcdec/diff_from_libmpcdec_1.2.5.patch new file mode 100644 index 000000000..f0e3b0cb6 --- /dev/null +++ b/contrib/libmpcdec/diff_from_libmpcdec_1.2.5.patch @@ -0,0 +1,20 @@ +Use xine's os_types.h file. +Define MPC_LITTLE_ENDIAN when needed. + +Index: libmpcdec/mpcdec/config_types.h +=================================================================== +--- libmpcdec.orig/mpcdec/config_types.h ++++ libmpcdec/mpcdec/config_types.h +@@ -35,7 +35,11 @@ + #ifndef __MUSEPACK_CONFIG_TYPES_H__ + #define __MUSEPACK_CONFIG_TYPES_H__ + +-#include ++#include "os_types.h" ++ ++#ifndef WORDS_BIGENDIAN ++# define MPC_LITTLE_ENDIAN ++#endif + + typedef unsigned char mpc_bool_t; + #define TRUE 1 -- cgit v1.2.3