diff options
author | wiz <wiz@pkgsrc.org> | 2010-01-20 14:30:28 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-01-20 14:30:28 +0000 |
commit | e0cd635b4f4f9e27190c6b0759fde06cb4b5670b (patch) | |
tree | 9be1b6220afd66f135075314787e766c00514b01 /graphics | |
parent | 40b0bb6d97553d4690dda7d7744303f869a2e304 (diff) | |
download | pkgsrc-e0cd635b4f4f9e27190c6b0759fde06cb4b5670b.tar.gz |
Update to 2.5.2:
2.5.2 @ 2009-11-11:
* Apply C style tweaks from Glenn Randers-Pehrson, eliminating
some deprecated API calls.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gif2png/Makefile | 5 | ||||
-rw-r--r-- | graphics/gif2png/distinfo | 9 | ||||
-rw-r--r-- | graphics/gif2png/patches/patch-aa | 34 |
3 files changed, 6 insertions, 42 deletions
diff --git a/graphics/gif2png/Makefile b/graphics/gif2png/Makefile index c2faa0a40be..0c5f8c1b613 100644 --- a/graphics/gif2png/Makefile +++ b/graphics/gif2png/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.34 2009/02/09 22:56:24 joerg Exp $ +# $NetBSD: Makefile,v 1.35 2010/01/20 14:30:28 wiz Exp $ -DISTNAME= gif2png-2.5.1 -PKGREVISION= 3 +DISTNAME= gif2png-2.5.2 CATEGORIES= graphics converters MASTER_SITES= http://www.catb.org/~esr/gif2png/ diff --git a/graphics/gif2png/distinfo b/graphics/gif2png/distinfo index eb249107c2a..7fc087b6158 100644 --- a/graphics/gif2png/distinfo +++ b/graphics/gif2png/distinfo @@ -1,6 +1,5 @@ -$NetBSD: distinfo,v 1.8 2006/04/18 12:56:03 tron Exp $ +$NetBSD: distinfo,v 1.9 2010/01/20 14:30:28 wiz Exp $ -SHA1 (gif2png-2.5.1.tar.gz) = 682f3dc2849ed1e938c12459eb089247aee09a2b -RMD160 (gif2png-2.5.1.tar.gz) = 64dfd73ef988a1f45f221abf6cfbf2e790f42ea3 -Size (gif2png-2.5.1.tar.gz) = 104449 bytes -SHA1 (patch-aa) = 20570f65b5b0604aa6449da38d847979119360db +SHA1 (gif2png-2.5.2.tar.gz) = 0e9e66d6728fe7e2dcde61ad0e398a60894946b3 +RMD160 (gif2png-2.5.2.tar.gz) = a361b18af23e59b73121ae25a155b54fb62eb14a +Size (gif2png-2.5.2.tar.gz) = 171740 bytes diff --git a/graphics/gif2png/patches/patch-aa b/graphics/gif2png/patches/patch-aa deleted file mode 100644 index b9d18a0c581..00000000000 --- a/graphics/gif2png/patches/patch-aa +++ /dev/null @@ -1,34 +0,0 @@ -$NetBSD: patch-aa,v 1.3 2006/04/18 12:56:03 tron Exp $ - ---- gif2png.c.orig 2002-05-10 15:06:02.000000000 +0100 -+++ gif2png.c 2006-04-18 13:52:45.000000000 +0100 -@@ -135,7 +135,7 @@ - unsigned long hist_maxvalue; - int passcount; - int errtype, errorcount = 0; -- png_text software; -+ png_text comment, software; - - /* these volatile declarations prevent gcc warnings ("variable might be - * clobbered by `longjmp' or `vfork'") */ -@@ -517,11 +517,15 @@ - j = s->size; - if (j > 0 && data[j-1] == '\0') /* some apps include a NULL in GIF comment */ - --j; -- if (j<500) { -- png_write_tEXt(png_ptr, "Comment", (png_charp)data, j); -- } else { -- png_write_zTXt(png_ptr, "Comment", (png_charp)data, j, 0); -- } -+ if (j<1000) -+ comment.compression = PNG_TEXT_COMPRESSION_NONE; -+ else -+ comment.compression = PNG_TEXT_COMPRESSION_zTXt; -+ comment.key = "Comment"; -+ comment.text = data; -+ comment.text_length = j; -+ -+ png_set_text(png_ptr, info_ptr, &comment, 1); - break; - - case GIFapplication: |