pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/png
Module Name: pkgsrc
Committed By: wiz
Date: Thu Aug 4 06:05:08 UTC 2016
Modified Files:
pkgsrc/graphics/png: Makefile PLIST distinfo
Log Message:
Updated png to 1.6.24.
Version 1.6.24beta01 [June 11, 2016]
Avoid potential overflow of the PNG_IMAGE_SIZE macro. This macro
is not used within libpng, but is used in some of the examples.
Version 1.6.24beta02 [June 23, 2016]
Correct filter heuristic overflow handling. This was broken when the
write filter code was moved out-of-line; if there is a single filter and
the heuristic sum overflows the calculation of the filtered line is not
completed. In versions prior to 1.6 the code was duplicated in-line
and the check not performed, so the filter operation completed; however,
in the multi-filter case where the sum is performed the 'none' filter would
be selected if all the sums overflowed, even if it wasn't in the filter
list. The fix to the first problem is simply to provide PNG_SIZE_MAX as
the current lmins sum value; this means the sum can never exceed it and
overflows silently. A reasonable compiler that does choose to inline
the code will simply eliminate the sum check.
The fix to the second problem is to use high precision arithmetic (this is
implemented in 1.7), however a simple safe fix here is to chose the lowest
numbered filter in the list from png_set_filter (this only works if the
first problem is also fixed) (John Bowler).
Use a more efficient absolute value calculation on SSE2 (Matthieu Darbois).
Fixed the case where PNG_IMAGE_BUFFER_SIZE can overflow in the application
as a result of the application using an increased 'row_stride'; previously
png_image_finish_read only checked for overflow on the base calculation of
components. (I.e. it checked for overflow of a 32-bit number on the total
number of pixel components in the output format, not the possibly padded row
length and not the number of bytes, which for linear formats is twice the
number of components.)
MSVC does not like '-(unsigned)', so replaced it with 0U-(unsigned)
MSVC does not like (uInt) = -(unsigned) (i.e. as an initializer), unless
the conversion is explicitly invoked by a cast.
Put the SKIP definition in the correct place. It needs to come after the
png.h include (see all the other .c files in contrib/libtests) because it
depends on PNG_LIBPNG_VER.
Removed the three compile warning options from the individual project
files into the zlib.props globals. It increases the warning level from 4
to All and adds a list of the warnings that need to be turned off. This is
semi-documentary; the intent is to tell libpng users which warnings have
been examined and judged non-fixable at present. The warning about
structure padding is fixable, but it would be a signficant change (moving
structure members around).
Version 1.6.24beta03 [July 4, 2016]
Optimized absolute value calculation in filter selection, similar to
code in the PAETH decoder in pngrutil.c. Build with PNG_USE_ABS to
use this.
Added pngcp to the build together with a pngcp.dfa configuration test.
Added high resolution timing to pngcp.
Added "Common linking failures" section to INSTALL.
Relocated misplaced #endif in png.c sRGB profile checking.
Fixed two Coverity issues in pngcp.c.
Version 1.6.24beta04 [July 8, 2016]
Avoid filter-selection heuristic sum calculations in cases where only one
filter is a candidate for selection. This trades off code size (added
private png_setup_*_row_only() functions) for speed.
Version 1.6.24beta05 [July 13, 2016]
Fixed some indentation to comply with our coding style.
Added contrib/tools/reindent.
Version 1.6.24beta06 [July 18, 2016]
Fixed more indentation to comply with our coding style.
Eliminated unnecessary tests of boolean png_isaligned() vs 0.
Version 1.6.24rc01 [July 25, 2016]
No changes.
Version 1.6.24rc02 [August 1, 2016]
Conditionally compile SSE2 headers in contrib/intel/intel_sse.patch
Conditionally compile png_decompress_chunk().
Version 1.6.24rc03 [August 2, 2016]
Conditionally compile ARM_NEON headers in pngpriv.h
Updated contrib/intel/intel_sse.patch
Version 1.6.24[August 4, 2016]
No changes.
To generate a diff of this commit:
cvs rdiff -u -r1.183 -r1.184 pkgsrc/graphics/png/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/graphics/png/PLIST
cvs rdiff -u -r1.128 -r1.129 pkgsrc/graphics/png/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/png/Makefile
diff -u pkgsrc/graphics/png/Makefile:1.183 pkgsrc/graphics/png/Makefile:1.184
--- pkgsrc/graphics/png/Makefile:1.183 Fri Jun 10 15:23:47 2016
+++ pkgsrc/graphics/png/Makefile Thu Aug 4 06:05:08 2016
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.183 2016/06/10 15:23:47 wiz Exp $
+# $NetBSD: Makefile,v 1.184 2016/08/04 06:05:08 wiz Exp $
-DISTNAME= libpng-1.6.23
+DISTNAME= libpng-1.6.24
PKGNAME= ${DISTNAME:S/lib//}
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/} \
Index: pkgsrc/graphics/png/PLIST
diff -u pkgsrc/graphics/png/PLIST:1.15 pkgsrc/graphics/png/PLIST:1.16
--- pkgsrc/graphics/png/PLIST:1.15 Thu Jul 18 06:27:34 2013
+++ pkgsrc/graphics/png/PLIST Thu Aug 4 06:05:08 2016
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.15 2013/07/18 06:27:34 wiz Exp $
+@comment $NetBSD: PLIST,v 1.16 2016/08/04 06:05:08 wiz Exp $
bin/libpng-config
bin/libpng16-config
bin/png-fix-itxt
+bin/pngcp
bin/pngfix
include/libpng16/png.h
include/libpng16/pngconf.h
Index: pkgsrc/graphics/png/distinfo
diff -u pkgsrc/graphics/png/distinfo:1.128 pkgsrc/graphics/png/distinfo:1.129
--- pkgsrc/graphics/png/distinfo:1.128 Fri Jun 10 15:23:47 2016
+++ pkgsrc/graphics/png/distinfo Thu Aug 4 06:05:08 2016
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.128 2016/06/10 15:23:47 wiz Exp $
+$NetBSD: distinfo,v 1.129 2016/08/04 06:05:08 wiz Exp $
-SHA1 (libpng-1.6.23.tar.xz) = 4857fb8dbd5ca7ddacc40c183e340b9ffa34a097
-RMD160 (libpng-1.6.23.tar.xz) = bb2ddbd8d72ffd86b8a2225428f778da99cc1741
-SHA512 (libpng-1.6.23.tar.xz) = 950e2fae24db1e53e80257b34a78d3708844551c460d84902becea2bb246cddb1bb581c1e1faadbe2cac45c4182051558554748c78964ab74d27a65998a31c18
-Size (libpng-1.6.23.tar.xz) = 961520 bytes
+SHA1 (libpng-1.6.24.tar.xz) = b8fa86449bebd7b1cda71e0ed2cd417b6596ce78
+RMD160 (libpng-1.6.24.tar.xz) = 7d703cc777685f42c746cfb56aecaa41f482d449
+SHA512 (libpng-1.6.24.tar.xz) = 7eccb90f530a9c728e280b2b1776304a808b5deea559632e7bcf4ea219c7cb5e453aa810215465304501127595000717d4b7c5b26a9f8e22e236ec04af53a90f
+Size (libpng-1.6.24.tar.xz) = 977532 bytes
Home |
Main Index |
Thread Index |
Old Index