wok-stable diff cairo/stuff/cairo-1.10.0-buggy_gradients.patch @ rev 7893

attr: Need bash sh to compile
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Jan 09 13:53:34 2011 +0100 (2011-01-09)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cairo/stuff/cairo-1.10.0-buggy_gradients.patch	Sun Jan 09 13:53:34 2011 +0100
     1.3 @@ -0,0 +1,13 @@
     1.4 +--- a/src/cairo-xlib-display.c.ubuntu	2010-08-04 11:57:49.000000000 +0200
     1.5 ++++ b/src/cairo-xlib-display.c	2010-08-04 11:58:28.000000000 +0200
     1.6 +@@ -353,11 +353,7 @@
     1.7 +     /* Prior to Render 0.10, there is no protocol support for gradients and
     1.8 +      * we call function stubs instead, which would silently consume the drawing.
     1.9 +      */
    1.10 +-#if RENDER_MAJOR == 0 && RENDER_MINOR < 10
    1.11 +     display->buggy_gradients = TRUE;
    1.12 +-#else
    1.13 +-    display->buggy_gradients = FALSE;
    1.14 +-#endif
    1.15 +     display->buggy_pad_reflect = FALSE;
    1.16 +     display->buggy_repeat = FALSE;