pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/cairo fix an uninitialized variable, from ups...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c465133d8de
branches:  trunk
changeset: 550696:9c465133d8de
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Nov 26 15:55:32 2008 +0000

description:
fix an uninitialized variable, from upstream CVS, bump PKGREVISION
This should fix the "transmission" crash reported by Jared D. McNeill
on pkgsrc-changes.

diffstat:

 graphics/cairo/Makefile         |   3 ++-
 graphics/cairo/distinfo         |   3 ++-
 graphics/cairo/patches/patch-ac |  13 +++++++++++++
 3 files changed, 17 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r eb94f2ec4864 -r 9c465133d8de graphics/cairo/Makefile
--- a/graphics/cairo/Makefile   Wed Nov 26 15:48:16 2008 +0000
+++ b/graphics/cairo/Makefile   Wed Nov 26 15:55:32 2008 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.71 2008/11/16 17:32:01 wiz Exp $
+# $NetBSD: Makefile,v 1.72 2008/11/26 15:55:32 drochner Exp $
 
 DISTNAME=      cairo-1.8.4
+PKGREVISION=   1
 CATEGORIES=    graphics
 MASTER_SITES=  http://cairographics.org/releases/
 
diff -r eb94f2ec4864 -r 9c465133d8de graphics/cairo/distinfo
--- a/graphics/cairo/distinfo   Wed Nov 26 15:48:16 2008 +0000
+++ b/graphics/cairo/distinfo   Wed Nov 26 15:55:32 2008 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.47 2008/11/16 17:20:14 wiz Exp $
+$NetBSD: distinfo,v 1.48 2008/11/26 15:55:32 drochner Exp $
 
 SHA1 (cairo-1.8.4.tar.gz) = 57fd2c7e0af16bee7cd53436d7c9dc526784f1da
 RMD160 (cairo-1.8.4.tar.gz) = 16e0c6a0342c98219212dac1ff956c2cb839b4e5
 Size (cairo-1.8.4.tar.gz) = 7070822 bytes
 SHA1 (patch-aa) = 870d57c20afbca75ab5c3ec399409de19726fd66
 SHA1 (patch-ab) = 28af58113b1f495660c5a881ae1e8d168db36e4e
+SHA1 (patch-ac) = 7b7a4be52b0f2a4e0265838290964413d2803dbc
diff -r eb94f2ec4864 -r 9c465133d8de graphics/cairo/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cairo/patches/patch-ac   Wed Nov 26 15:55:32 2008 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index