summaryrefslogtreecommitdiffstats
path: root/graphics/cairo/files/patch-src_cairo-xlib-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/cairo/files/patch-src_cairo-xlib-display.c')
-rw-r--r--graphics/cairo/files/patch-src_cairo-xlib-display.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/cairo/files/patch-src_cairo-xlib-display.c b/graphics/cairo/files/patch-src_cairo-xlib-display.c
new file mode 100644
index 0000000..fce8103
--- /dev/null
+++ b/graphics/cairo/files/patch-src_cairo-xlib-display.c
@@ -0,0 +1,14 @@
+--- src/cairo-xlib-display.c.orig 2010-11-21 14:41:31.000000000 -0500
++++ src/cairo-xlib-display.c 2010-11-21 14:42:12.000000000 -0500
+@@ -353,11 +353,7 @@ _cairo_xlib_device_create (Display *dpy)
+ /* 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;
+