summaryrefslogtreecommitdiff
path: root/x11-libs/cairo/files/cairo-1.10.0-buggy_gradients.patch
blob: a58c2f8f4138eaada524c842d4bb0c924077f4c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;