From 89c1c59fb83bc1d4598543b1bcaee5b69776b421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Thu, 3 Feb 2005 07:19:03 +0000 Subject: **BUGFIX** Fixed build on solaris: - use libresolv in hstrerror check - replace PRIiMAX and PRIXMAX by PRIdMAX and PRIxMAX Removed timezone struct for MinGW from public os_types.h, update header comment. Fixed build musepack library on some platforms using xine types. Thanks to Niki W. Waibel for reporting and testing. CVS patchset: 7378 CVS date: 2005/02/03 07:19:03 --- src/libmusepack/Makefile.am | 2 ++ src/libmusepack/diff_against_svn.patch | 19 +++++++++++++++++++ src/libmusepack/musepack/config_types.h | 2 +- 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 src/libmusepack/diff_against_svn.patch (limited to 'src/libmusepack') diff --git a/src/libmusepack/Makefile.am b/src/libmusepack/Makefile.am index ab0a76366..dfbb33a43 100644 --- a/src/libmusepack/Makefile.am +++ b/src/libmusepack/Makefile.am @@ -2,6 +2,8 @@ include $(top_srcdir)/misc/Makefile.common SUBDIRS = musepack +EXTRA_DIST = diff_against_svn.patch + libdir = $(XINE_PLUGINDIR) lib_LTLIBRARIES = xineplug_decode_mpc.la diff --git a/src/libmusepack/diff_against_svn.patch b/src/libmusepack/diff_against_svn.patch new file mode 100644 index 000000000..0375b89c1 --- /dev/null +++ b/src/libmusepack/diff_against_svn.patch @@ -0,0 +1,19 @@ +Use xine's inttypes. +The file config_types.h is generated from config_types.h.in in musepack SVN. + +Index: src/libmusepack/musepack/config_types.h +=================================================================== +RCS file: /home/valtri/CVS/xine-lib/src/libmusepack/musepack/config_types.h,v +retrieving revision 1.1.1.2 +diff -u -p -u -p -r1.1.1.2 config_types.h +--- src/libmusepack/musepack/config_types.h 3 Feb 2005 00:19:24 -0000 1.1.1.2 ++++ src/libmusepack/musepack/config_types.h 3 Feb 2005 00:21:06 -0000 +@@ -1,7 +1,7 @@ + #ifndef __CONFIG_TYPES_H__ + #define __CONFIG_TYPES_H__ + +-#include ++#include "os_types.h" + + #ifdef WORDS_BIGENDIAN + #undef MPC_LITTLE_ENDIAN diff --git a/src/libmusepack/musepack/config_types.h b/src/libmusepack/musepack/config_types.h index 164e73ebc..f501f5a38 100644 --- a/src/libmusepack/musepack/config_types.h +++ b/src/libmusepack/musepack/config_types.h @@ -1,7 +1,7 @@ #ifndef __CONFIG_TYPES_H__ #define __CONFIG_TYPES_H__ -#include +#include "os_types.h" #ifdef WORDS_BIGENDIAN #undef MPC_LITTLE_ENDIAN -- cgit v1.2.3