summaryrefslogtreecommitdiff
path: root/graphics/cairo/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2008-11-26 15:55:32 +0000
committerdrochner <drochner@pkgsrc.org>2008-11-26 15:55:32 +0000
commitb6680c5fad5984d1cdc675ab9887c63a21714f6c (patch)
tree57cd411ac5674fa4d139e4107de6896ede3d0ba2 /graphics/cairo/patches
parent03eefd207f384003f3b6eff1f7dde5dc5558853b (diff)
downloadpkgsrc-b6680c5fad5984d1cdc675ab9887c63a21714f6c.tar.gz
fix an uninitialized variable, from upstream CVS, bump PKGREVISION
This should fix the "transmission" crash reported by Jared D. McNeill on pkgsrc-changes.
Diffstat (limited to 'graphics/cairo/patches')
-rw-r--r--graphics/cairo/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/cairo/patches/patch-ac b/graphics/cairo/patches/patch-ac
new file mode 100644
index 00000000000..fc3fab8d8e9
--- /dev/null
+++ b/graphics/cairo/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.12 2008/11/26 15:55:32 drochner Exp $
+
+--- src/cairo-clip.c.orig 2008-11-26 16:44:13.000000000 +0100
++++ src/cairo-clip.c
+@@ -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;