mesonbuild / wrapdb

New wrap requests
https://mesonbuild.com/Adding-new-projects-to-wrapdb.html
MIT License
72 stars 187 forks source link

libxml2: update to 2.12.5 #1434

Closed bgilbert closed 5 months ago

bgilbert commented 5 months ago

Add new HAVE_ATTRIBUTE_DESTRUCTOR and XML_THREAD_LOCAL defines and drop defines removed from config.h.cmake.in. If threads are enabled and no thread-local attribute is found, print the same warning upstream does.

Drop checks for getaddrinfo, which no longer has a corresponding define, and putenv and rand_r, which are no longer used.

Drop support for embedded Trio library. libxml2 upstream dropped the Autotools code that would automatically enable it (CMake already didn't do so) with a commit message saying that Trio will be removed soon. Since the goal was to support building on systems without snprintf/vsnprintf, just require C99 instead.

Fix spurious too many arguments for format warnings, caused by __xmlSimpleError() calls with a NULL format argument, by building with -Wno-format-extra-args as upstream does.