summaryrefslogtreecommitdiff
path: root/package/cairo/cairo-1.10.2-directfb.patch
diff options
context:
space:
mode:
authorWill Newton <will.newton@imgtec.com>2012-02-02 12:00:23 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-02-02 14:58:33 +0100
commitdfa93b47f721c4161dcb782cd48cb2fb52493d73 (patch)
tree041278def1ac2699a32fdb54d101eb115a2a99f8 /package/cairo/cairo-1.10.2-directfb.patch
parenta2a9f6358d3c1442028a7fd5366651b8826d4547 (diff)
cairo: Bump version to 1.10.2
Update the DirectFB patch as it no longer applied cleanly. [Peter: drop redundant AUTORECONF = NO line] Signed-off-by: Will Newton <will.newton@imgtec.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/cairo/cairo-1.10.2-directfb.patch')
-rw-r--r--package/cairo/cairo-1.10.2-directfb.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/package/cairo/cairo-1.10.2-directfb.patch b/package/cairo/cairo-1.10.2-directfb.patch
new file mode 100644
index 000000000..8b4c6f73a
--- /dev/null
+++ b/package/cairo/cairo-1.10.2-directfb.patch
@@ -0,0 +1,36 @@
+--- cairo-1.10.2/src/cairo-directfb-surface.c 2010-06-18 12:47:12.000000000 +0100
++++ cairo-1.10.2.mod/src/cairo-directfb-surface.c 2012-02-02 11:40:57.835273391 +0000
+@@ -700,6 +700,7 @@
+ surface->dfbsurface->Blit (surface->dfbsurface,
+ buffer, NULL,
+ image_rect->x, image_rect->y);
++ surface->dfbsurface->ReleaseSource (surface->dfbsurface);
+ }
+
+ cairo_surface_destroy (&image->base);
+@@ -928,6 +929,9 @@
+ cairo_surface_attributes_t *src_attr)
+ {
+ _cairo_pattern_release_surface (src_pattern, src, src_attr);
++
++ if (dst->dfbsurface)
++ dst->dfbsurface->ReleaseSource (dst->dfbsurface);
+ }
+ #endif /* DFB_COMPOSITE || DFB_COMPOSITE_TRAPEZOIDS */
+
+@@ -1584,6 +1588,7 @@
+
+ new_cache->dfbsurface->Blit (new_cache->dfbsurface,
+ cache->dfbsurface, NULL, 0, 0);
++ new_cache->dfbsurface->ReleaseSource (new_cache->dfbsurface);
+
+ _directfb_destroy_font_cache (cache);
+ scaled_font->surface_private = cache = new_cache;
+@@ -1809,6 +1814,7 @@
+ RUN_CLIPPED (dst, clip_region, NULL,
+ dst->dfbsurface->BatchBlit (dst->dfbsurface,
+ cache->dfbsurface, rects, points, num));
++ dst->dfbsurface->ReleaseSource (dst->dfbsurface);
+
+ return CAIRO_STATUS_SUCCESS;
+ }