Update to 1.6.14: Version 1.6.14beta01 [September 14, 2014] Guard usage of png_ptr->options with #ifdef PNG_SET_OPTION_SUPPORTED. Do not build contrib/tools/pngfix.c when PNG_SETJMP_NOT_SUPPORTED, to allow "make" to complete without setjmp support (bug report by Claudio Fontana) Add "#include <setjmp.h>" to contrib/tools/pngfix.c (John Bowler) Version 1.6.14beta02 [September 18, 2014] Use nanosleep() instead of usleep() in contrib/gregbook/rpng2-x.c because usleep() is deprecated. Define usleep() in contrib/gregbook/rpng2-x.c if not already defined in unistd.h and nanosleep() is not available; fixes error introduced in libpng-1.6.13. Disable floating point exception handling in pngvalid.c when PNG_FLOATING_ARITHMETIC is not supported (bug report by "zootus at users.sourceforge.net"). Version 1.6.14beta03 [September 19, 2014] Define FE_DIVBYZERO, FE_INVALID, and FE_OVERFLOW in pngvalid.c if not already defined. Revert floating point exception handling in pngvalid.c to version 1.6.14beta01 behavior. Version 1.6.14beta04 [September 27, 2014] Fixed incorrect handling of the iTXt compression flag in pngrutil.c (bug report by Shunsaku Hirata). Bug was introduced in libpng-1.6.0. Version 1.6.14beta05 [October 1, 2014] Added "option READ_iCCP enables READ_COMPRESSED_TEXT" to pnglibconf.dfa Version 1.6.14beta06 [October 5, 2014] Removed unused "text_len" parameter from private function png_write_zTXt(). Conditionally compile some code in png_deflate_claim(), when PNG_WARNINGS_SUPPORTED and PNG_ERROR_TEXT_SUPPORTED are disabled. Replaced repeated code in pngpread.c with PNG_PUSH_SAVE_BUFFER_IF_FULL. Added "chunk iTXt enables TEXT" and "chunk zTXt enables TEXT" to pnglibconf.dfa. Removed "option READ_COMPRESSED_TEXT enables READ_TEXT" from pnglibconf.dfa, to make it possible to configure a libpng that supports iCCP but not TEXT. Version 1.6.14beta07 [October 7, 2014] Removed "option WRITE_COMPRESSED_TEXT enables WRITE_TEXT" from pnglibconf.dfa Only mark text chunks as written after successfully writing them. Version 1.6.14rc01 [October 15, 2014] Fixed some typos in comments. Version 1.6.14rc02 [October 17, 2014] Changed png_convert_to_rfc_1123() to png_convert_to_rfc_1123_buffer() in the manual, to reflect the change made in libpng-1.6.0. Updated README file to explain that direct access to the png_struct and info_struct members has not been permitted since libpng-1.5.0. Version 1.6.14 [October 23, 2014] No changes.diff -r1.173 -r1.174 pkgsrc/graphics/png/Makefile
(wiz)
@@ -1,41 +1,41 @@ | @@ -1,41 +1,41 @@ | |||
1 | # $NetBSD: Makefile,v 1.173 2014/10/09 14:06:37 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.174 2014/10/23 07:18:23 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= libpng-1.6.13 | 3 | DISTNAME= libpng-1.6.14 | |
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/libpng16/ | 7 | ftp://ftp.fu-berlin.de/unix/graphics/png/src/libpng16/ | |
8 | EXTRACT_SUFX= .tar.xz | 8 | EXTRACT_SUFX= .tar.xz | |
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= zlib | 13 | LICENSE= zlib | |
14 | 14 | |||
15 | GNU_CONFIGURE= yes | 15 | GNU_CONFIGURE= yes | |
16 | # do not create libpng.la | 16 | # do not create libpng.la | |
17 | CONFIGURE_ARGS+= --disable-unversioned-links | 17 | CONFIGURE_ARGS+= --disable-unversioned-links | |
18 | # but do install png.h outside include/libpng$VERSION for now | 18 | # but do install png.h outside include/libpng$VERSION for now | |
19 | # until pkgsrc is fixed to use libpng-config or the pc file everywhere | 19 | # until pkgsrc is fixed to use libpng-config or the pc file everywhere | |
20 | INSTALL_TARGET= install install-header-links | 20 | INSTALL_TARGET= install install-header-links | |
21 | 21 | |||
22 | PKGCONFIG_OVERRIDE= scripts/libpng.pc.in libpng.pc.in | 22 | PKGCONFIG_OVERRIDE= scripts/libpng.pc.in libpng.pc.in | |
23 | TEST_TARGET= check | 23 | TEST_TARGET= check | |
24 | USE_LIBTOOL= yes | 24 | USE_LIBTOOL= yes | |
25 | 25 | |||
26 | CPPFLAGS+= -DPNG_USER_CHUNK_CACHE_MAX=128 -DPNG_USER_CHUNK_MALLOC_MAX=8000000 | 26 | CPPFLAGS+= -DPNG_USER_CHUNK_CACHE_MAX=128 -DPNG_USER_CHUNK_MALLOC_MAX=8000000 | |
27 | 27 | |||
28 | .include "../../mk/bsd.prefs.mk" | 28 | .include "../../mk/bsd.prefs.mk" | |
29 | # keep this in sync with the same code in buildlink3.mk | 29 | # keep this in sync with the same code in buildlink3.mk | |
30 | .if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64" | 30 | .if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64" | |
31 | CPPFLAGS+= -DPNG_NO_ASSEMBLER_CODE | 31 | CPPFLAGS+= -DPNG_NO_ASSEMBLER_CODE | |
32 | .endif | 32 | .endif | |
33 | 33 | |||
34 | SUBST_CLASSES+= rpathfix | 34 | SUBST_CLASSES+= rpathfix | |
35 | SUBST_FILES.rpathfix= libpng-config.in | 35 | SUBST_FILES.rpathfix= libpng-config.in | |
36 | SUBST_MESSAGE.rpathfix= Adding rpath to libpng-config | 36 | SUBST_MESSAGE.rpathfix= Adding rpath to libpng-config | |
37 | SUBST_SED.rpathfix= -e 's/-L$${libdir}/${COMPILER_RPATH_FLAG}$${libdir} -L$${libdir}/g' | 37 | SUBST_SED.rpathfix= -e 's/-L$${libdir}/${COMPILER_RPATH_FLAG}$${libdir} -L$${libdir}/g' | |
38 | SUBST_STAGE.rpathfix= pre-configure | 38 | SUBST_STAGE.rpathfix= pre-configure | |
39 | 39 | |||
40 | .include "../../devel/zlib/buildlink3.mk" | 40 | .include "../../devel/zlib/buildlink3.mk" | |
41 | .include "../../mk/bsd.pkg.mk" | 41 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.117 2014/08/21 12:02:59 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.118 2014/10/23 07:18:23 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (libpng-1.6.13.tar.xz) = 5ae32b6b99cef6c5c85feab8edf9d619e1773b15 | 3 | SHA1 (libpng-1.6.14.tar.xz) = 9cc30ac84214fda2177a02da275359ffd5b068d9 | |
4 | RMD160 (libpng-1.6.13.tar.xz) = 519725df766ffbaa456ba6f963cabd3b14e48ea2 | 4 | RMD160 (libpng-1.6.14.tar.xz) = 56615aea45b63a37c6c013ce1ef8c99ee8b63f02 | |
5 | Size (libpng-1.6.13.tar.xz) = 902612 bytes | 5 | Size (libpng-1.6.14.tar.xz) = 905840 bytes |