From 649ed3773a9fef8712733fbdcc9d09a5bae62f99 Mon Sep 17 00:00:00 2001 From: René Neumann Date: Thu, 11 Aug 2011 19:41:33 +0200 Subject: Patched cairo --- x11-libs/cairo/files/cairo-1.10.0-buggy_gradients.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 x11-libs/cairo/files/cairo-1.10.0-buggy_gradients.patch (limited to 'x11-libs/cairo/files/cairo-1.10.0-buggy_gradients.patch') diff --git a/x11-libs/cairo/files/cairo-1.10.0-buggy_gradients.patch b/x11-libs/cairo/files/cairo-1.10.0-buggy_gradients.patch new file mode 100644 index 0000000..a58c2f8 --- /dev/null +++ b/x11-libs/cairo/files/cairo-1.10.0-buggy_gradients.patch @@ -0,0 +1,17 @@ +http://repos.archlinux.org/wsvn/packages/cairo/trunk/cairo-1.10.0-buggy_gradients.patch +http://bugs.gentoo.org/336696 + +--- src/cairo-xlib-display.c ++++ src/cairo-xlib-display.c +@@ -353,11 +353,7 @@ + /* Prior to Render 0.10, there is no protocol support for gradients and + * we call function stubs instead, which would silently consume the drawing. + */ +-#if RENDER_MAJOR == 0 && RENDER_MINOR < 10 + display->buggy_gradients = TRUE; +-#else +- display->buggy_gradients = FALSE; +-#endif + display->buggy_pad_reflect = FALSE; + display->buggy_repeat = FALSE; + -- cgit v1.2.3-70-g09d2