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

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 25 Jun 2024 06:16:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279968

Pietro Cerutti <gahr@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gahr@FreeBSD.org

--- Comment #1 from Pietro Cerutti <gahr@FreeBSD.org> ---
Hi - thanks for the report. I don't have libxml2 2.13.1 and libxslt 1.1.41, but
I think I have a patch. Can you please try this?

--- docObj.c.orig       2024-06-25 06:16:01 UTC
+++ docObj.c
@@ -1854,7 +1854,7 @@ TclXML_libxml2_ErrorHandler (ctx, error)
 void
 TclXML_libxml2_ErrorHandler (ctx, error)
      void *ctx; /* ignore - depends on context */
-     xmlErrorPtr error;
+     const xmlErrorPtr error;
 {
   ThreadSpecificData *tsdPtr = Tcl_GetThreadData(&dataKey,
sizeof(ThreadSpecificData));
   Tcl_Obj *objPtr;

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