aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-02-26 06:23:32 +0800
committermarcus <marcus@FreeBSD.org>2009-02-26 06:23:32 +0800
commit8f275256748252501c4159a3764d6b91a404ec2c (patch)
treea0e0c2847697edfa48071e25127aa376c23d69e9 /graphics
parentc33a3d2a8d9f0b71cb7f6e8cb5f10986ef367be6 (diff)
downloadfreebsd-ports-gnome-8f275256748252501c4159a3764d6b91a404ec2c.tar.gz
freebsd-ports-gnome-8f275256748252501c4159a3764d6b91a404ec2c.tar.zst
freebsd-ports-gnome-8f275256748252501c4159a3764d6b91a404ec2c.zip
Properly initialize a variable to fix a crash when rendering certain
progress bars. Obtained from: http://cgit.freedesktop.org/cairo/commit/?id=efa9e1088cbf1b5331cc0bab3348520f3b91ae4b
Diffstat (limited to 'graphics')
-rw-r--r--graphics/cairo/Makefile2
-rw-r--r--graphics/cairo/files/patch-src_cairo-clip.c11
2 files changed, 12 insertions, 1 deletions
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;