summaryrefslogtreecommitdiff
path: root/graphics/cairo/files
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2014-09-12 06:34:28 +0000
committerKoop Mast <kwm@FreeBSD.org>2014-09-12 06:34:28 +0000
commitaf3711b2f722eb3009f52b50a55bafff981ce06d (patch)
tree589c5ce8d8fe5b0ba64bbcf2301dceae6bcf8830 /graphics/cairo/files
parentUpdate distinfo (diff)
The cairo port is now updated to 1.12.16.
We delayed the update of cairo to the 1.12 series as long as we possibly could, but 1.10 was blocking updates to other ports, e.g. pango and gtk30. Continued availability of cairo 1.10 would prevent building of any GTK+ applications. Cairo 1.12 exposes some driver bugs in xf86-video-intel 2.7.1, and may expose bugs in other older drivers. These bugs manifest as display artifacts. Conversely, this update fixes some graphical glitches with xorg-server 1.12.
Diffstat (limited to 'graphics/cairo/files')
-rw-r--r--graphics/cairo/files/patch-src_cairo-xcb-surface-render.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/graphics/cairo/files/patch-src_cairo-xcb-surface-render.c b/graphics/cairo/files/patch-src_cairo-xcb-surface-render.c
new file mode 100644
index 000000000000..63d5c8d403de
--- /dev/null
+++ b/graphics/cairo/files/patch-src_cairo-xcb-surface-render.c
@@ -0,0 +1,25 @@
+From 18b3cce2f5812c357e4b6310e72d72dd9ec92ed4 Mon Sep 17 00:00:00 2001
+From: Bryce Harrington <b.harrington@samsung.com>
+Date: Tue, 06 May 2014 17:18:19 +0000
+Subject: Fix segfault in firefox when scrolling on certain pages
+
+Bug discovered by thorsten <fly_a320@gmx.de>
+
+Patch from Chris Wilson <chris@chris-wilson.co.uk>
+---
+diff --git a/src/cairo-xcb-surface-render.c b/src/cairo-xcb-surface-render.c
+index 9625953..75455e5 100644
+--- src/cairo-xcb-surface-render.c
++++ src/cairo-xcb-surface-render.c
+@@ -3121,6 +3121,9 @@ _clip_and_composite_boxes (cairo_xcb_surface_t *dst,
+
+ clip = _cairo_clip_copy (extents->clip);
+ clip = _cairo_clip_intersect_boxes (clip, boxes);
++ if (_cairo_clip_is_all_clipped (clip))
++ return CAIRO_INT_STATUS_NOTHING_TO_DO;
++
+ status = _cairo_clip_get_polygon (clip, &polygon,
+ &fill_rule, &antialias);
+ _cairo_clip_path_destroy (clip->path);
+--
+cgit v0.9.0.2-2-gbebe