[cairo-bugs] [Bug 39493] 32-bit build fails with MacOSX10.7.sdk

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 4 16:29:41 PDT 2011


--- Comment #3 from Andrea Canciani <ranma42 at gmail.com> 2011-09-04 16:29:39 PDT ---
(In reply to comment #2)
> (In reply to comment #1)
> > Created an attachment (id=49446)
 View: https://bugs.freedesktop.org/attachment.cgi?id=49446
 Review: https://bugs.freedesktop.org/review?bug=39493&attachment=49446

> > Correct all OSX 10.7 build failures
> > 
> > Oops, that should have been "< MAC_OS_X_VERSION_10_7". 
> I can confirm this issue and the fix for ATSUI looks ok to me.

Looking more at it, I realized that it's probably an API break.

Another patch, which fixes the build for me is available here:

Can you confirm if this patch solves your issue as well?

> > There are also two files in perf that define getline and strndup, which are
> > supplied by Lion in stdio.h and string.h, respectively. This patch works around
> > those, as well.
> I think that detecting the availability of  getline and strndup at through
> autoconf would be a better.

The autoconf-based detection is in master (and the implementation if the
functions are not available is now in the util/cairo-missing library).

Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the cairo-bugs mailing list