Bugzilla – Bug 17450
configure checks for freetype backend fail if FcFini not available
Last modified: 2008-09-28 12:21:08 UTC
Created attachment 18694 [details] [review]
I am trying to compile cairo 1.6.4 on MirOS BSD (an OpenBSD variant). The fontconfig included in the base system does not have the FcFini() function. As I gathered from searching the mailing list archives, this function is optional. However, on systems without FcFini(), the freetype backend is completely disabled.
From reading the source code, I do not think that FcFini is really essential, and any calls to it are protected by #ifdef HAVE_FCFINI anyway. Thus, I made a small patch for the configure script to make a missing FcFini non-fatal for the freetype font backend.
What's ironic is that this bug had already existed as bug 3951. It was fixed in 0.9.3.
Thanks for the reminder. We've already fixed this on the "master" branch of cairo, but I'll leave this bug open as a "blocker" until we make sure that this fix gets on the 1.6 branch in preparation for a 1.6.6 release.
When 1.8 has superseded 1.6 as the stable branch, so we can now close this bug.