[Bug 279968] devel/tclxml: Fails to build with libxml2 2.13.1 and libxslt 1.1.41

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 01 Jul 2024 06:51:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279968

--- Comment #8 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=af36765e17ba36d0e86e95d4476b67f894209468

commit af36765e17ba36d0e86e95d4476b67f894209468
Author:     Pietro Cerutti <gahr@FreeBSD.org>
AuthorDate: 2024-07-01 06:39:47 +0000
Commit:     Pietro Cerutti <gahr@FreeBSD.org>
CommitDate: 2024-07-01 06:49:49 +0000

    devel/tclxml: fix build with libxml2 >= 2.12

    Version 2.12 of libxml2 introduced a backwards incompatible change in
    the signature of some functions, notably the second argument to
    xmlStructuredErrorFunc has gained a const qualifier, changing from
    `xmlError *error` to `const xmlError *error`.

    To make the signatures compatible with both pre- and post-2.12, I have
    introduced a check on LIBXML_VERSION.

    PR:             279968
    Reported by:    dizzy

 devel/tclxml/Makefile                              |  2 +-
 devel/tclxml/files/patch-Makefile.in               | 13 ++++++++-
 devel/tclxml/files/patch-configure                 | 19 ++++++++++---
 devel/tclxml/files/patch-docObj.c (new)            | 19 +++++++++++++
 ...lude_tclxml-libxml2_tclxml-libxml2Decls.h (new) | 31 ++++++++++++++++++++++
 devel/tclxml/files/patch-tclxml.c (new)            | 11 ++++++++
 6 files changed, 90 insertions(+), 5 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.