From 8f275256748252501c4159a3764d6b91a404ec2c Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 25 Feb 2009 22:23:32 +0000 Subject: Properly initialize a variable to fix a crash when rendering certain progress bars. Obtained from: http://cgit.freedesktop.org/cairo/commit/?id=efa9e1088cbf1b5331cc0bab3348520f3b91ae4b --- graphics/cairo/Makefile | 2 +- graphics/cairo/files/patch-src_cairo-clip.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 graphics/cairo/files/patch-src_cairo-clip.c (limited to 'graphics/cairo') diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile index 511c425010c9..11b727629a91 100644 --- a/graphics/cairo/Makefile +++ b/graphics/cairo/Makefile @@ -8,7 +8,7 @@ PORTNAME= cairo PORTVERSION= 1.8.6 -PORTREVISION?= 0 +PORTREVISION?= 1 PORTEPOCH?= 1 CATEGORIES= graphics MASTER_SITES= http://cairographics.org/releases/ diff --git a/graphics/cairo/files/patch-src_cairo-clip.c b/graphics/cairo/files/patch-src_cairo-clip.c new file mode 100644 index 000000000000..43e7742aebd0 --- /dev/null +++ b/graphics/cairo/files/patch-src_cairo-clip.c @@ -0,0 +1,11 @@ +--- src/cairo-clip.c.orig 2009-02-25 17:18:08.000000000 -0500 ++++ src/cairo-clip.c 2009-02-25 17:18:26.000000000 -0500 +@@ -423,7 +423,7 @@ _cairo_clip_intersect_mask (cairo_clip_t + cairo_box_t extents; + cairo_rectangle_int_t surface_rect, target_rect; + cairo_surface_t *surface = NULL; +- cairo_status_t status; ++ cairo_status_t status = CAIRO_STATUS_SUCCESS; + + if (clip->all_clipped) + return CAIRO_STATUS_SUCCESS; -- cgit