]> git.sesse.net Git - vlc/blob - extras/contrib/src/Patches/clinkcc_osx.patch
Contrib: upnp/win32, remove strerror use, and other small hacks...
[vlc] / extras / contrib / src / Patches / clinkcc_osx.patch
1 diff -ru clinkcc.orig/src/cybergarage/xml/XML.cpp clinkcc/src/cybergarage/xml/XML.cpp
2 --- clinkcc.orig/src/cybergarage/xml/XML.cpp    2005-11-14 18:11:07.000000000 +0100
3 +++ clinkcc/src/cybergarage/xml/XML.cpp 2005-11-14 18:12:27.000000000 +0100
4 @@ -117,7 +117,7 @@
5         }
6         utf8str[outLen] = '\0';
7         return utf8str;
8 -#elif defined(HAVE_ICONV) || defined(HAVE_ICONV_H)
9 +/*#elif defined(HAVE_ICONV) || defined(HAVE_ICONV_H)
10         iconvMutex.lock();
11  
12         char *cpbuf = strdup(str);
13 @@ -166,7 +166,7 @@
14         free(cpbuf);
15         iconvMutex.unlock();
16  
17 -       return unistr;
18 +       return unistr;*/
19  #else
20         outLen = strlen(str);
21         UnicodeStr *utf8str = new UnicodeStr[outLen+1];