summaryrefslogtreecommitdiffstats
path: root/graphics/cairo
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-17 02:34:17 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-17 02:34:17 +0800
commit4e3c0e0bef5519a5e9a2b671112ac9bd3467be39 (patch)
tree99cd2d113d0b84b0124c2914d93a41ca8be9e7c6 /graphics/cairo
parent8242f78e7ace729a4b26938d2ddbc33506f9d152 (diff)
downloadmarcuscom-ports-4e3c0e0bef5519a5e9a2b671112ac9bd3467be39.tar
marcuscom-ports-4e3c0e0bef5519a5e9a2b671112ac9bd3467be39.tar.gz
marcuscom-ports-4e3c0e0bef5519a5e9a2b671112ac9bd3467be39.tar.bz2
marcuscom-ports-4e3c0e0bef5519a5e9a2b671112ac9bd3467be39.tar.lz
marcuscom-ports-4e3c0e0bef5519a5e9a2b671112ac9bd3467be39.tar.xz
marcuscom-ports-4e3c0e0bef5519a5e9a2b671112ac9bd3467be39.tar.zst
marcuscom-ports-4e3c0e0bef5519a5e9a2b671112ac9bd3467be39.zip
Fix crash triggered by just about everything one does in evince.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4514 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/cairo')
-rw-r--r--graphics/cairo/Makefile4
-rw-r--r--graphics/cairo/files/patch-src_cairo-ft-font.c13
2 files changed, 15 insertions, 2 deletions
diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile
index ea566f513..c0f47a242 100644
--- a/graphics/cairo/Makefile
+++ b/graphics/cairo/Makefile
@@ -3,12 +3,12 @@
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/graphics/cairo/Makefile,v 1.20 2005/08/13 18:53:46 marcus Exp $
+# $MCom: ports/graphics/cairo/Makefile,v 1.21 2005/08/13 20:21:02 marcus Exp $
#
PORTNAME= cairo
PORTVERSION= 0.9.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://cairographics.org/snapshots/
diff --git a/graphics/cairo/files/patch-src_cairo-ft-font.c b/graphics/cairo/files/patch-src_cairo-ft-font.c
new file mode 100644
index 000000000..86ce179c9
--- /dev/null
+++ b/graphics/cairo/files/patch-src_cairo-ft-font.c
@@ -0,0 +1,13 @@
+--- src/cairo-ft-font.c.orig Tue Aug 16 14:31:13 2005
++++ src/cairo-ft-font.c Tue Aug 16 14:31:57 2005
+@@ -296,9 +296,8 @@ _cairo_ft_unscaled_font_init (cairo_ft_u
+ filename_copy = strdup (filename);
+ if (filename_copy == NULL)
+ return CAIRO_STATUS_NO_MEMORY;
++ _cairo_ft_unscaled_font_init_key (unscaled, filename_copy, id);
+ }
+-
+- _cairo_ft_unscaled_font_init_key (unscaled, filename_copy, id);
+
+ if (face) {
+ unscaled->from_face = 1;