audit: bump version to 2.7
[buildroot-gz.git] / package / libxmlrpc / 0003-non-wchar-build.patch
blob1f043530613466235e09aef2bf30ffb9cbd86122
1 Disable wide-char specific code
3 The vast majority of the libxmlrpc code nicely handles the absence of
4 wide char support, except at one location, which is fixed by this
5 patch.
7 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 Index: b/src/xmlrpc_decompose.c
10 ===================================================================
11 --- a/src/xmlrpc_decompose.c
12 +++ b/src/xmlrpc_decompose.c
13 @@ -217,7 +217,11 @@
14 xmlrpc_strfree(*decompRootP->store.Tstring.valueP);
15 break;
16 case 'w':
17 +#if HAVE_UNICODE_WCHAR
18 free((void*)*decompRootP->store.TwideString.valueP);
19 +#else
20 + XMLRPC_ASSERT(false);
21 +#endif
22 break;
23 case '6':
24 free((void*)*decompRootP->store.TbitString.valueP);