pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/cairo New file patch-src_cairo-tor-scan-conve...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e0cd4d188996
branches:  trunk
changeset: 641686:e0cd4d188996
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Nov 15 00:38:08 2014 +0000

description:
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@localhost/msg1272017.html
Thanks joerg@ and wiz@,

diffstat:

 graphics/cairo/distinfo                                     |   3 +-
 graphics/cairo/patches/patch-src_cairo-tor-scan-converter_c |  20 +++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (38 lines):

diff -r b406377f8b51 -r e0cd4d188996 graphics/cairo/distinfo
--- a/graphics/cairo/distinfo   Sat Nov 15 00:04:33 2014 +0000
+++ b/graphics/cairo/distinfo   Sat Nov 15 00:38:08 2014 +0000
@@ -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-ab) = 11f7e0e59bd5c51a8fdacb48dcf2f2fefdf3b768
 SHA1 (patch-ac) = 1785bbef6bcab4781bf89e1b986a7eb96e5f2b64
 SHA1 (patch-ad) = a1068a37113b162ccfe14d7f1bd0baa9df7e5530
+SHA1 (patch-src_cairo-tor-scan-converter_c) = c47c4336ae74f2daa68140197306cd22ff0e0009
diff -r b406377f8b51 -r e0cd4d188996 graphics/cairo/patches/patch-src_cairo-tor-scan-converter_c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cairo/patches/patch-src_cairo-tor-scan-converter_c       Sat Nov 15 00:38:08 2014 +0000
@@ -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@localhost/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;



Home | Main Index | Thread Index | Old Index