Fails to build against libxml 2.12.0
I'd guess it has to do with the recent libxml 2.12.0 update, but I haven't confirmed by building against an older version.
Steps to reproduce:
- build inkscape 1.3.1
What happened?
C:/_/B/src/inkscape-1.3.1/src/object/uri.cpp: In constructor 'Inkscape::URI::URI(const gchar*, const char*)':
C:/_/B/src/inkscape-1.3.1/src/object/uri.cpp:86:9: error: 'xmlFree' was not declared in this scope; did you mean 'xmlFreeURI'?
86 | xmlFree(full);
| ^~~~~~~
| xmlFreeURI
C:/_/B/src/inkscape-1.3.1/src/object/uri.cpp:89:9: error: 'xmlFree' was not declared in this scope; did you mean 'xmlFreeURI'?
89 | xmlFree(escaped);
| ^~~~~~~
| xmlFreeURI
C:/_/B/src/inkscape-1.3.1/src/object/uri.cpp: In member function 'std::string Inkscape::URI::str(const char*) const':
C:/_/B/src/inkscape-1.3.1/src/object/uri.cpp:292:9: error: 'xmlFree' was not declared in this scope; did you mean 'xmlFreeURI'?
292 | xmlFree(saveuri);
| ^~~~~~~
| xmlFreeURI
What should have happened?
build without error
Inkscape Version and Operating System:
- Inkscape Version: 1.3.1
- Operating System: Windows
- Operating System version: 11