1 --- libsoup-2.74.3/libsoup/soup-xmlrpc-old.c.orig 2022-10-11 20:27:22.000000000 +0200
2 +++ libsoup-2.74.3/libsoup/soup-xmlrpc-old.c 2023-11-29 13:41:20.510779598 +0100
7 +#include <libxml/parser.h>
8 #include <libxml/tree.h>
10 #include "soup-xmlrpc-old.h"
12 gboolean success = FALSE;
15 - doc = xmlParseMemory (method_call,
16 + doc = (xmlDoc *)xmlParseMemory (method_call,
17 length == -1 ? strlen (method_call) : length);
22 gboolean success = FALSE;
24 - doc = xmlParseMemory (method_response,
25 + doc = (xmlDoc *)xmlParseMemory (method_response,
26 length == -1 ? strlen (method_response) : length);
29 --- libsoup-2.74.3/libsoup/soup-xmlrpc.c.orig 2022-10-11 20:27:22.000000000 +0200
30 +++ libsoup-2.74.3/libsoup/soup-xmlrpc.c 2023-11-29 13:37:57.539508436 +0100
35 +#include <libxml/parser.h>
36 #include <libxml/tree.h>
37 #include "soup-xmlrpc.h"
40 xmlChar *xmlMethodName = NULL;
41 char *method_name = NULL;
43 - doc = xmlParseMemory (method_call, length == -1 ? strlen (method_call) : length);
44 + doc = (xmlDoc *)xmlParseMemory (method_call, length == -1 ? strlen (method_call) : length);
46 g_set_error (error, SOUP_XMLRPC_ERROR, SOUP_XMLRPC_ERROR_ARGUMENTS,
47 "Could not parse XML document");
50 g_return_val_if_fail (!signature || g_variant_type_string_is_valid (signature), NULL);
52 - doc = xmlParseMemory (method_response,
53 + doc = (xmlDoc *)xmlParseMemory (method_response,
54 length == -1 ? strlen (method_response) : length);
56 g_set_error (error, SOUP_XMLRPC_ERROR, SOUP_XMLRPC_ERROR_ARGUMENTS,