Win32: Use CDDB without iconv
[vlc.git] / extras / contrib / src / Patches / libcddb-cross.patch
1 --- Makefile.am.orig    2009-10-24 17:24:43.000000000 +0200
2 +++ Makefile.am 2009-10-24 17:26:58.000000000 +0200
3 @@ -1,5 +1,5 @@
4  
5 -SUBDIRS        = include lib examples tests
6 +SUBDIRS        = include lib 
7  EXTRA_DIST = doc/doxygen.conf misc/$(PACKAGE).ebuild
8  
9  dist-hook:
10 --- configure.ac.orig   2009-10-25 01:51:35.000000000 +0200
11 +++ configure.ac        2009-10-25 01:51:44.000000000 +0200
12 @@ -107,8 +107,6 @@
13  AC_TYPE_SIZE_T
14  
15  dnl Checks for library functions.
16 -AC_FUNC_MALLOC
17 -AC_FUNC_REALLOC
18  AC_FUNC_STAT
19  AC_FUNC_VPRINTF
20  AC_FUNC_SELECT_ARGTYPES
21 --- libcddb.pc.in.orig  2009-10-25 21:36:57.000000000 +0100
22 +++ libcddb.pc.in       2009-10-25 21:36:11.000000000 +0100
23 @@ -6,5 +6,5 @@
24  Name: libcddb
25  Description: CDDB server access library
26  Version: @VERSION@
27 -Libs: -L${libdir} -lcddb @LIBICONV@
28 +Libs: -L${libdir} -lcddb ${libdir}/libregex.a @LIBICONV@
29  Cflags: -I${includedir}
30 --- include/cddb/cddb_ni.h.orig 2009-10-25 21:58:20.000000000 +0100
31 +++ include/cddb/cddb_ni.h      2009-10-25 21:58:46.000000000 +0100
32 @@ -35,6 +35,7 @@
33  #  include <iconv.h>
34  #else
35     typedef void *iconv_t;       /* for code uniformity */
36 +   #define ICONV_CONST const
37  #endif
38  
39  #ifdef HAVE_WINDOWS_H