[cairo-bugs] [Bug 40925] [bisected] cairo failed to build with XCB enabled(it is default enable)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 16 01:10:22 PDT 2011


--- Comment #1 from Uli Schlachter <psychon at znc.in> 2011-09-16 01:10:18 PDT ---
Created an attachment (id=51254)
 View: https://bugs.freedesktop.org/attachment.cgi?id=51254
 Review: https://bugs.freedesktop.org/review?bug=40925&attachment=51254

Ugly workaround

xcb_discard_reply() was added in libxcb 1.6, released April 2010. Configure
currently checks for xcb >= 1.1.92 since that is when xcb_take_socket() was
added, although this function isn't used anymore.

Which version of libxcb do you have?

Attached is a patch which forces a round trip instead of using
xcb_discard_reply(). I think a better fix would be to add a check for
xcb_discard_reply() to configure and skip the whole "if (might_reuse)" block if
we don't have that function. I guess I'll be building old xcb versions.

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