[cairo-commit] src/cairo-xcb-connection.c src/cairo-xcb-private.h

Uli Schlachter psychon at kemper.freedesktop.org
Sat Mar 3 06:43:41 PST 2012


 src/cairo-xcb-connection.c |    3 +++
 src/cairo-xcb-private.h    |    1 +
 2 files changed, 4 insertions(+)

New commits:
commit a77db2f6e290b2c06c22b7050a04276f3054f52b
Author: Uli Schlachter <psychon at znc.in>
Date:   Sat Mar 3 15:10:41 2012 +0100

    xlib-xcb: Fix make check
    
    cairo_xcb_device_debug_cap_xrender_version is called by xlib-xcb's
    cairo_xlib_device_debug_cap_xrender_version and thus must be marked slim_hidden.
    
    Checking .libs/libcairo.so for local PLT entries
    0000000000306ff8  0000024200000007 R_X86_64_JUMP_SLOT
         000000000009e720 cairo_xcb_device_debug_cap_xrender_version + 0
    FAIL: check-plt.sh
    
    Signed-off-by: Uli Schlachter <psychon at znc.in>

diff --git a/src/cairo-xcb-connection.c b/src/cairo-xcb-connection.c
index b045d6e..661cdb3 100644
--- a/src/cairo-xcb-connection.c
+++ b/src/cairo-xcb-connection.c
@@ -899,6 +899,9 @@ cairo_xcb_device_debug_cap_xrender_version (cairo_device_t *device,
 	    connection->flags &= ~CAIRO_XCB_RENDER_HAS_GRADIENTS;
     }
 }
+#if CAIRO_HAS_XLIB_XCB_FUNCTIONS
+slim_hidden_def (cairo_xcb_device_debug_cap_xrender_version);
+#endif
 
 
 void
diff --git a/src/cairo-xcb-private.h b/src/cairo-xcb-private.h
index ba9a50e..1df5a11 100644
--- a/src/cairo-xcb-private.h
+++ b/src/cairo-xcb-private.h
@@ -809,6 +809,7 @@ slim_hidden_proto (cairo_xcb_surface_set_size);
 slim_hidden_proto (cairo_xcb_surface_set_drawable);
 slim_hidden_proto (cairo_xcb_device_debug_get_precision);
 slim_hidden_proto_no_warn (cairo_xcb_device_debug_set_precision);
+slim_hidden_proto_no_warn (cairo_xcb_device_debug_cap_xrender_version);
 #endif
 
 #endif /* CAIRO_XCB_PRIVATE_H */


More information about the cairo-commit mailing list