GNOME Bugzilla – Bug 681736
Support both old and new-buf libxml2 APIs
Last modified: 2012-08-13 15:43:18 UTC
Recently libxml2 broke API. See: https://mail.gnome.org/archives/desktop-devel-list/2012-August/msg00004.html The attached patch fixes the build, and works with both old and new libxml2 versions. I know #ifdefs suck, and the solution is far from elegant, but it looks like this is the recommended way to fix the issue.
Created attachment 220978 [details] [review] caldav: Fix build because of libxml2 API breakage * libxml2 introduced some API breakage recently. * Fix the build so it works with both old and new versions of libxml2.
Thanks for taking the time to report this bug. This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade. *** This bug has been marked as a duplicate of bug 681321 ***
Oh, whoops. Not a dupe. This is for Evolution.
Thanks for the patch. I think I'm going to reuse Colin's "compat" function from bug 681321 to keep the #ifdef crud isolated from the main code. Fixed for Evolution 3.5.90 in: http://git.gnome.org/browse/evolution/commit/?id=ff88d1f11176233438cace72da46a54c479495ab