diff options
author | mef <mef@pkgsrc.org> | 2014-11-15 00:38:08 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2014-11-15 00:38:08 +0000 |
commit | 81cababde09a60ef448d8800212ce7dd6ec04d94 (patch) | |
tree | 2ea83bced301a65d85f0a50c2645a21057ec36db /graphics/cairo | |
parent | 4980712d2e1479472847cec6abeeb83073b20bc5 (diff) | |
download | pkgsrc-81cababde09a60ef448d8800212ce7dd6ec04d94.tar.gz |
New file patch-src_cairo-tor-scan-converter_c.
Dot command segfaults easily to output *.png.
See http://mail-index.netbsd.org/pkgsrc-users/2014/10/28/msg020603.html
And this patch is at:
https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1272017.html
Thanks joerg@ and wiz@,
Diffstat (limited to 'graphics/cairo')
-rw-r--r-- | graphics/cairo/distinfo | 3 | ||||
-rw-r--r-- | graphics/cairo/patches/patch-src_cairo-tor-scan-converter_c | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/graphics/cairo/distinfo b/graphics/cairo/distinfo index de9f84cee0d..36fdeb80038 100644 --- a/graphics/cairo/distinfo +++ b/graphics/cairo/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.77 2014/10/22 09:55:36 wiz Exp $ +$NetBSD: distinfo,v 1.78 2014/11/15 00:38:08 mef Exp $ SHA1 (cairo-1.14.0.tar.xz) = 53cf589b983412ea7f78feee2e1ba9cea6e3ebae RMD160 (cairo-1.14.0.tar.xz) = 87213a12c9789ff78dfbffbe4555aa28811c12c5 @@ -7,3 +7,4 @@ SHA1 (patch-aa) = b01bc60f77a7122b0c0d0d9b25ad512bac7c190c SHA1 (patch-ab) = 11f7e0e59bd5c51a8fdacb48dcf2f2fefdf3b768 SHA1 (patch-ac) = 1785bbef6bcab4781bf89e1b986a7eb96e5f2b64 SHA1 (patch-ad) = a1068a37113b162ccfe14d7f1bd0baa9df7e5530 +SHA1 (patch-src_cairo-tor-scan-converter_c) = c47c4336ae74f2daa68140197306cd22ff0e0009 diff --git a/graphics/cairo/patches/patch-src_cairo-tor-scan-converter_c b/graphics/cairo/patches/patch-src_cairo-tor-scan-converter_c new file mode 100644 index 00000000000..297d9113dd9 --- /dev/null +++ b/graphics/cairo/patches/patch-src_cairo-tor-scan-converter_c @@ -0,0 +1,20 @@ +$NetBSD: patch-src_cairo-tor-scan-converter_c,v 1.1 2014/11/15 00:38:08 mef Exp $ + +dot command segfaults easily to output *.png. +See http://mail-index.netbsd.org/pkgsrc-users/2014/10/28/msg020603.html +And this patch is at: +https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1272017.html + +--- src/cairo-tor-scan-converter.c~ 2014-10-14 10:46:33.000000000 +0900 ++++ src/cairo-tor-scan-converter.c 2014-11-03 21:10:36.000000000 +0900 +@@ -1167,8 +1167,8 @@ can_do_full_row (struct active_list *act + + if (e->dy) { + struct quorem x = e->x; +- x.quo += e->dxdy_full.quo - e->dxdy.quo/2; +- x.rem += e->dxdy_full.rem - e->dxdy.rem/2; ++ x.quo += e->dxdy_full.quo; ++ x.rem += e->dxdy_full.rem; + if (x.rem < 0) { + x.quo--; + x.rem += e->dy; |