Magellan Linux

Contents of /trunk/vorbis-tools/patches/vorbis-tools-1.1.1-utf8.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (show annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 1307 byte(s)
-import

1 diff -urN vorbis-tools-1.1.1.orig/share/charset.c vorbis-tools-1.1.1/share/charset.c
2 --- vorbis-tools-1.1.1.orig/share/charset.c 2005-06-03 06:15:10.000000000 -0400
3 +++ vorbis-tools-1.1.1/share/charset.c 2006-03-08 08:49:56.000000000 -0500
4 @@ -27,6 +27,10 @@
5 * 8-bit char, 16-bit short and 32-bit int.
6 */
7
8 +#ifdef HAVE_CONFIG_H
9 +# include <config.h>
10 +#endif
11 +
12 #ifndef HAVE_ICONV /* should be ifdef USE_CHARSET_CONVERT */
13
14 #include <stdlib.h>
15 diff -urN vorbis-tools-1.1.1.orig/share/iconvert.c vorbis-tools-1.1.1/share/iconvert.c
16 --- vorbis-tools-1.1.1.orig/share/iconvert.c 2005-06-03 06:15:10.000000000 -0400
17 +++ vorbis-tools-1.1.1/share/iconvert.c 2006-03-08 08:49:56.000000000 -0500
18 @@ -16,6 +16,10 @@
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */
21
22 +#ifdef HAVE_CONFIG_H
23 +# include <config.h>
24 +#endif
25 +
26 #ifdef HAVE_ICONV
27
28 #include <assert.h>
29 diff -urN vorbis-tools-1.1.1.orig/share/utf8.c vorbis-tools-1.1.1/share/utf8.c
30 --- vorbis-tools-1.1.1.orig/share/utf8.c 2005-06-03 06:15:10.000000000 -0400
31 +++ vorbis-tools-1.1.1/share/utf8.c 2006-03-08 08:49:56.000000000 -0500
32 @@ -21,6 +21,10 @@
33 * Convert a string between UTF-8 and the locale's charset.
34 */
35
36 +#ifdef HAVE_CONFIG_H
37 +# include <config.h>
38 +#endif
39 +
40 #include <stdlib.h>
41 #include <string.h>
42