From 68b10d404fab06bf486dfc91f78e40ba7b3684b0 Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 17 Feb 2007 07:04:44 +0000 Subject: Patch patch-ac --- graphics/gd/distinfo | 4 ++-- graphics/gd/patches/patch-ac | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'graphics') diff --git a/graphics/gd/distinfo b/graphics/gd/distinfo index 5005575d540..9b7af8465b9 100644 --- a/graphics/gd/distinfo +++ b/graphics/gd/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.24 2007/02/16 20:37:52 adam Exp $ +$NetBSD: distinfo,v 1.25 2007/02/17 07:04:44 adam Exp $ SHA1 (gd-2.0.34.tar.bz2) = 7d735b2917f987dd71ddbb72e9e100b2f8951de7 RMD160 (gd-2.0.34.tar.bz2) = 88b1d298e3392c5c05acf2cd01b387d7e0d2bfae Size (gd-2.0.34.tar.bz2) = 1135372 bytes SHA1 (patch-aa) = 38f0aa7043dba517405312d4eef59347e3c0185a SHA1 (patch-ab) = 082f5baa2c147fb62381c21ecb3ce11a1891a2aa -SHA1 (patch-ac) = 0a150afacef558692eb9925e354e1742dbc010cd +SHA1 (patch-ac) = 1e0dbdc6a2ad56ec947cd694749049ff26014e82 diff --git a/graphics/gd/patches/patch-ac b/graphics/gd/patches/patch-ac index 4dfb993b0c9..0a11901cf97 100644 --- a/graphics/gd/patches/patch-ac +++ b/graphics/gd/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.4 2007/02/16 20:37:52 adam Exp $ +$NetBSD: patch-ac,v 1.5 2007/02/17 07:04:45 adam Exp $ --- gd_gif_in.c.orig 2007-02-03 02:41:00.000000000 +0100 +++ gd_gif_in.c @@ -32,14 +32,14 @@ $NetBSD: patch-ac,v 1.4 2007/02/16 20:37:52 adam Exp $ *Transparent = buf[3]; - while (GetDataBlock(fd, (unsigned char*) buf, ZeroDataBlockP) > 0) -+ while (GetDataBlock(fd, (unsigned char*) buf, ZeroDataBlockP) > 0 && --maxcount > 0) ++ while (GetDataBlock(fd, (unsigned char*) buf, ZeroDataBlockP) > 0 && --maxcount >= 0) ; return FALSE; default: break; } - while (GetDataBlock(fd, (unsigned char*) buf, ZeroDataBlockP) > 0) -+ while (GetDataBlock(fd, (unsigned char*) buf, ZeroDataBlockP) > 0 && --maxcount > 0) ++ while (GetDataBlock(fd, (unsigned char*) buf, ZeroDataBlockP) > 0 && --maxcount >= 0) ; return FALSE; -- cgit v1.2.3