diff options
author | adam <adam@pkgsrc.org> | 2007-02-17 07:04:44 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2007-02-17 07:04:44 +0000 |
commit | 68b10d404fab06bf486dfc91f78e40ba7b3684b0 (patch) | |
tree | c5b652cff17e142f5c577ae3073fc50b3591d300 | |
parent | 5e4fc63b4735d887f173eed9da17a92715255105 (diff) | |
download | pkgsrc-68b10d404fab06bf486dfc91f78e40ba7b3684b0.tar.gz |
Patch patch-ac
-rw-r--r-- | graphics/gd/distinfo | 4 | ||||
-rw-r--r-- | graphics/gd/patches/patch-ac | 6 |
2 files changed, 5 insertions, 5 deletions
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; |