summaryrefslogtreecommitdiff
path: root/graphics/cairo/patches
diff options
context:
space:
mode:
authormef <mef>2014-11-15 00:38:08 +0000
committermef <mef>2014-11-15 00:38:08 +0000
commit2f557e3817f0bf40e701de583bbc6a4e3b0398b9 (patch)
tree2ea83bced301a65d85f0a50c2645a21057ec36db /graphics/cairo/patches
parentc9bfaa39a35dd98860b52b4d017c5ec240f70d06 (diff)
downloadpkgsrc-2f557e3817f0bf40e701de583bbc6a4e3b0398b9.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/patches')
-rw-r--r--graphics/cairo/patches/patch-src_cairo-tor-scan-converter_c20
1 files changed, 20 insertions, 0 deletions
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;