Changes 1.5.3beta05: * Added the "_POSIX_SOURCE" feature test macro to ensure libpng sees the correct API. _POSIX_SOURCE is defined in pngpriv.h, pngtest.c and pngvalid.c to ensure that POSIX conformant systems disable non-POSIX APIs. * Removed png_snprintf and added formatted warning messages. This change adds internal APIs to allow png_warning messages to have parameters without requiring the host OS to implement snprintf. As a side effect the dependency of the tIME-supporting RFC1132 code on stdio is removed and PNG_NO_WARNINGS does actually work now. * Added PNG_WRITE_OPTIMIZE_CMF_SUPPORTED macro to make the zlib "CMF" byte optimization configureable. * IDAT compression failed if preceded by a compressed text chunk (bug introduced in libpng-1.5.3beta01-02). This was because the attempt to reset the zlib stream in png_write_IDAT happened after the first IDAT chunk had been deflated - much too late. In this change internal functions were added to claim/release the z_stream and, hopefully, make the code more robust. Also deflateEnd checking is added - previously libpng would ignore an error at the end of the stream.diff -r1.133 -r1.134 pkgsrc/graphics/png/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.133 2011/05/03 09:07:35 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.134 2011/05/06 07:19:22 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= libpng-1.5.3beta04 | 3 | DISTNAME= libpng-1.5.3beta05 | |
4 | PKGNAME= ${DISTNAME:S/lib//} | 4 | PKGNAME= ${DISTNAME:S/lib//} | |
5 | CATEGORIES= graphics | 5 | CATEGORIES= graphics | |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/} \ | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/} \ | |
7 | ftp://ftp.fu-berlin.de/unix/graphics/png/src/ | 7 | ftp://ftp.fu-berlin.de/unix/graphics/png/src/ | |
8 | EXTRACT_SUFX= .tar.bz2 | 8 | EXTRACT_SUFX= .tar.bz2 | |
9 | 9 | |||
10 | MAINTAINER= wiz@NetBSD.org | 10 | MAINTAINER= wiz@NetBSD.org | |
11 | HOMEPAGE= http://www.libpng.org/pub/png/libpng.html | 11 | HOMEPAGE= http://www.libpng.org/pub/png/libpng.html | |
12 | COMMENT= Library for manipulating PNG images | 12 | COMMENT= Library for manipulating PNG images | |
13 | LICENSE= png-license | 13 | LICENSE= png-license | |
14 | 14 | |||
15 | PKG_INSTALLATION_TYPES= overwrite pkgviews | 15 | PKG_INSTALLATION_TYPES= overwrite pkgviews | |
16 | PKG_DESTDIR_SUPPORT= user-destdir | 16 | PKG_DESTDIR_SUPPORT= user-destdir |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.79 2011/05/03 09:07:35 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.80 2011/05/06 07:19:22 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (libpng-1.5.3beta04.tar.bz2) = f6695ddc81c6c3a1a49142adf478753f117fba0b | 3 | SHA1 (libpng-1.5.3beta05.tar.bz2) = 0fa980967650c9623e4e84b78165600e0bbb5abc | |
4 | RMD160 (libpng-1.5.3beta04.tar.bz2) = 0cb187dd84a4234593f993bd42d1a295accd3351 | 4 | RMD160 (libpng-1.5.3beta05.tar.bz2) = 54cfb6bb31989cb3c3c2ce8585113191b7ec40b7 | |
5 | Size (libpng-1.5.3beta04.tar.bz2) = 792619 bytes | 5 | Size (libpng-1.5.3beta05.tar.bz2) = 782137 bytes | |
6 | SHA1 (patch-aa) = 0c4f4e594798384079a0ce2ee5d7a45e16366b12 | 6 | SHA1 (patch-aa) = 0c4f4e594798384079a0ce2ee5d7a45e16366b12 |