* Source/Additions/GSXML.m: Remove usage of deprecated function

when a newer version of libxml is used.
This commit is contained in:
Fred Kiefer 2022-11-26 14:26:30 +01:00
parent 94a8b046b0
commit 1a96e83c08
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2022-11-26 Fred Kiefer <fredkiefer@gmx.de>
* Source/Additions/GSXML.m: Remove usage of deprecated function
when a newer version of libxml is used.
2022-11-25 Florian Weimer
* config/config.poll-dev.c:

View file

@ -164,7 +164,9 @@ static char * xml_strdup(const char *from)
xmlInitParser();
xmlMemSetup(free, malloc, realloc, xml_strdup);
xmlInitializeCatalog();
#if LIBXML_VERSION < 21000
xmlDefaultSAXHandlerInit();
#endif
NSString_class = [NSString class];
usSel = @selector(stringWithUTF8String:);
usImp = (id (*)(id, SEL, const unsigned char*))