json-glib: update to 1.10.6
[oi-userland.git] / components / library / id3lib / patches / 04-iconv.patch
bloba9b87b3883f980b6e1a7cfb4fcf0dae8988293c1
1 --- id3lib-3.8.3/src/utils.cpp 2003-03-02 01:23:00.000000000 +0100
2 +++ utils.cpp 2012-08-14 20:36:02.663020939 +0200
3 @@ -121,13 +121,9 @@
5 String target;
6 size_t source_size = source.size();
7 -#if defined(ID3LIB_ICONV_OLDSTYLE)
8 - const char* source_str = source.data();
9 -#else
10 char *source_str = new char[source.size()+1];
11 source.copy(source_str, String::npos);
12 source_str[source.length()] = 0;
13 -#endif
15 #define ID3LIB_BUFSIZ 1024
16 char buf[ID3LIB_BUFSIZ];