GNOME Bugzilla – Bug 681321
Support both old and new-buf libxml2 APIs
Last modified: 2013-09-14 16:55:53 UTC
libxml2 changed the API for xmlOutputBuffer incompatibly; See https://mail.gnome.org/archives/desktop-devel-list/2012-August/msg00004.html
Created attachment 220479 [details] [review] Support both old and new-buf libxml2 APIs
Note: Only compile tested.
Created attachment 220489 [details] [review] Support both old and new-buf libxml2 APIs Now using directly xmlOutputBufferGet*() APIs
Probably worth examining whether the backend really needs to be (ab)using the xmlOutputBuffer struct like that or if it was just convenient at the time for a lazy developer.
Okay provided patch looks just fine to me, that should work ! w.r.t. comment #4 well I think I didn't gave proper directions on how to use xmlOutputBuffers, so that use isn't a shame, I would have given accessors from the start if I had found that it woud be used in that way. With the patch it's not that bad frankly Daniel
Matthew, this is breaking GNOME the build. Unless there are serious objections, we should probably merge the patch and do any needed refactoring later while not blocking others, no?
If it's good enough for Daniel it's good enough for me. Fixed for Evolution-Data-Server 3.5.90: http://git.gnome.org/browse/evolution-data-server/commit/?id=679b10d75730e81fa268e11cfda289a27fd3e306
*** Bug 681736 has been marked as a duplicate of this bug. ***
Thanks!