[cairo-bugs] [Bug 40925] New: [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 00:40:43 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=40925

           Summary: [bisected] cairo failed to build with XCB enabled(it
                    is default enable)
           Product: cairo
           Version: 1.10.3
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: high
         Component: xcb backend
        AssignedTo: psychon at znc.in
        ReportedBy: jian.j.zhao at intel.com
         QAContact: cairo-bugs at cairographics.org


A commit in cairo using xcb_discard_reply caused cairo failed to build, and I
don't know what is this function used for and where it is.  The commit is 

commit 968eb30bba1dc942ccd31e4450fdd3bb74c83cb6
Author: Uli Schlachter <psychon at znc.in>
Date:   Thu Sep 1 13:34:43 2011 +0200

    xcb: Steal from the pending list for GetImage

If I just comment that line it can build successfully. 

diff --git a/src/cairo-xcb-shm.c b/src/cairo-xcb-shm.c
index 6972720..949e515 100644
--- a/src/cairo-xcb-shm.c
+++ b/src/cairo-xcb-shm.c
@@ -514,7 +514,7 @@ _cairo_xcb_connection_allocate_shm_info
(cairo_xcb_connection_t *connection,
                cairo_list_del (&shm_info->pending);
                CAIRO_MUTEX_UNLOCK (connection->shm_mutex);

-               xcb_discard_reply (connection->xcb_connection,
shm_info->sync.sequence);
+//             xcb_discard_reply (connection->xcb_connection,
shm_info->sync.sequence);
                shm_info->sync.sequence = XCB_NONE;

                *shm_info_out = shm_info;

-- 
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