Ticket #5603: gettext-0.23-libxml2_2.12-1.patch

File gettext-0.23-libxml2_2.12-1.patch, 581 bytes (added by Marty Jack, 2 days ago)

Adjust for type signature change introduced in libxml2 2.12

  • gettext-tools/src/its.c

    diff -Naur gettext-0.23.orig/gettext-tools/src/its.c gettext-0.23/gettext-tools/src/its.c
    old new  
    8282/* ----------------------------- Error handling ----------------------------- */
    8383
    8484static void
    85 structured_error (void *data, xmlError *err)
     85structured_error (void *data, const xmlError *err)
    8686{
    8787  error (0, err->level == XML_ERR_FATAL ? EXIT_FAILURE : 0,
    8888         _("%s error: %s"), "libxml2", err->message);