From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- gfx/cairo/fixup-unbounded.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 gfx/cairo/fixup-unbounded.patch (limited to 'gfx/cairo/fixup-unbounded.patch') diff --git a/gfx/cairo/fixup-unbounded.patch b/gfx/cairo/fixup-unbounded.patch new file mode 100644 index 000000000..09b3a9069 --- /dev/null +++ b/gfx/cairo/fixup-unbounded.patch @@ -0,0 +1,22 @@ +diff --git a/gfx/cairo/cairo/src/cairo-image-surface.c b/gfx/cairo/cairo/src/cairo-image-surface.c +--- a/gfx/cairo/cairo/src/cairo-image-surface.c ++++ b/gfx/cairo/cairo/src/cairo-image-surface.c +@@ -1797,17 +1797,17 @@ _cairo_image_surface_fixup_unbounded_box + cairo_boxes_t *boxes) + { + cairo_boxes_t clear; + cairo_box_t box; + cairo_status_t status; + struct _cairo_boxes_chunk *chunk; + int i; + +- if (boxes->num_boxes <= 1 && clip_region == NULL) ++ if (boxes->num_boxes < 1 && clip_region == NULL) + return _cairo_image_surface_fixup_unbounded (dst, extents, NULL); + + _cairo_boxes_init (&clear); + + box.p1.x = _cairo_fixed_from_int (extents->unbounded.x + extents->unbounded.width); + box.p1.y = _cairo_fixed_from_int (extents->unbounded.y); + box.p2.x = _cairo_fixed_from_int (extents->unbounded.x); + box.p2.y = _cairo_fixed_from_int (extents->unbounded.y + extents->unbounded.height); -- cgit v1.2.3