pkgsrc-Users archive

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

Re: cairo and cairo-gobject



The same report is at Debian Bug#766479.
I will commit the attached patch with PKGREVISION++
and distinfo update.

Thanks,
---
mef%NetBSD.org@localhost
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.

$NetBSD$

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