The NetBSD Project

CVS log for pkgsrc/graphics/png/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / graphics / png

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.199 / (download) - annotate - [select for diffs], Tue Apr 14 12:35:05 2020 UTC (9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, HEAD
Changes since 1.198: +2 -2 lines
Diff to previous 1.198 (colored)

png: drop maintainership

Revision 1.197.4.1 / (download) - annotate - [select for diffs], Sun May 12 20:19:19 2019 UTC (20 months ago) by spz
Branch: pkgsrc-2019Q1
Changes since 1.197: +2 -2 lines
Diff to previous 1.197 (colored) next main 1.198 (colored)

Pullup ticket #5955 - requested by taca
graphics/png: security update

Revisions pulled up:
- graphics/png/Makefile                                         1.198
- graphics/png/distinfo                                         1.142

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Wed Apr 17 07:05:21 UTC 2019

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   png: update to 1.6.37.

   This is largely a bugfix-only release. Most importantly, it contains
   a fix for a use-after-free vulnerability (CVE-2019-7317) affecting
   the simplified libpng API, and a fix for a memory leak affecting the
   ARM NEON implementation of the palette-to-RGB(A) expansion.


   To generate a diff of this commit:
   cvs rdiff -u -r1.197 -r1.198 pkgsrc/graphics/png/Makefile
   cvs rdiff -u -r1.141 -r1.142 pkgsrc/graphics/png/distinfo

Revision 1.198 / (download) - annotate - [select for diffs], Wed Apr 17 07:05:20 2019 UTC (21 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.197: +2 -2 lines
Diff to previous 1.197 (colored)

png: update to 1.6.37.

This is largely a bugfix-only release. Most importantly, it contains
a fix for a use-after-free vulnerability (CVE-2019-7317) affecting
the simplified libpng API, and a fix for a memory leak affecting the
ARM NEON implementation of the palette-to-RGB(A) expansion.

Revision 1.197 / (download) - annotate - [select for diffs], Sun Dec 2 12:43:23 2018 UTC (2 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2018Q4-base, pkgsrc-2018Q4
Branch point for: pkgsrc-2019Q1
Changes since 1.196: +2 -2 lines
Diff to previous 1.196 (colored)

png: update to 1.6.36.

Version 1.6.36 [December 1, 2018]
  Optimized png_do_expand_palette for ARM processors.
  Improved performance by around 10-22% on a recent ARM Chromebook.
  (Contributed by Richard Townsend, ARM Holdings)
  Fixed manipulation of machine-specific optimization options.
  (Contributed by Vicki Pfau)
  Used memcpy instead of manual pointer arithmetic on Intel SSE2.
  (Contributed by Samuel Williams)
  Fixed build errors with MSVC on ARM64.
  (Contributed by Zhijie Liang)
  Fixed detection of libm in CMakeLists.
  (Contributed by Cameron Cawley)
  Fixed incorrect creation of pkg-config file in CMakeLists.
  (Contributed by Kyle Bentley)
  Fixed the CMake build on Windows MSYS by avoiding symlinks.
  Fixed a build warning on OpenBSD.
  (Contributed by Theo Buehler)
  Fixed various typos in comments.
  (Contributed by "luz.paz")
  Raised the minimum required CMake version from 3.0.2 to 3.1.
  Removed yet more of the vestigial support for pre-ANSI C compilers.
  Removed ancient makefiles for ancient systems that have been broken
  across all previous libpng-1.6.x versions.
  Removed the Y2K compliance statement and the export control
  information.
  Applied various code style and documentation fixes.

Revision 1.196 / (download) - annotate - [select for diffs], Thu Aug 2 15:01:12 2018 UTC (2 years, 5 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.195: +6 -6 lines
Diff to previous 1.195 (colored)

png: updated to 1.6.35

Version 1.6.35:
* Replaced the remaining uses of png_size_t with size_t (Cosmin)
* Fixed the calculation of row_factor in png_check_chunk_length
* Added missing parentheses to a macro definition

Revision 1.195 / (download) - annotate - [select for diffs], Mon Oct 2 09:24:30 2017 UTC (3 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.194: +2 -2 lines
Diff to previous 1.194 (colored)

png: update to 1.6.34.

Version 1.6.33beta01 [August 28, 2017]
  Added PNGMINUS_UNUSED macro to contrib/pngminus/p*.c and added missing
    parenthesis in contrib/pngminus/pnm2png.c (bug report by Christian Hesse).
  Fixed off-by-one error in png_do_check_palette_indexes() (Bug report
    by Mick P., Source Forge Issue #269).

Version 1.6.33beta02 [September 3, 2017]
  Initialize png_handler.row_ptr in contrib/oss-fuzz/libpng_read_fuzzer.cc
    to fix shortlived oss-fuzz issue 3234.
  Compute a larger limit on IDAT because some applications write a deflate
    buffer for each row (Bug report by Andrew Church).
  Use current date (DATE) instead of release-date (RDATE) in last
    changed date of contrib/oss-fuzz files.
  Enabled ARM support in CMakeLists.txt (Bernd Kuhls).

Version 1.6.33beta03 [September 14, 2017]
  Fixed incorrect typecast of some arguments to png_malloc() and
    png_calloc() that were png_uint_32 instead of png_alloc_size_t
    (Bug report by "irwir" in Github libpng issue #175).
  Use pnglibconf.h.prebuilt when building for ANDROID with cmake (Github
    issue 162, by rcdailey).

Version 1.6.33rc01 [September 20, 2017]
  Initialize memory allocated by png_inflate to zero, using memset, to
    stop an oss-fuzz "use of uninitialized value" detection in png_set_text_2()
    due to truncated iTXt or zTXt chunk.
  Initialize memory allocated by png_read_buffer to zero, using memset, to
    stop an oss-fuzz "use of uninitialized value" detection in
    png_icc_check_tag_table() due to truncated iCCP chunk.
  Removed a redundant test (suggested by "irwir" in Github issue #180).

Version 1.6.33rc02 [September 23, 2017]
  Added an interlaced version of each file in contrib/pngsuite.
  Relocate new memset() call in pngrutil.c.
  Removed more redundant tests (suggested by "irwir" in Github issue #180).
  Add support for loading images with associated alpha in the Simplified
    API (Samuel Williams).

Version 1.6.33 [September 28, 2017]
  Revert contrib/oss-fuzz/libpng_read_fuzzer.cc to libpng-1.6.32 state.
  Initialize png_handler.row_ptr in contrib/oss-fuzz/libpng_read_fuzzer.cc
  Add end_info structure and png_read_end() to the libpng fuzzer.

Version 1.6.34 [September 29, 2017]
  Removed contrib/pngsuite/i*.png; some of these were incorrect and caused
    test failures.

Revision 1.194 / (download) - annotate - [select for diffs], Sat Aug 26 05:50:00 2017 UTC (3 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.193: +2 -2 lines
Diff to previous 1.193 (colored)

Updated png to 1.6.32.

Version 1.6.32beta01 [July 31, 2017]
  Avoid possible NULL dereference in png_handle_eXIf when benign_errors
    are allowed. Avoid leaking the input buffer "eXIf_buf".
  Eliminated png_ptr->num_exif member from pngstruct.h and added num_exif
    to arguments for png_get_eXIf() and png_set_eXIf().
  Added calls to png_handle_eXIf(() in pngread.c and png_write_eXIf() in
    pngwrite.c, and made various other fixes to png_write_eXIf().
  Changed name of png_get_eXIF and png_set_eXIf() to png_get_eXIf_1() and
    png_set_eXIf_1(), respectively, to avoid breaking API compatibility
    with libpng-1.6.31.

Version 1.6.32beta02 [August 1, 2017]
  Updated contrib/libtests/pngunknown.c with eXIf chunk.

Version 1.6.32beta03 [August 2, 2017]
  Initialized btoa[] in pngstest.c
  Stop memory leak when returning from png_handle_eXIf() with an error
    (Bug report from the OSS-fuzz project).

Version 1.6.32beta04 [August 2, 2017]
  Replaced local eXIf_buf with info_ptr-eXIf_buf in png_handle_eXIf().
  Update libpng.3 and libpng-manual.txt about eXIf functions.

Version 1.6.32beta05 [August 2, 2017]
  Restored png_get_eXIf() and png_set_eXIf() to maintain API compatability.

Version 1.6.32beta06 [August 2, 2017]
  Removed png_get_eXIf_1() and png_set_eXIf_1().

Version 1.6.32beta07 [August 3, 2017]
  Check length of all chunks except IDAT against user limit to fix an
    OSS-fuzz issue.

Version 1.6.32beta08 [August 3, 2017]
  Check length of IDAT against maximum possible IDAT size, accounting
    for height, rowbytes, interlacing and zlib/deflate overhead.
  Restored png_get_eXIf_1() and png_set_eXIf_1(), because strlen(eXIf_buf)
    does not work (the eXIf chunk data can contain zeroes).

Version 1.6.32beta09 [August 3, 2017]
  Require cmake-2.8.8 in CMakeLists.txt. Revised symlink creation,
    no longer using deprecated cmake LOCATION feature (Clifford Yapp).
  Fixed five-byte error in the calculation of IDAT maximum possible size.

Version 1.6.32beta10 [August 5, 2017]
  Moved chunk-length check into a png_check_chunk_length() private
    function (Suggested by Max Stepin).
  Moved bad pngs from tests to contrib/libtests/crashers
  Moved testing of bad pngs into a separate tests/pngtest-badpngs script
  Added the --xfail (expected FAIL) option to pngtest.c. It writes XFAIL
    in the output but PASS for the libpng test.
  Require cmake-3.0.2 in CMakeLists.txt (Clifford Yapp).
  Fix "const" declaration info_ptr argument to png_get_eXIf_1() and the
    num_exif argument to png_get_eXIf_1() (Github Issue 171).

Version 1.6.32beta11 [August 7, 2017]
  Added "eXIf" to "chunks_to_ignore[]" in png_set_keep_unknown_chunks().
  Added huge_IDAT.png and empty_ancillary_chunks.png to testpngs/crashers.
  Make pngtest --strict, --relax, --xfail options imply -m (multiple).
  Removed unused chunk_name parameter from png_check_chunk_length().
  Relocated setting free_me for eXIf data, to stop an OSS-fuzz leak.
  Initialize profile_header[] in png_handle_iCCP() to fix OSS-fuzz issue.
  Initialize png_ptr->row_buf[0] to 255 in png_read_row() to fix OSS-fuzz UMR.
  Attempt to fix a UMR in png_set_text_2() to fix OSS-fuzz issue.
  Increase minimum zlib stream from 9 to 14 in png_handle_iCCP(), to account
    for the minimum 'deflate' stream, and relocate the test to a point
    after the keyword has been read.
  Check that the eXIf chunk has at least 2 bytes and begins with "II" or "MM".

Version 1.6.32rc01 [August 18, 2017]
  Added a set of "huge_xxxx_chunk.png" files to contrib/testpngs/crashers,
    one for each known chunk type, with length = 2GB-1.
  Check for 0 return from png_get_rowbytes() and added some (size_t) typecasts
    in contrib/pngminus/*.c to stop some Coverity issues (162705, 162706,
    and 162707).
  Renamed chunks in contrib/testpngs/crashers to avoid having files whose
    names differ only in case; this causes problems with some platforms
    (github issue #172).

Version 1.6.32rc02 [August 22, 2017]
  Added contrib/oss-fuzz directory which contains files used by the oss-fuzz
    project (https://github.com/google/oss-fuzz/tree/master/projects/libpng).

Version 1.6.32 [August 24, 2017]
  No changes.

Revision 1.193 / (download) - annotate - [select for diffs], Thu Jul 27 22:07:07 2017 UTC (3 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.192: +2 -2 lines
Diff to previous 1.192 (colored)

Updated png to 1.6.31.

Changes since the last public release (1.6.30):

  Guard the definition of _POSIX_SOURCE in pngpriv.h (AIX already defines it;
    bug report by Michael Felt).
  Revised pngpriv.h to work around failure to compile arm/filter_neon.S
    ("typedef" directive is unrecognized by the assembler). The problem
    was introduced in libpng-1.6.30beta01.
  Added "Requires: zlib" to libpng.pc.in (Pieter Neerincx).
  Added special case for FreeBSD in arm/filter_neon.S (Maya Rashish).
  Added instructions for disabling hardware optimizations in INSTALL.
  Added "--enable-hardware-optimizations" configuration flag to enable
    or disable all hardware optimizations with one flag.
  Updated CMakeLists.txt to add INTEL_SSE and MIPS_MSA platforms.
  Changed "int" to "png_size_t" in intel/filter_sse2.c to prevent
    possible integer overflow (Bug report by John Bowler).
  Quieted "declaration after statement" warnings in intel/filter_sse2.c.
  Added scripts/makefile-linux-opt, which has hardware optimizations enabled.
  Removed one of the GCC-7.1.0 'strict-overflow' warnings that result when
    integers appear on both sides of a compare.  Worked around the others by
    forcing the strict-overflow setting in the relevant functions to a level
    where they are not reported (John Bowler).
  Changed "FALL THROUGH" comments to "FALLTHROUGH" because GCC doesn't like
    the space.
  Worked around some C-style casts from (void*) because g++ 5.4.0 objects
    to them.
  Increased the buffer size for 'sprint' to pass the gcc 7.1.0 'sprint
    overflow' check that is on by default with -Wall -Wextra.
  Added eXIf chunk support.
  Added a minimal eXIf chunk (with Orientation and FocalLengthIn35mmFilm
    tags) to pngtest.png.

Revision 1.192 / (download) - annotate - [select for diffs], Mon Jul 3 11:07:00 2017 UTC (3 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.191: +2 -2 lines
Diff to previous 1.191 (colored)

Updated png to 1.6.30.

Changes since the last public release (1.6.29):

  Added missing "$(CPPFLAGS)" to the compile line for c.pic.o in
    makefile.linux and makefile.solaris-x86 (Cosmin).
  Revised documentation of png_get_error_ptr() in the libpng manual.
  Silence clang -Wcomma and const drop warnings (Viktor Szakats).
  Update Sourceforge URLs in documentation (https instead of http).
  Document need to check for integer overflow when allocating a pixel
    buffer for multiple rows in contrib/gregbook, contrib/pngminus,
    example.c, and in the manual (suggested by Jaeseung Choi). This
    is similar to the bug reported against pngquant in CVE-2016-5735.
  Removed reference to the obsolete PNG_SAFE_LIMITS macro in the documentation.
  Check for integer overflow in contrib/visupng and contrib/tools/genpng.
  Do not double evaluate CMAKE_SYSTEM_PROCESSOR in CMakeLists.txt.
  Test CMAKE_HOST_WIN32 instead of WIN32 in CMakeLists.txt.
  Fix some URL in documentation.
  Avoid writing an empty IDAT when the last IDAT exactly fills the
    compression buffer (bug report by Brian Baird).  This bug was
    introduced in libpng-1.6.0.
  Update copyright year in pnglibconf.h, make ltmain.sh executable.
  Add a reference to the libpng.download site in README.

Revision 1.191 / (download) - annotate - [select for diffs], Mon Apr 24 07:18:59 2017 UTC (3 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.190: +3 -2 lines
Diff to previous 1.190 (colored)

Add new main master site.

Revision 1.190 / (download) - annotate - [select for diffs], Thu Mar 16 15:15:42 2017 UTC (3 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.189: +2 -2 lines
Diff to previous 1.189 (colored)

Updated png to 1.6.29.

Version 1.6.29beta01 [January 12, 2017]
  Readded "include(GNUInstallDirs)" to CMakeLists.txt (Gianfranco Costamagna).
  Moved SSE2 optimization code into the main libpng source directory.
    Configure libpng with "configure --enable-intel-sse" or compile
    libpng with "-DPNG_INTEL_SSE" in CPPFLAGS to enable it.
  Simplified conditional compilation in pngvalid.c, for AIX (Michael Felt).

Version 1.6.29beta02 [February 22, 2017]
  Avoid conditional directives that break statements in pngrutil.c (Romero
    Malaquias)
  The contrib/examples/pngtopng.c recovery code was in the wrong "if"
    branches; the comments were correct.
  Added code for PowerPC VSX optimisation (Vadim Barkov).

Version 1.6.29beta03 [March 1, 2017]
  Avoid potential overflow of shift operations in png_do_expand() (Aaron Boxer).
  Change test ZLIB_VERNUM >= 0x1281 to ZLIB_VERNUM >= 0x1290 in pngrutil.c
    because Solaris 11 distributes zlib-1.2.8.f that is older than 1.2.8.1.
  Suppress clang warnings about implicit sign changes in png.c

Version 1.6.29 [March 16, 2017]
  No changes.

Revision 1.189 / (download) - annotate - [select for diffs], Thu Jan 19 18:52:12 2017 UTC (3 years, 11 months ago) by agc
Branch: MAIN
Changes since 1.188: +3 -3 lines
Diff to previous 1.188 (colored)

Convert all occurrences (353 by my count) of

	MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.

Revision 1.188 / (download) - annotate - [select for diffs], Thu Jan 5 17:54:44 2017 UTC (4 years ago) by wiz
Branch: MAIN
Changes since 1.187: +2 -2 lines
Diff to previous 1.187 (colored)

Updated png to 1.6.28.

Version 1.6.28rc01 [January 3, 2017]
  Fixed arm/aarch64 detection in CMakeLists.txt (Gianfranco Costamagna).
  Added option to Cmake build allowing a custom location of zlib to be
    specified in a scenario where libpng is being built as a subproject
    alongside zlib by another project (Sam Serrels).
  Changed png_ptr->options from a png_byte to png_uint_32, to accomodate
    up to 16 options.

Version 1.6.28rc02 [January 4, 2017]
  Added "include(GNUInstallDirs)" to CMakeLists.txt (Gianfranco Costamagna).
  Moved SSE2 optimization code into the main libpng source directory.
    Configure libpng with "configure --enable-intel-sse" or compile
    libpng with "-DPNG_INTEL_SSE" in CPPFLAGS to enable it.

Version 1.6.28rc03 [January 4, 2017]
  Backed out the SSE optimization and last CMakeLists.txt to allow time for QA.

Version 1.6.28 [January 5, 2017]
  No changes.

Revision 1.187 / (download) - annotate - [select for diffs], Thu Dec 29 18:41:03 2016 UTC (4 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.186: +2 -2 lines
Diff to previous 1.186 (colored)

Updated png to 1.6.27, security fix release.

Version 1.6.27beta01 [November 2, 2016]
  Restrict the new ADLER32-skipping to IDAT chunks.  It broke iCCP chunk
    handling: an erroneous iCCP chunk would throw a png_error and reject the
    entire PNG image instead of rejecting just the iCCP chunk with a warning,
    if built with zlib-1.2.8.1.

Version 1.6.27rc01 [December 27, 2016]
  Control ADLER32 checking with new PNG_IGNORE_ADLER32 option.
  Removed the use of a macro containing the pre-processor 'defined'
    operator.  It is unclear whether this is valid; a macro that
    "generates" 'defined' is not permitted, but the use of the word
    "generates" within the C90 standard seems to imply more than simple
    substitution of an expression itself containing a well-formed defined
    operation.
  Added ARM support to CMakeLists.txt (Andreas Franek).

Version 1.6.27 [December 29, 2016]
  Fixed a potential null pointer dereference in png_set_text_2() (bug report
    and patch by Patrick Keshishian).

Revision 1.186 / (download) - annotate - [select for diffs], Thu Oct 20 11:36:36 2016 UTC (4 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.185: +2 -2 lines
Diff to previous 1.185 (colored)

Updated png to 1.6.26.

Version 1.6.26beta01 [September 26, 2016]
  Fixed handling zero length IDAT in pngfix (bug report by Agostino Sarubbo,
    bugfix by John Bowler).
  Do not issue a png_error() on read in png_set_pCAL() because png_handle_pCAL
    has allocated memory that libpng needs to free.
  Conditionally compile png_set_benign_errors() in pngread.c and pngtest.c
  Issue a png_benign_error instead of a png_error on ADLER32 mismatch
    while decoding compressed data chunks.
  Changed PNG_ZLIB_VERNUM to ZLIB_VERNUM in pngpriv.h, pngstruct.h, and
    pngrutil.c.
  If CRC handling of critical chunks has been set to PNG_CRC_QUIET_USE,
    ignore the ADLER32 checksum in the IDAT chunk as well as the chunk CRCs.
  Issue png_benign_error() on ADLER32 checksum mismatch instead of png_error().
  Add tests/badcrc.png and tests/badadler.png to tests/pngtest.
  Merged pngtest.c with libpng-1.7.0beta84/pngtest.c

Version 1.6.26beta02 [October 1, 2016]
  Updated the documentation about CRC and ADLER32 handling.
  Quieted 117 warnings from clang-3.8 in pngtrans.c, pngread.c,
     pngwrite.c, pngunknown.c, and pngvalid.c.
  Quieted 58 (out of 144) -Wconversion compiler warnings by changing
    flag definitions in pngpriv.h from 0xnnnn to 0xnnnnU and trivial changes
    in png.c, pngread.c, and pngwutil.c.

Version 1.6.26beta03 [October 2, 2016]
  Removed contrib/libtests/*.orig and *.rej that slipped into the tarballs.
  Quieted the 86 remaining -Wconversion compiler warnings by
    revising the png_isaligned() macro and trivial changes in png.c,
    pngerror.c, pngget.c, pngmem.c, pngset.c, pngrtran.c, pngrutil.c,
    pngwtran.c, pngwrite.c, and pngwutil.c.

Version 1.6.26beta04 [October 3, 2016]
  Quieted (bogus?) clang warnings about "absolute value has no effect"
    when PNG_USE_ABS is defined.
  Fixed offsets in contrib/intel/intel_sse.patch

Version 1.6.26beta05 [October 6, 2016]
  Changed integer constant 4294967294 to unsigned 4294967294U in pngconf.h
    to avoid a signed/unsigned compare in the preprocessor.

Version 1.6.26beta06 [October 7, 2016]
  Use zlib-1.2.8.1 inflateValidate() instead of inflateReset2() to
    optionally avoid ADLER32 evaluation.

Version 1.6.26rc01 [October 12, 2016]
  No changes.

Version 1.6.26 [October 20, 2016]
  Cosmetic change, "ptr != 0" to "ptr != NULL" in png.c and pngrutil.c
  Despammed email addresses (replaced "@" with " at ").

Revision 1.185 / (download) - annotate - [select for diffs], Thu Sep 1 04:14:23 2016 UTC (4 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.184: +2 -2 lines
Diff to previous 1.184 (colored)

Updated png to 1.6.25.

Changes since the last public release (1.6.24):
  Reject oversized iCCP profile immediately.
  Cleaned up PNG_DEBUG compile of pngtest.c.
  Conditionally compile png_inflate().
  Don't install pngcp; it conflicts with pngcp in the pngtools package.
  Minor editing of INSTALL, (whitespace, added copyright line)
  Added MIPS support (Mandar Sahastrabuddhe <Mandar.Sahastrabuddhe@imgtec.com>).
  Rebased contrib/intel/intel_sse.patch after the MIPS implementation.

Revision 1.184 / (download) - annotate - [select for diffs], Thu Aug 4 06:05:08 2016 UTC (4 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.183: +2 -2 lines
Diff to previous 1.183 (colored)

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.

Revision 1.183 / (download) - annotate - [select for diffs], Fri Jun 10 15:23:47 2016 UTC (4 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.182: +2 -2 lines
Diff to previous 1.182 (colored)

Updated png to 1.6.23.

Version 1.6.23beta01 [May 29, 2016]
  Stop a potential memory leak in png_set_tRNS() (Bug report by Ted Ying).
  Fixed the progressive reader to handle empty first IDAT chunk properly
    (patch by Timothy Nikkel).  This bug was introduced in libpng-1.6.0 and
    only affected the libpng16 branch.
  Added tests in pngvalid.c to check zero-length IDAT chunks in various
    positions.  Fixed the sequential reader to handle these more robustly
    (John Bowler).

Version 1.6.23rc01 [June 2, 2016]
  Corrected progressive read input buffer in pngvalid.c. The previous version
    the code invariably passed just one byte at a time to libpng.  The intent
    was to pass a random number of bytes in the range 0..511.
  Moved sse2 prototype from pngpriv.h to contrib/intel/intel_sse.patch.
  Added missing ")" in pngerror.c (Matt Sarrett).

Version 1.6.23rc02 [June 4, 2016]
  Fixed undefined behavior in png_push_save_buffer(). Do not call
    memcpy() with a null source, even if count is zero (Leon Scroggins III).

Version 1.6.23 [June 9, 2016]
  Fixed bad link to RFC2083 in png.5 (Nikola Forro).

Revision 1.182 / (download) - annotate - [select for diffs], Thu May 26 13:32:00 2016 UTC (4 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.181: +2 -2 lines
Diff to previous 1.181 (colored)

Updated png to 1.6.22.

Version 1.6.22beta01 [January 23, 2016]
  Changed PNG_USE_MKSTEMP to __COVERITY__ to select alternate
    "tmpfile()" implementation in contrib/libtests/pngstest.c
  Fixed NO_STDIO build of pngunknown.c to skip calling png_init_io()
    if there is no stdio.h support.
  Added a png_image_write_to_memory() API and a number of assist macros
    to allow an application that uses the simplified API write to bypass
    stdio and write directly to memory.
  Added some warnings (png.h) and some check code to detect *possible*
    overflow in the ROW_STRIDE and simplified image SIZE macros.  This
    disallows image width/height/format that *might* overflow.  This is
    a quiet API change that limits in-memory image size (uncompressed) to
    less than 4GByte and image row size (stride) to less than 2GByte.
  Revised workaround for false-positive Coverity issue in pngvalid.c.

Version 1.6.22beta02 [February 8, 2016]
  Only use exit(77) in configure builds.
  Corrected error in PNG_IMAGE_PNG_SIZE_MAX. This new macro underreported
    the palette size because it failed to take into account that the memory
    palette has to be expanded to full RGB when it is written to PNG.
  Updated CMakeLists.txt, added supporting scripts/gen*.cmake.in
    and test.cmake.in (Roger Leigh).
  Relaxed limit checks on gamma values in pngrtran.c. As suggested in
    the comments gamma values outside the range currently permitted
    by png_set_alpha_mode are useful for HDR data encoding.  These values
    are already permitted by png_set_gamma so it is reasonable caution to
    extend the png_set_alpha_mode range as HDR imaging systems are starting
    to emerge.

Version 1.6.22beta03 [March 9, 2016]
  Added a common-law trademark notice and export control information
    to the LICENSE file, png.h, and the man page.
  Restored "& 0xff" in png_save_uint_16() and png_save_uint_32() that
    were accidentally removed from libpng-1.6.17.
  Changed PNG_INFO_cHNK and PNG_FREE_cHNK from 0xnnnn to 0xnnnnU in png.h
    (Robert C. Seacord).
  Removed dubious "#if INT_MAX" test from png.h that was added to
    libpng-1.6.19beta02 (John Bowler).
  Add ${INCLUDES} in scripts/genout.cmake.in (Bug report by Nixon Kwok).
  Updated LICENSE to say files in the contrib directory are not
    necessarily under the libpng license, and that some makefiles have
    other copyright owners.
  Added INTEL-SSE2 support (Mike Klein and Matt Sarett, Google, Inc.).
  Made contrib/libtests/timepng more robust.  The code no longer gives
    up/fails on invalid PNG data, it just skips it (with error messages).
    The code no longer fails on PNG files with data beyond IEND.  Options
    exist to use png_read_png (reading the whole image, not by row) and, in
    that case, to apply any of the supported transforms.  This makes for
    more realistic testing; the decoded data actually gets used in a
    meaningful fashion (John Bowler).
  Fixed some misleading indentation (Krishnaraj Bhat).

Version 1.6.22beta04 [April 5, 2016]
  Force GCC compilation to C89 if needed (Dagobert Michelsen).
  SSE filter speed improvements for bpp=3:
    memcpy-free implementations of load3() / store3().
    call load3() only when needed at the end of a scanline.

Version 1.6.22beta05 [April 27, 2016]
  Added PNG_FAST_FILTERS macro (defined as
    PNG_FILTER_NONE|PNG_FILTER_SUB|PNG_FILTER_UP).
  Various fixes for contrib/libtests/timepng.c
  Moved INTEL-SSE code from pngpriv.h into contrib/intel/intel_sse.patch.
  Fixed typo (missing underscore) in #define PNG_READ_16_TO_8_SUPPORTED
    (Bug report by Y.Ohashik).

Version 1.6.22beta06 [May 5, 2016]
  Rebased contrib/intel_sse.patch.
  Quieted two Coverity issues in contrib/libtests/timepng.c.
  Fixed issues with scripts/genout.cmake.in (David Capello, Nixon Kwok):
    Added support to use multiple directories in ZLIBINCDIR variable,
    Fixed CMAKE_C_FLAGS with multiple values when genout is compiled on MSVC,
    Fixed pnglibconf.c compilation on OS X including the sysroot path.

Version 1.6.22rc01 [May 14, 2016]
  No changes.

Version 1.6.22rc02 [May 16, 2016]
  Removed contrib/timepng from default build; it does not build on platforms
    that don't supply clock_gettime().

Version 1.6.22rc03 [May 17, 2016]
  Restored contrib/timepng to default build but check for the presence
    of clock_gettime() in configure.ac and Makefile.am.

Version 1.6.22 [May 26, 2016]
  No changes.

Revision 1.181 / (download) - annotate - [select for diffs], Sat Jan 16 00:05:15 2016 UTC (5 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.180: +2 -2 lines
Diff to previous 1.180 (colored)

Update png to 1.6.21:

Version 1.6.21beta01 [December 11, 2015]
  Fixed syntax "$(command)" in tests/pngstest that some shells other than
    bash could not parse (Bug report by Nelson Beebe). Use `command` instead.

Version 1.6.21beta02 [December 14, 2015]
  Moved png_check_keyword() from pngwutil.c to pngset.c
  Removed LE/BE dependencies in pngvalid, to 'fix' the current problem
    in the BigEndian tests by not testing it, making the BE code the same
    as the LE version.
  Fixes to pngvalid for various reduced build configurations (eliminate unused
    statics) and a fix for the case in rgb_to_gray when the digitize option
    reduces graylo to 0, producing a large error.

Version 1.6.21beta03 [December 18, 2015]
  Widened the 'limit' check on the internally calculated error limits in
    the 'DIGITIZE' case (the code used prior to 1.7 for rgb_to_gray error
    checks) and changed the check to only operate in non-release builds
    (base build type not RC or RELEASE.)
  Fixed undefined behavior in pngvalid.c, undefined because
    (png_byte) << shift is undefined if it changes the signed bit
    (because png_byte is promoted to int). The libpng exported functions
    png_get_uint_32 and png_get_uint_16 handle this. (Bug reported by
    David Drysdale as a result of reports from UBSAN in clang 3.8).
  This changes pngvalid to use BE random numbers; this used to produce
    errors but these should not be fixed as a result of the previous changes.

Version 1.6.21rc01 [January 4, 2016]
  In projects/vstudio, combined readme.txt and WARNING into README.txt

Version 1.6.21rc02 [January 7, 2016]
  Relocated assert() in contrib/tools/pngfix.c, bug found by American
    Fuzzy Lop, reported by Brian Carpenter.
  Marked 'limit' UNUSED in transform_range_check().  This only affects
    release builds.

Version 1.6.21 [January 15, 2016]
  Worked around a false-positive Coverity issue in pngvalid.c.

Revision 1.178.2.2 / (download) - annotate - [select for diffs], Fri Dec 4 19:04:58 2015 UTC (5 years, 1 month ago) by bsiegert
Branch: pkgsrc-2015Q3
Changes since 1.178.2.1: +1 -1 lines
Diff to previous 1.178.2.1 (colored) to branchpoint 1.178 (colored) next main 1.179 (colored)

Pullup ticket #4866 - requested by wiz
graphics/png: security fix

Revisions pulled up:
- graphics/png/Makefile                                         1.180
- graphics/png/distinfo                                         1.125

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Thu Dec  3 15:17:02 UTC 2015

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Update to 1.6.20:

   Version 1.6.20beta01 [November 20, 2015]
     Avoid potential pointer overflow/underflow in png_handle_sPLT() and
       png_handle_pCAL() (Bug report by John Regehr).

   Version 1.6.20beta02 [November 23, 2015]
     Fixed incorrect implementation of png_set_PLTE() that uses png_ptr
       not info_ptr, that left png_set_PLTE() open to the CVE-2015-8126
       vulnerability.

   Version 1.6.20beta03 [November 24, 2015]
     Backported tests from libpng-1.7.0beta69.

   Version 1.6.20rc01 [November 26, 2015]
     Fixed an error in handling of bad zlib CMINFO field in pngfix, found by
       American Fuzzy Lop, reported by Brian Carpenter.  inflate() doesn't
       immediately fault a bad CMINFO field; instead a 'too far back' error
       happens later (at least some times).  pngfix failed to limit CMINFO to
       the allowed values but then assumed that window_bits was in range,
       triggering an assert. The bug is mostly harmless; the PNG file cannot
       be fixed.

   Version 1.6.20rc02 [November 29, 2015]
     In libpng 1.6 zlib initialization was changed to use the window size
       in the zlib stream, not a fixed value. This causes some invalid images,
       where CINFO is too large, to display 'correctly' if the rest of the
       data is valid.  This provides a workaround for zlib versions where the
       error arises (ones that support the API change to use the window size
       in the stream).

   Version 1.6.20 [December 3, 2015]
     No changes. 'correctly' if the rest of the
       data is valid.  This provides a workaround for zlib versions where the
       error arises (ones that support the API change to use the window size
       in the stream).

   Version 1.6.20 [December 3, 2015]
     No changes.

Revision 1.180 / (download) - annotate - [select for diffs], Thu Dec 3 15:17:02 2015 UTC (5 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.179: +2 -2 lines
Diff to previous 1.179 (colored)

Update to 1.6.20:

Version 1.6.20beta01 [November 20, 2015]
  Avoid potential pointer overflow/underflow in png_handle_sPLT() and
    png_handle_pCAL() (Bug report by John Regehr).

Version 1.6.20beta02 [November 23, 2015]
  Fixed incorrect implementation of png_set_PLTE() that uses png_ptr
    not info_ptr, that left png_set_PLTE() open to the CVE-2015-8126
    vulnerability.

Version 1.6.20beta03 [November 24, 2015]
  Backported tests from libpng-1.7.0beta69.

Version 1.6.20rc01 [November 26, 2015]
  Fixed an error in handling of bad zlib CMINFO field in pngfix, found by
    American Fuzzy Lop, reported by Brian Carpenter.  inflate() doesn't
    immediately fault a bad CMINFO field; instead a 'too far back' error
    happens later (at least some times).  pngfix failed to limit CMINFO to
    the allowed values but then assumed that window_bits was in range,
    triggering an assert. The bug is mostly harmless; the PNG file cannot
    be fixed.

Version 1.6.20rc02 [November 29, 2015]
  In libpng 1.6 zlib initialization was changed to use the window size
    in the zlib stream, not a fixed value. This causes some invalid images,
    where CINFO is too large, to display 'correctly' if the rest of the
    data is valid.  This provides a workaround for zlib versions where the
    error arises (ones that support the API change to use the window size
    in the stream).

Version 1.6.20 [December 3, 2015]
  No changes.

Revision 1.178.2.1 / (download) - annotate - [select for diffs], Fri Nov 20 21:00:28 2015 UTC (5 years, 1 month ago) by bsiegert
Branch: pkgsrc-2015Q3
Changes since 1.178: +2 -2 lines
Diff to previous 1.178 (colored)

Pullup ticket #4854 - requested by sevan
Pullup ticket #4856 - requested by he
graphics/png: security fix

Revisions pulled up:
- graphics/png/Makefile                                         1.179
- graphics/png/distinfo                                         1.124

---
   Module Name:    pkgsrc
   Committed By:   wiz
   Date:           Thu Nov 12 16:12:19 UTC 2015

   Modified Files:
           pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Update png to 1.6.19:

   Libpng 1.6.19 - November 12, 2015
   Changes since the last public release (1.6.18):
     Updated obsolete information about the simplified API macros in the
       manual pages (Bug report by Arc Riley).
     Avoid potentially dereferencing NULL info_ptr in png_info_init_3().
     Rearranged png.h to put the major sections in the same order as
       in libpng17.
     Eliminated unused PNG_COST_SHIFT, PNG_WEIGHT_SHIFT, PNG_COST_FACTOR, and
       PNG_WEIGHT_FACTOR macros.
     Suppressed some warnings from the Borland C++ 5.5.1/5.82 compiler
       (Bug report by Viktor Szakats).  Several warnings remain and are
       unavoidable, where we test for overflow.
     Fixed potential leak of png_pixels in contrib/pngminus/pnm2png.c
     Fixed uninitialized variable in contrib/gregbook/rpng2-x.c
     Moved config.h.in~ from the "libpng_autotools_files" list to the
       "libpng_autotools_extra" list in autogen.sh because it was causing a
       false positive for missing files (bug report by Robert C. Seacord).
     Removed unreachable "break" statements in png.c, pngread.c, and pngrtran.c
       to suppress clang warnings (Bug report by Viktor Szakats).
     Fixed some bad links in the man page.
     Changed "n bit" to "n-bit" in comments.
     Added signed/unsigned 16-bit safety net. This removes the dubious
       0x8000 flag definitions on 16-bit systems. They aren't supported
       yet the defs *probably* work, however it seems much safer to do this
       and be advised if anyone, contrary to advice, is building libpng 1.6
       on a 16-bit system. It also adds back various switch default clauses
       for GCC; GCC errors out if they are not present (with an appropriately
       high level of warnings).
     Safely convert num_bytes to a png_byte in png_set_sig_bytes() (Robert
       Seacord).
     Fixed the recently reported 1's complement security issue by replacing
       the value that is illegal in the PNG spec, in both signed and unsigned
       values, with 0. Illegal unsigned values (anything greater than or equal
       to  0x80000000) can still pass through, but since these are not illegal
       in ANSI-C (unlike 0x80000000 in the signed case) the checking that
       occurs later can catch them (John Bowler).
     Fixed png_save_int_32 when int is not 2's complement (John Bowler).
     Updated libpng16 with all the recent test changes from libpng17,
       including changes to pngvalid.c to ensure that the original,
       distributed, version of contrib/visupng/cexcept.h can be used
       (John Bowler).
     pngvalid contains the correction to the use of SAVE/STORE_
       UNKNOWN_CHUNKS; a bug revealed by changes in libpng 1.7. More
       tests contain the --strict option to detect warnings and the
       pngvalid-standard test has been corrected so that it does not
       turn on progressive-read. There is a separate test which does
       that. (John Bowler)
     Also made some signed/unsigned fixes.
     Make pngstest error limits version specific. Splitting the machine
       generated error structs out to a file allows the values to be updated
       without changing pngstest.c itself. Since libpng 1.6 and 1.7 have
       slightly different error limits this simplifies maintenance. The
       makepngs.sh script has also been updated to more accurately reflect
       current problems in libpng 1.7 (John Bowler).
     Incorporated new test PNG files into make check.  tests/pngstest-*
       are changed so that the new test files are divided into 8 groups by
       gamma and alpha channel.  These tests have considerably better code
       and pixel-value coverage than contrib/pngsuite; however,coverage is
       still incomplete (John Bowler).
     Removed the '--strict' in 1.6 because of the double-gamma-correction
       warning, updated pngstest-errors.h for the errors detected with the
       new contrib/testspngs PNG test files (John Bowler).
     Worked around rgb-to-gray issues in libpng 1.6.  The previous
       attempts to ignore the errors in the code aren't quite enough to
       deal with the 'channel selection' encoding added to libpng 1.7; abort.
     Fixed 'pow' macros in pngvalid.c. It is legal for 'pow' to be a
       macro, therefore the argument list cannot contain preprocessing
       directives.  Make sure pow is a function where this happens. This is
       a minimal safe fix, the issue only arises in non-performance-critical
       code (bug report by Curtis Leach, fix by John Bowler).
     Added sPLT support to pngtest.c
     Prevent setting or writing over-length PLTE chunk (Cosmin Truta).
     Silently truncate over-length PLTE chunk while reading.
     Libpng incorrectly calculated the output rowbytes when the application
       decreased either the number of channels or the bit depth (or both) in
       a user transform.  This was safe; libpng overallocated buffer space
      (potentially by quite a lot; up to 4 times the amount required) but,
      from 1.5.4 on, resulted in a png_error (John Bowler).
     Fixed some inconsequential cut-and-paste typos in
   png_set_cHRM_XYZ_fixed().
     Clarified COPYRIGHT information to state explicitly that versions
       are derived from previous versions.
     Removed much of the long list of previous versions from png.h and
       libpng.3.

Revision 1.179 / (download) - annotate - [select for diffs], Thu Nov 12 16:12:19 2015 UTC (5 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.178: +2 -2 lines
Diff to previous 1.178 (colored)

Update png to 1.6.19:

Libpng 1.6.19 - November 12, 2015
Changes since the last public release (1.6.18):
  Updated obsolete information about the simplified API macros in the
    manual pages (Bug report by Arc Riley).
  Avoid potentially dereferencing NULL info_ptr in png_info_init_3().
  Rearranged png.h to put the major sections in the same order as
    in libpng17.
  Eliminated unused PNG_COST_SHIFT, PNG_WEIGHT_SHIFT, PNG_COST_FACTOR, and
    PNG_WEIGHT_FACTOR macros.
  Suppressed some warnings from the Borland C++ 5.5.1/5.82 compiler
    (Bug report by Viktor Szakats).  Several warnings remain and are
    unavoidable, where we test for overflow.
  Fixed potential leak of png_pixels in contrib/pngminus/pnm2png.c
  Fixed uninitialized variable in contrib/gregbook/rpng2-x.c
  Moved config.h.in~ from the "libpng_autotools_files" list to the
    "libpng_autotools_extra" list in autogen.sh because it was causing a
    false positive for missing files (bug report by Robert C. Seacord).
  Removed unreachable "break" statements in png.c, pngread.c, and pngrtran.c
    to suppress clang warnings (Bug report by Viktor Szakats).
  Fixed some bad links in the man page.
  Changed "n bit" to "n-bit" in comments.
  Added signed/unsigned 16-bit safety net. This removes the dubious
    0x8000 flag definitions on 16-bit systems. They aren't supported
    yet the defs *probably* work, however it seems much safer to do this
    and be advised if anyone, contrary to advice, is building libpng 1.6
    on a 16-bit system. It also adds back various switch default clauses
    for GCC; GCC errors out if they are not present (with an appropriately
    high level of warnings).
  Safely convert num_bytes to a png_byte in png_set_sig_bytes() (Robert
    Seacord).
  Fixed the recently reported 1's complement security issue by replacing
    the value that is illegal in the PNG spec, in both signed and unsigned
    values, with 0. Illegal unsigned values (anything greater than or equal
    to  0x80000000) can still pass through, but since these are not illegal
    in ANSI-C (unlike 0x80000000 in the signed case) the checking that
    occurs later can catch them (John Bowler).
  Fixed png_save_int_32 when int is not 2's complement (John Bowler).
  Updated libpng16 with all the recent test changes from libpng17,
    including changes to pngvalid.c to ensure that the original,
    distributed, version of contrib/visupng/cexcept.h can be used
    (John Bowler).
  pngvalid contains the correction to the use of SAVE/STORE_
    UNKNOWN_CHUNKS; a bug revealed by changes in libpng 1.7. More
    tests contain the --strict option to detect warnings and the
    pngvalid-standard test has been corrected so that it does not
    turn on progressive-read. There is a separate test which does
    that. (John Bowler)
  Also made some signed/unsigned fixes.
  Make pngstest error limits version specific. Splitting the machine
    generated error structs out to a file allows the values to be updated
    without changing pngstest.c itself. Since libpng 1.6 and 1.7 have
    slightly different error limits this simplifies maintenance. The
    makepngs.sh script has also been updated to more accurately reflect
    current problems in libpng 1.7 (John Bowler).
  Incorporated new test PNG files into make check.  tests/pngstest-*
    are changed so that the new test files are divided into 8 groups by
    gamma and alpha channel.  These tests have considerably better code
    and pixel-value coverage than contrib/pngsuite; however,coverage is
    still incomplete (John Bowler).
  Removed the '--strict' in 1.6 because of the double-gamma-correction
    warning, updated pngstest-errors.h for the errors detected with the
    new contrib/testspngs PNG test files (John Bowler).
  Worked around rgb-to-gray issues in libpng 1.6.  The previous
    attempts to ignore the errors in the code aren't quite enough to
    deal with the 'channel selection' encoding added to libpng 1.7; abort.
  Fixed 'pow' macros in pngvalid.c. It is legal for 'pow' to be a
    macro, therefore the argument list cannot contain preprocessing
    directives.  Make sure pow is a function where this happens. This is
    a minimal safe fix, the issue only arises in non-performance-critical
    code (bug report by Curtis Leach, fix by John Bowler).
  Added sPLT support to pngtest.c
  Prevent setting or writing over-length PLTE chunk (Cosmin Truta).
  Silently truncate over-length PLTE chunk while reading.
  Libpng incorrectly calculated the output rowbytes when the application
    decreased either the number of channels or the bit depth (or both) in
    a user transform.  This was safe; libpng overallocated buffer space
   (potentially by quite a lot; up to 4 times the amount required) but,
   from 1.5.4 on, resulted in a png_error (John Bowler).
  Fixed some inconsequential cut-and-paste typos in
png_set_cHRM_XYZ_fixed().
  Clarified COPYRIGHT information to state explicitly that versions
    are derived from previous versions.
  Removed much of the long list of previous versions from png.h and
    libpng.3.

Revision 1.178 / (download) - annotate - [select for diffs], Sun Jul 26 22:46:53 2015 UTC (5 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base
Branch point for: pkgsrc-2015Q3
Changes since 1.177: +2 -2 lines
Diff to previous 1.177 (colored)

Update to 1.6.18:

Version 1.6.18beta01 [April 1, 2015]
  Removed PNG_SET_CHUNK_[CACHE|MALLOC]_LIMIT_SUPPORTED macros.  They
    have been combined with PNG_SET_USER_LIMITS_SUPPORTED (resolves
    bug report by Andrew Church).
  Fixed rgb_to_gray checks and added tRNS checks to pngvalid.c.  This
    fixes some arithmetic errors that caused some tests to fail on
    some 32-bit platforms (Bug reports by Peter Breitenlohner [i686]
    and Petr Gajdos [i586]).

Version 1.6.18beta02 [April 26, 2015]
  Suppressed some warnings from the Borland C++ 5.5.1/5.82 compiler
    (Bug report by Viktor Szaka'ts).

Version 1.6.18beta03 [May 6, 2015]
  Replaced "unexpected" with an integer (0xabadca11) in pngset.c
    where a long was expected, to avoid a compiler warning when PNG_DEBUG > 1.
  Added contrib/examples/simpleover.c, to demonstrate how to handle
    alpha compositing of multiple images, using the "simplified API"
    and an example PNG generation tool, contrib/examples/genpng.c
    (John Bowler).

Version 1.6.18beta04 [May 20, 2015]
  PNG_RELEASE_BUILD replaces tests where the code depended on the build base
    type and can be defined on the command line, allowing testing in beta
    builds (John Bowler).
  Avoid Coverity issue 80858 (REVERSE NULL) in pngtest.c PNG_DEBUG builds.
  Avoid a harmless potential integer overflow in png_XYZ_from_xy() (Bug
    report from Christopher Ferris).

Version 1.6.18beta05 [May 31, 2015]
  Backport filter selection code from libpng-1.7.0beta51, to combine
    sub_row, up_row, avg_row, and paeth_row into try_row and tst_row.
  Changed png_voidcast(), etc., to voidcast(), etc., in contrib/tools/pngfix.c
    to avoid confusion with the libpng private macros.
  Fixed old cut&paste bug in the weighted filter selection code in
    pngwutil.c, introduced in libpng-0.95, March 1997.

Version 1.6.18beta06 [June 1, 2015]
  Removed WRITE_WEIGHTED_FILTERED code, to save a few kbytes of the
    compiled library size. It never worked properly and as far as we can
    tell, no one uses it. The png_set_filter_heuristics() and
    png_set_filter_heuristics_fixed() APIs are retained but deprecated
    and do nothing.

Version 1.6.18beta07 [June 6, 2015]
  Removed non-working progressive reader 'skip' function. This
    function has apparently never been used. It was implemented
    to support back-door modification of png_struct in libpng-1.4.x
    but (because it does nothing and cannot do anything) was apparently
    never tested (John Bowler).
  Fixed cexcept.h in which GCC 5 now reports that one of the auto
    variables in the Try macro needs to be volatile to prevent value
    being lost over the setjmp (John Bowler).
  Fixed NO_WRITE_FILTER and -Wconversion build breaks (John Bowler).
  Fix g++ build breaks (John Bowler).
  Quieted some Coverity issues in pngfix.c, png-fix-itxt.c, pngvalid.c,
    pngstest.c, and pngimage.c. Most seem harmless, but png-fix-itxt
    would only work with iTXt chunks with length 255 or less.
  Added #ifdef's to contrib/examples programs so people don't try
    to compile them without the minimum required support enabled
    (suggested by Flavio Medeiros).

Version 1.6.18beta08 [June 30, 2015]
  Eliminated the final two Coverity defects (insecure temporary file
    handling in contrib/libtests/pngstest.c; possible overflow of
    unsigned char in contrib/tools/png-fix-itxt.c). To use the "secure"
    file handling, define PNG_USE_MKSTEMP, otherwise "tmpfile()" will
    be used.
  Removed some unused WEIGHTED_FILTER macros from png.h and pngstruct.h

Version 1.6.18beta09 [July 5, 2015]
  Removed some useless typecasts from contrib/tools/png-fix-itxt.c
  Fixed a new signed-unsigned comparison in pngrtran.c (Max Stepin).
  Replaced arbitrary use of 'extern' with #define PNG_LINKAGE_*.  To
    preserve API compatibility, the new defines all default to "extern"
    (requested by Jan Nijtmans).

Version 1.6.18rc01 [July 9, 2015]
  Belatedly added Mans Rullgard and James Yu to the list of Contributing
    Authors.

Version 1.6.18rc02 [July 12, 2015]
  Restored unused FILTER_HEURISTIC macros removed at libpng-1.6.18beta08
    to png.h to avoid compatibility warnings.

Version 1.6.18rc03 [July 15, 2015]
  Minor changes to the man page

Version 1.6.18 [July 23, 2015]
  No changes.

Revision 1.177 / (download) - annotate - [select for diffs], Thu Apr 2 22:35:54 2015 UTC (5 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.176: +2 -2 lines
Diff to previous 1.176 (colored)

Update to 1.6.17:

Version 1.6.17beta01 [January 29, 2015]
  Removed duplicate PNG_SAFE_LIMITS_SUPPORTED handling from pngconf.h
  Corrected the width limit calculation in png_check_IHDR().
  Removed user limits from pngfix. Also pass NULL pointers to
    png_read_row to skip the unnecessary row de-interlace stuff.
  Added testing of png_set_packing() to pngvalid.c
  Regenerated configure scripts in the *.tar distributions with libtool-2.4.4
  Implement previously untested cases of libpng transforms in pngvalid.c
  Fixed byte order in 2-byte filler, in png_do_read_filler().
  Made the check for out-of-range values in png_set_tRNS() detect
    values that are exactly 2^bit_depth, and work on 16-bit platforms.
  Merged some parts of libpng-1.6.17beta01 and libpng-1.7.0beta47.
  Added #ifndef __COVERITY__ where needed in png.c, pngrutil.c and
    pngset.c to avoid warnings about dead code.
  Added "& 0xff" to many instances of expressions that are typecast
    to (png_byte), to avoid Coverity gripes.

Version 1.6.17beta02 [February 7, 2015]
  Work around one more Coverity-scan dead-code warning.
  Do not build png_product2() when it is unused.

Version 1.6.17beta03 [February 17, 2015]
  Display user limits in the output from pngtest.
  Eliminated the PNG_SAFE_LIMITS macro and restored the 1-million-column
    and 1-million-row default limits in pnglibconf.dfa, that can be reset
    by the user at build time or run time.  This provides a more robust
    defense against DOS and as-yet undiscovered overflows.

Version 1.6.17beta04 [February 21, 2015]
  Added PNG_WRITE_CUSTOMIZE_COMPRESSION_SUPPORTED macro, on by default.
  Allow user to call png_get_IHDR() with NULL arguments (Reuben Hawkins).
  Rebuilt configure scripts with automake-1.15 and libtool-2.4.6

Version 1.6.17beta05 [February 25, 2015]
  Restored compiling of png_reciprocal2 with PNG_NO_16BIT.

Version 1.6.17beta06 [February 27, 2015]
  Moved png_set_filter() prototype into a PNG_WRITE_SUPPORTED block
    of png.h.
  Avoid runtime checks when converting integer to png_byte with
    Visual Studio (Sergey Kosarevsky)

Version 1.6.17rc01 [March 4, 2015]
  No changes.

Version 1.6.17rc02 [March 9, 2015]
  Removed some comments that the configure script did not handle
    properly from scripts/pnglibconf.dfa and pnglibconf.h.prebuilt.
  Free the unknown_chunks structure even when it contains no data.

Version 1.6.17rc03 [March 12, 2015]
  Updated CMakeLists.txt to add OSX framework, change YES/NO to ON/OFF
    for consistency, and remove some useless tests (Alexey Petruchik).

Version 1.6.17rc04 [March 16, 2015]
  Remove pnglibconf.h, pnglibconf.c, and pnglibconf.out instead of
    pnglibconf.* in "make clean" (Cosmin).
  Fix bug in calculation of maxbits, in png_write_sBIT, introduced
    in libpng-1.6.17beta01 (John Bowler).

Version 1.6.17rc05 [March 21, 2015]
  Define PNG_FILTER_* and PNG_FILTER_VALUE_* in png.h even when WRITE
    is not supported (John Bowler).  This fixes an error introduced in
    libpng-1.6.17beta06.
  Reverted "& 0xff" additions of version 1.6.17beta01. Libpng passes
    the Coverity scan without them.

Version 1.6.17rc06 [March 23, 2015]
  Remove pnglibconf.dfn and pnglibconf.pre with "make clean".
  Reformatted some "&0xff" instances to "& 0xff".
  Fixed simplified 8-bit-linear to sRGB alpha. The calculated alpha
    value was wrong.  It's not clear if this affected the final stored
    value; in the obvious code path the upper and lower 8-bits of the
    alpha value were identical and the alpha was truncated to 8-bits
    rather than dividing by 257 (John Bowler).

Version 1.6.17 [March 26, 2015]
  No changes.

Revision 1.176 / (download) - annotate - [select for diffs], Tue Dec 23 07:54:21 2014 UTC (6 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.175: +2 -2 lines
Diff to previous 1.175 (colored)

Update to 1.6.16; a CVE was requested for a heap overflow.

Changes since the last public release (1.6.15):
  Added ".align 2" to arm/filter_neon.S to support old GAS assemblers that
    don't do alignment correctly.
  Revised Makefile.am and scripts/*.dfn to work with MinGW/MSYS;
    renamed scripts/*.dfn to scripts/*.c (Bob Friesenhahn and John Bowler).
  Quiet a "comparison always true" warning in pngstest.c (John Bowler).
  Restored a test on width that was removed from png.c at libpng-1.6.9
    (Bug report by Alex Eubanks).
  Fixed an overflow in png_combine_row with very wide interlaced images.

Revision 1.175 / (download) - annotate - [select for diffs], Thu Nov 20 23:49:11 2014 UTC (6 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.174: +2 -2 lines
Diff to previous 1.174 (colored)

Update to 1.6.15:

Version 1.6.15beta01 [October 29, 2014]
  Changed "if (!x)" to "if (x == 0)" and "if (x)" to "if (x != 0)"
  Simplified png_free_data().
  Added missing "ptr = NULL" after some instances of png_free().

Version 1.6.15beta02 [November 1, 2014]
  Changed remaining "if (!x)" to "if (x == 0)" and "if (x)" to "if (x != 0)"

Version 1.6.15beta03 [November 3, 2014]
  Added PNG_USE_ARM_NEON configuration flag (Marcin Juszkiewicz).

Version 1.6.15beta04 [November 4, 2014]
  Removed new PNG_USE_ARM_NEON configuration flag and made a one-line
    revision to configure.ac to support ARM on aarch64 instead (John Bowler).

Version 1.6.15beta05 [November 5, 2014]
  Use png_get_libpng_ver(NULL) instead of PNG_LIBPNG_VER_STRING in
    example.c, pngtest.c, and applications in the contrib directory.
  Avoid out-of-bounds memory access in png_user_version_check().
  Simplified and future-proofed png_user_version_check().
  Fixed GCC unsigned int->float warnings. Various versions of GCC
    seem to generate warnings when an unsigned value is implicitly
    converted to double. This is probably a GCC bug but this change
    avoids the issue by explicitly converting to (int) where safe.
  Free all allocated memory in pngimage. The file buffer cache was left
    allocated at the end of the program, harmless but it causes memory
    leak reports from clang.
  Fixed array size calculations to avoid warnings. At various points
    in the code the number of elements in an array is calculated using
    sizeof.  This generates a compile time constant of type (size_t) which
    is then typically assigned to an (unsigned int) or (int). Some versions
    of GCC on 64-bit systems warn about the apparent narrowing, even though
    the same compiler does apparently generate the correct, in-range,
    numeric constant.  This adds appropriate, safe, casts to make the
    warnings go away.

Version 1.6.15beta06 [November 6, 2014]
  Reverted use png_get_libpng_ver(NULL) instead of PNG_LIBPNG_VER_STRING
    in the manual, example.c, pngtest.c, and applications in the contrib
    directory.  It was incorrect advice.

Version 1.6.15beta07 [November 7, 2014]
  Removed #ifdef PNG_16BIT_SUPPORTED/#endif around png_product2(); it is
    needed by png_reciprocal2().
  Added #ifdef PNG_16BIT_SUPPORTED/#endif around png_log16bit() and
    png_do_swap().
  Changed all "#endif /* PNG_FEATURE_SUPPORTED */" to "#endif /* FEATURE */"

Version 1.6.15beta08 [November 8, 2014]
  More housecleaning in *.h

Version 1.6.15rc01 [November 13, 2014]

Version 1.6.15rc02 [November 14, 2014]
  The macros passed in the command line to Borland make were ignored if
    similarly-named macros were already defined in makefiles. This behavior
    is different from POSIX make and other make programs.  Surround the
    macro definitions with ifndef guards (Cosmin).

Version 1.6.15rc03 [November 16, 2014]
  Added "-D_CRT_SECURE_NO_WARNINGS" to CFLAGS in scripts/makefile.vcwin32.
  Removed the obsolete $ARCH variable from scripts/makefile.darwin.

Version 1.6.15 [November 20, 2014]
  No changes.

Revision 1.174 / (download) - annotate - [select for diffs], Thu Oct 23 07:18:23 2014 UTC (6 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.173: +2 -2 lines
Diff to previous 1.173 (colored)

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.

Revision 1.173 / (download) - annotate - [select for diffs], Thu Oct 9 14:06:37 2014 UTC (6 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.172: +1 -3 lines
Diff to previous 1.172 (colored)

Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.

Revision 1.172 / (download) - annotate - [select for diffs], Thu Aug 21 12:02:59 2014 UTC (6 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.171: +2 -2 lines
Diff to previous 1.171 (colored)

Update to 1.6.13:

Version 1.6.13beta01 [July 4, 2014]
  Quieted -Wsign-compare and -Wclobber compiler warnings in
    contrib/pngminus/*.c
  Added "(void) png_ptr;" where needed in contrib/gregbook to quiet
    compiler complaints about unused pointers.
  Split a long output string in contrib/gregbook/rpng2-x.c.
  Added "PNG_SET_OPTION" requirement for sRGB chunk support to pnglibconf.dfa,
    Needed for write-only support (John Bowler).
  Changed "if defined(__ARM_NEON__)" to
    "if (defined(__ARM_NEON__) || defined(__ARM_NEON))" (James Wu).
  Fixed clang no-warning builds: png_digit was defined but never used.

Version 1.6.13beta02 [July 21, 2014]
  Fixed an incorrect separator ("/" should be "\") in scripts/makefile.vcwin32
    (bug report from Wolfgang S. Kechel).  Bug was introduced in libpng-1.6.11.
    Also fixed makefile.bc32, makefile.bor, makefile.msc, makefile.intel, and
    makefile.tc3 similarly.

Version 1.6.13beta03 [August 3, 2014]
  Removed scripts/makefile.elf. It has not worked since libpng-1.5.0beta14
    due to elimination of the PNG_FUNCTION_EXPORT and PNG_DATA_EXPORT
    definitions from pngconf.h.
  Ensure that CMakeLists.txt makes the target "lib" directory before making
    symbolic link into it (SourceForge bug report #226 by Rolf Timmermans).

Version 1.6.13beta04 [August 8, 2014]
  Added opinion that the ECCN (Export Control Classification Number) for
    libpng is EAR99 to the README file.
  Eliminated use of "$<" in makefile explicit rules, when copying
    $PNGLIBCONF_H_PREBUILT.  This does not work on some versions of make;
    bug introduced in libpng version 1.6.11.

Version 1.6.13rc01 [August 14, 2014]
  Made "ccopts" agree with "CFLAGS" in scripts/makefile.hp* and makefile.*sunu

Version 1.6.13 [August 21, 2014]
  No changes.

Revision 1.171 / (download) - annotate - [select for diffs], Thu Jun 12 08:59:19 2014 UTC (6 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.170: +2 -2 lines
Diff to previous 1.170 (colored)

Update to 1.6.12:

Version 1.6.12rc01 [June 6, 2014]
  Relocated new code from 1.6.11beta06 in png.c to a point after the
    declarations (Max Stepin).

Version 1.6.12rc02 [June 7, 2014]
  Changed file permissions of contrib/tools/intgamma.sh,
    test-driver, and compile from 0644 to 0755 (Cosmin).

Version 1.6.12rc03 [June 8, 2014]
  Ensure "__has_attribute()" macro exists before trying to use it with
    old clang compilers (MacPorts Ticket #43939).

Version 1.6.12 [June 12, 2014]
  No changes.

Revision 1.170 / (download) - annotate - [select for diffs], Thu Jun 5 16:33:54 2014 UTC (6 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.169: +2 -2 lines
Diff to previous 1.169 (colored)

Update to 1.6.11:

Version 1.6.11beta01 [March 17, 2014]
  Use "if (value != 0)" instead of "if (value)" consistently.
  Changed ZlibSrcDir from 1.2.5 to 1.2.8 in projects/vstudio.
  Moved configuration information from the manual to the INSTALL file.

Version 1.6.11beta02 [April 6, 2014]
  Removed #if/#else/#endif from inside two pow() calls in pngvalid.c because
    they were handled improperly by Portland Group's PGI-14.1 - PGI-14.3
    when using its "__builtin_pow()" function.
  Silence 'unused parameter' build warnings (Cosmin Truta).
  $(CP) is now used alongside $(RM_F).  Also, use 'copy' instead of 'cp'
    where applicable, and applied other minor makefile changes (Cosmin).
  Don't warn about invalid dimensions exceeding user limits (Cosmin).
  Allow an easy replacement of the default pre-built configuration
    header with a custom header, via the make PNGLIBCONF_H_PREBUILT
    macro (Cosmin).

Version 1.6.11beta03 [April 6, 2014]
  Fixed a typo in pngrutil.c, introduced in libpng-1.5.6, that interferes
    with "blocky" expansion of sub-8-bit interlaced PNG files (Eric Huss).
  Optionally use  __builtin_bswap16() in png_do_swap().

Version 1.6.11beta04 [April 19, 2014]
  Made progressive reading of interlaced images consistent with the
    behavior of the sequential reader and consistent with the manual, by
    moving some code out of the PNG_READ_INTERLACING_SUPPORTED blocks. The
    row_callback now receives the proper pass number and unexpanded rows, when
    png_combine_row() isn't built or used, and png_set_interlace_handling()
    is not called.
  Allow PNG_sRGB_PROFILE_CHECKING = (-1) to mean no sRGB profile checking.

Version 1.6.11beta05 [April 26, 2014]
  Do not reject ICC V2 profiles that lack padding (Kai-Uwe Behrmann).
  Relocated closing bracket of the sRGB profile test loop to avoid getting
    "Not recognizing known sRGB profile that has been edited" warning for
    ICC V2 profiles that lack the MD5 signature in the profile header.

Version 1.6.11beta06 [May 19, 2014]
  Added PNG_SKIP_sRGB_CHECK_PROFILE choice for png_set_option().

Version 1.6.11rc01 [May 27, 2014]
  No changes.

Version 1.6.11rc02 [June 3, 2014]
  Test ZLIB_VERNUM instead of PNG_ZLIB_VERNUM in contrib/tools/pngfix.c

Version 1.6.11 [June 5, 2014]
  No changes.

Revision 1.169 / (download) - annotate - [select for diffs], Wed Mar 12 09:17:52 2014 UTC (6 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.168: +2 -2 lines
Diff to previous 1.168 (colored)

Update to 1.6.10:

Version 1.6.10rc02 [February 28, 2014]
  Removed unreachable return statement after png_chunk_error()
    in pngrutil.c

Version 1.6.10rc03 [March 4, 2014]
  Un-deprecated png_data_freer().

Version 1.6.10 [March 6, 2014]

Revision 1.165.2.1 / (download) - annotate - [select for diffs], Thu Feb 27 15:54:45 2014 UTC (6 years, 10 months ago) by tron
Branch: pkgsrc-2013Q4
Changes since 1.165: +8 -2 lines
Diff to previous 1.165 (colored) next main 1.166 (colored)

Pullup ticket #4334 - requested by wiz
graphics/png: security update

Revisions pulled up:
- graphics/png/Makefile                                         1.166-1.168
- graphics/png/distinfo                                         1.111-1.113
- graphics/png/patches/patch-aa                                 deleted
- graphics/png/patches/patch-contrib_tools_pngfix.c             deleted

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Tue Dec 31 17:27:48 UTC 2013

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Update to 1.6.8:

   Version 1.6.8beta01 [November 24, 2013]
     Moved prototype for png_handle_unknown() in pngpriv.h outside of
       the #ifdef PNG_SET_UNKNOWN_CHUNKS_SUPPORTED/#endif block.
     Added "-Wall" to CFLAGS in contrib/pngminim/*/makefile
     Conditionally compile some unused functions reported by -Wall in
       pngminim.
     Fixed 'minimal' builds. Various obviously useful minimal configurations
       don't build because of missing contrib/libtests test programs and
       overly complex dependencies in scripts/pnglibconf.dfa. This change
       adds contrib/conftest/*.dfa files that can be used in automatic build
       scripts to ensure that these configurations continue to build.
     Enabled WRITE_INVERT and WRITE_PACK in contrib/pngminim/encoder.
     Fixed pngvalid 'fail' function declaration on the Intel C Compiler.
       This reverts to the previous 'static' implementation and works round
       the 'unused static function' warning by using PNG_UNUSED().

   Version 1.6.8beta02 [November 30, 2013]
     Removed or marked PNG_UNUSED some harmless "dead assignments" reported
       by clang scan-build.
     Changed tabs to 3 spaces in png_debug macros and changed '"%s"m'
       to '"%s" m' to improve portability among compilers.
     Changed png_free_default() to free() in pngtest.c

   Version 1.6.8rc01 [December 12, 2013]
     Tidied up pngfix inits and fixed pngtest no-write builds.

   Version 1.6.8rc02 [December 14, 2013]
     Handle zero-length PLTE chunk or NULL palette with png_error()
       instead of png_chunk_report(), which by default issues a warning
       rather than an error, leading to later reading from a NULL pointer
       (png_ptr->palette) in png_do_expand_palette(). This is CVE-2013-6954
       and VU#650142.

   Version 1.6.8 [December 19, 2013]

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Thu Feb  6 18:24:11 UTC 2014

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo
   Removed Files:
   	pkgsrc/graphics/png/patches: patch-aa patch-contrib_tools_pngfix.c

   Log Message:
   Update to 1.6.9, getting rid of the final two patches after discussion
   with very helpful upstream.

   Changes:

   Version 1.6.9beta01 [December 26, 2013]
     Bookkeeping: Moved functions around (no changes). Moved transform
       function definitions before the place where they are called so that
       they can be masde static. Move the intrapixel functions and the
       grayscale palette builder out of the png?tran.c files. The latter
       isn't a transform function and is no longer used internally, and the
       former MNG specific functions are better placed in pngread/pngwrite.c
     Made transform implementation functions static. This makes the internal
       functions called by png_do_{read|write}_transformations static. On an
       x86-64 DLL build (Gentoo Linux) this reduces the size of the text
       segment of the DLL by 1208 bytes, about 0.6%. It also simplifies
       maintenance by removing the declarations from pngpriv.h and allowing
       easier changes to the internal interfaces.
     Rebuilt configure scripts with automake-1.14.1 and autoconf-2.69
       in the tar distributions.

   Version 1.6.9beta02 [January 1, 2014]
     Added checks for libpng 1.5 to pngvalid.c.  This supports the use of
       this version of pngvalid in libpng 1.5
     Merged with pngvalid.c from libpng-1.7 changes to create a single
       pngvalid.c
     Removed #error macro from contrib/tools/pngfix.c (Thomas Klausner).
     Merged pngrio.c, pngtrans.c, pngwio.c, and pngerror.c with libpng-1.7.0
     Merged libpng-1.7.0 changes to make no-interlace configurations work
       with test programs.
     Revised pngvalid.c to support libpng 1.5, which does not support the
       PNG_MAXIMUM_INFLATE_WINDOW option, so #define it out when appropriate in
       pngvalid.c
     Allow unversioned links created on install to be disabled in configure.
       In configure builds 'make install' changes/adds links like png.h
       and libpng.a to point to the newly installed, versioned, files (e.g.
       libpng17/png.h and libpng17.a). Three new configure options and some
       rearrangement of Makefile.am allow creation of these links to be disabled.

   Version 1.6.9beta03 [January 10, 2014]
     Removed potentially misleading warning from png_check_IHDR().

   Version 1.6.9beta04 [January 20, 2014]
     Updated scripts/makefile.* to use CPPFLAGS (Cosmin).
     Added clang attribute support (Cosmin).

   Version 1.6.9rc01 [January 28, 2014]
     No changes.

   Version 1.6.9rc02 [January 30, 2014]
     Quiet an uninitialized memory warning from VC2013 in png_get_png().

   Version 1.6.9 [February 6, 2014]

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Thu Feb 27 15:07:09 UTC 2014

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Update to 1.6.10rc01:
   This fixes CERT VU#684412 and CVE-2014-0333.

   Version 1.6.10beta01 [February 9, 2014]
     Backported changes from libpng-1.7.0beta30 and beta31:
     Fixed a large number of instances where PNGCBAPI was omitted from
       function definitions.
     Added pngimage test program for png_read_png() and png_write_png()
       with two new test scripts.
     Removed dependence on !PNG_READ_EXPAND_SUPPORTED for calling
       png_set_packing() in png_read_png().
     Fixed combination of ~alpha with shift. On read invert alpha, processing
       occurred after shift processing, which causes the final values to be
       outside the range that should be produced by the shift. Reversing the
       order on read makes the two transforms work together correctly and mirrors
       the order used on write.
     Do not read invalid sBIT chunks. Previously libpng only checked sBIT
       values on write, so a malicious PNG writer could therefore cause
       the read code to return an invalid sBIT chunk, which might lead to
       application errors or crashes.  Such chunks are now skipped (with
       chunk_benign_error).
     Make png_read_png() and png_write_png() prototypes in png.h depend
       upon PNG_READ_SUPPORTED and PNG_WRITE_SUPPORTED.
     Support builds with unsupported PNG_TRANSFORM_* values.  All of the
       PNG_TRANSFORM_* values are always defined in png.h and, because they
       are used for both read and write in some cases, it is not reliable
       to #if out ones that are totally unsupported. This change adds error
       detection in png_read_image() and png_write_image() to do a
       png_app_error() if the app requests something that cannot be done
       and it adds corresponding code to pngimage.c to handle such options
       by not attempting to test them.

   Version 1.6.10beta02 [February 23, 2014]
     Moved redefines of png_error(), png_warning(), png_chunk_error(),
       and png_chunk_warning() from pngpriv.h to png.h to make them visible
       to libpng-calling applications.
     Moved OS dependent code from arm/arm_init.c, to allow the included
       implementation of the ARM NEON discovery function to be set at
       build-time and provide sample implementations from the current code in the
       contrib/arm-neon subdirectory. The __linux__ code has also been changed to
       compile and link on Android by using /proc/cpuinfo, and the old linux code
       is in contrib/arm-neon/linux-auxv.c.  The new code avoids POSIX and Linux
       dependencies apart from opening /proc/cpuinfo and is C90 compliant.
     Check for info_ptr == NULL early in png_read_end() so we don't need to
       run all the png_handle_*() and depend on them to return if info_ptr == NULL.
       This improves the performance of png_read_end(png_ptr, NULL) and makes
       it more robust against future programming errors.
     Check for __has_extension before using it in pngconf.h, to
       support older Clang versions (Jeremy Sequoia).
     Treat CRC error handling with png_set_crc_action(), instead of with
       png_set_benign_errors(), which has been the case since libpng-1.6.0beta18.
     Use a user warning handler in contrib/gregbook/readpng2.c instead of default,
       so warnings will be put on stderr even if libpng has CONSOLE_IO disabled.
     Added png_ptr->process_mode = PNG_READ_IDAT_MODE in png_push_read_chunk
       after recognizing the IDAT chunk, which avoids an infinite loop while
       reading a datastream whose first IDAT chunk is of zero-length.
       This fixes CERT VU#684412 and CVE-2014-0333.
     Don't recognize known sRGB profiles as sRGB if they have been hacked,
       but don't reject them and don't issue a copyright violation warning.

   Version 1.6.10beta03 [February 25, 2014]
     Moved some documentation from png.h to libpng.3 and libpng-manual.txt
     Minor editing of contrib/arm-neon/README and contrib/examples/*.c

   Version 1.6.10rc01 [February 27, 2014]
     Fixed typos in the manual and in scripts/pnglibconf.dfa (CFLAGS -> CPPFLAGS
       and PNG_USR_CONFIG -> PNG_USER_CONFIG).

Revision 1.168 / (download) - annotate - [select for diffs], Thu Feb 27 15:07:09 2014 UTC (6 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.167: +2 -2 lines
Diff to previous 1.167 (colored)

Update to 1.6.10rc01:
This fixes CERT VU#684412 and CVE-2014-0333.

Version 1.6.10beta01 [February 9, 2014]
  Backported changes from libpng-1.7.0beta30 and beta31:
  Fixed a large number of instances where PNGCBAPI was omitted from
    function definitions.
  Added pngimage test program for png_read_png() and png_write_png()
    with two new test scripts.
  Removed dependence on !PNG_READ_EXPAND_SUPPORTED for calling
    png_set_packing() in png_read_png().
  Fixed combination of ~alpha with shift. On read invert alpha, processing
    occurred after shift processing, which causes the final values to be
    outside the range that should be produced by the shift. Reversing the
    order on read makes the two transforms work together correctly and mirrors
    the order used on write.
  Do not read invalid sBIT chunks. Previously libpng only checked sBIT
    values on write, so a malicious PNG writer could therefore cause
    the read code to return an invalid sBIT chunk, which might lead to
    application errors or crashes.  Such chunks are now skipped (with
    chunk_benign_error).
  Make png_read_png() and png_write_png() prototypes in png.h depend
    upon PNG_READ_SUPPORTED and PNG_WRITE_SUPPORTED.
  Support builds with unsupported PNG_TRANSFORM_* values.  All of the
    PNG_TRANSFORM_* values are always defined in png.h and, because they
    are used for both read and write in some cases, it is not reliable
    to #if out ones that are totally unsupported. This change adds error
    detection in png_read_image() and png_write_image() to do a
    png_app_error() if the app requests something that cannot be done
    and it adds corresponding code to pngimage.c to handle such options
    by not attempting to test them.

Version 1.6.10beta02 [February 23, 2014]
  Moved redefines of png_error(), png_warning(), png_chunk_error(),
    and png_chunk_warning() from pngpriv.h to png.h to make them visible
    to libpng-calling applications.
  Moved OS dependent code from arm/arm_init.c, to allow the included
    implementation of the ARM NEON discovery function to be set at
    build-time and provide sample implementations from the current code in the
    contrib/arm-neon subdirectory. The __linux__ code has also been changed to
    compile and link on Android by using /proc/cpuinfo, and the old linux code
    is in contrib/arm-neon/linux-auxv.c.  The new code avoids POSIX and Linux
    dependencies apart from opening /proc/cpuinfo and is C90 compliant.
  Check for info_ptr == NULL early in png_read_end() so we don't need to
    run all the png_handle_*() and depend on them to return if info_ptr == NULL.
    This improves the performance of png_read_end(png_ptr, NULL) and makes
    it more robust against future programming errors.
  Check for __has_extension before using it in pngconf.h, to
    support older Clang versions (Jeremy Sequoia).
  Treat CRC error handling with png_set_crc_action(), instead of with
    png_set_benign_errors(), which has been the case since libpng-1.6.0beta18.
  Use a user warning handler in contrib/gregbook/readpng2.c instead of default,
    so warnings will be put on stderr even if libpng has CONSOLE_IO disabled.
  Added png_ptr->process_mode = PNG_READ_IDAT_MODE in png_push_read_chunk
    after recognizing the IDAT chunk, which avoids an infinite loop while
    reading a datastream whose first IDAT chunk is of zero-length.
    This fixes CERT VU#684412 and CVE-2014-0333.
  Don't recognize known sRGB profiles as sRGB if they have been hacked,
    but don't reject them and don't issue a copyright violation warning.

Version 1.6.10beta03 [February 25, 2014]
  Moved some documentation from png.h to libpng.3 and libpng-manual.txt
  Minor editing of contrib/arm-neon/README and contrib/examples/*.c

Version 1.6.10rc01 [February 27, 2014]
  Fixed typos in the manual and in scripts/pnglibconf.dfa (CFLAGS -> CPPFLAGS
    and PNG_USR_CONFIG -> PNG_USER_CONFIG).

Revision 1.167 / (download) - annotate - [select for diffs], Thu Feb 6 18:24:11 2014 UTC (6 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.166: +8 -2 lines
Diff to previous 1.166 (colored)

Update to 1.6.9, getting rid of the final two patches after discussion
with very helpful upstream.

Changes:

Version 1.6.9beta01 [December 26, 2013]
  Bookkeeping: Moved functions around (no changes). Moved transform
    function definitions before the place where they are called so that
    they can be masde static. Move the intrapixel functions and the
    grayscale palette builder out of the png?tran.c files. The latter
    isn't a transform function and is no longer used internally, and the
    former MNG specific functions are better placed in pngread/pngwrite.c
  Made transform implementation functions static. This makes the internal
    functions called by png_do_{read|write}_transformations static. On an
    x86-64 DLL build (Gentoo Linux) this reduces the size of the text
    segment of the DLL by 1208 bytes, about 0.6%. It also simplifies
    maintenance by removing the declarations from pngpriv.h and allowing
    easier changes to the internal interfaces.
  Rebuilt configure scripts with automake-1.14.1 and autoconf-2.69
    in the tar distributions.

Version 1.6.9beta02 [January 1, 2014]
  Added checks for libpng 1.5 to pngvalid.c.  This supports the use of
    this version of pngvalid in libpng 1.5
  Merged with pngvalid.c from libpng-1.7 changes to create a single
    pngvalid.c
  Removed #error macro from contrib/tools/pngfix.c (Thomas Klausner).
  Merged pngrio.c, pngtrans.c, pngwio.c, and pngerror.c with libpng-1.7.0
  Merged libpng-1.7.0 changes to make no-interlace configurations work
    with test programs.
  Revised pngvalid.c to support libpng 1.5, which does not support the
    PNG_MAXIMUM_INFLATE_WINDOW option, so #define it out when appropriate in
    pngvalid.c
  Allow unversioned links created on install to be disabled in configure.
    In configure builds 'make install' changes/adds links like png.h
    and libpng.a to point to the newly installed, versioned, files (e.g.
    libpng17/png.h and libpng17.a). Three new configure options and some
    rearrangement of Makefile.am allow creation of these links to be disabled.

Version 1.6.9beta03 [January 10, 2014]
  Removed potentially misleading warning from png_check_IHDR().

Version 1.6.9beta04 [January 20, 2014]
  Updated scripts/makefile.* to use CPPFLAGS (Cosmin).
  Added clang attribute support (Cosmin).

Version 1.6.9rc01 [January 28, 2014]
  No changes.

Version 1.6.9rc02 [January 30, 2014]
  Quiet an uninitialized memory warning from VC2013 in png_get_png().

Version 1.6.9 [February 6, 2014]

Revision 1.166 / (download) - annotate - [select for diffs], Tue Dec 31 17:27:48 2013 UTC (7 years ago) by wiz
Branch: MAIN
Changes since 1.165: +2 -2 lines
Diff to previous 1.165 (colored)

Update to 1.6.8:

Version 1.6.8beta01 [November 24, 2013]
  Moved prototype for png_handle_unknown() in pngpriv.h outside of
    the #ifdef PNG_SET_UNKNOWN_CHUNKS_SUPPORTED/#endif block.
  Added "-Wall" to CFLAGS in contrib/pngminim/*/makefile
  Conditionally compile some unused functions reported by -Wall in
    pngminim.
  Fixed 'minimal' builds. Various obviously useful minimal configurations
    don't build because of missing contrib/libtests test programs and
    overly complex dependencies in scripts/pnglibconf.dfa. This change
    adds contrib/conftest/*.dfa files that can be used in automatic build
    scripts to ensure that these configurations continue to build.
  Enabled WRITE_INVERT and WRITE_PACK in contrib/pngminim/encoder.
  Fixed pngvalid 'fail' function declaration on the Intel C Compiler.
    This reverts to the previous 'static' implementation and works round
    the 'unused static function' warning by using PNG_UNUSED().

Version 1.6.8beta02 [November 30, 2013]
  Removed or marked PNG_UNUSED some harmless "dead assignments" reported
    by clang scan-build.
  Changed tabs to 3 spaces in png_debug macros and changed '"%s"m'
    to '"%s" m' to improve portability among compilers.
  Changed png_free_default() to free() in pngtest.c

Version 1.6.8rc01 [December 12, 2013]
  Tidied up pngfix inits and fixed pngtest no-write builds.

Version 1.6.8rc02 [December 14, 2013]
  Handle zero-length PLTE chunk or NULL palette with png_error()
    instead of png_chunk_report(), which by default issues a warning
    rather than an error, leading to later reading from a NULL pointer
    (png_ptr->palette) in png_do_expand_palette(). This is CVE-2013-6954
    and VU#650142.

Version 1.6.8 [December 19, 2013]

Revision 1.165 / (download) - annotate - [select for diffs], Fri Nov 15 07:42:08 2013 UTC (7 years, 2 months ago) by tron
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base
Branch point for: pkgsrc-2013Q4
Changes since 1.164: +2 -2 lines
Diff to previous 1.164 (colored)

Fix download URL on "ftp.fu-berlin.de".

Revision 1.164 / (download) - annotate - [select for diffs], Thu Nov 14 23:09:45 2013 UTC (7 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.163: +2 -2 lines
Diff to previous 1.163 (colored)

Update to 1.6.7:

Version 1.6.7beta01 [September 30, 2013]
  Revised unknown chunk code to correct several bugs in the NO_SAVE_/NO_WRITE
    combination
  Allow HANDLE_AS_UNKNOWN to work when other options are configured off. Also
    fixed the pngminim makefiles to work when $(MAKEFLAGS) contains stuff
    which terminates the make options (as by default in recent versions of
    Gentoo).
  Avoid up-cast warnings in pngvalid.c. On ARM the alignment requirements of
    png_modifier are greater than that of png_store and as a consequence
    compilation of pngvalid.c results in a warning about increased alignment
    requirements because of the bare cast to (png_modifier*). The code is safe,
    because the pointer is known to point to a stack allocated png_modifier,
    but this change avoids the warning.
  Fixed default behavior of ARM_NEON_API. If the ARM NEON API option was
    compiled without the CHECK option it defaulted to on, not off.
  Check user callback behavior in pngunknown.c. Previous versions compiled
    if SAVE_UNKNOWN was not available but did nothing since the callback
    was never implemented.
  Merged pngunknown.c with 1.7 version and back ported 1.7 improvements/fixes

Version 1.6.7beta02 [October 12, 2013]
  Made changes for compatibility with automake 1.14:
    1) Added the 'compile' program to the list of programs that must be cleaned
       in autogen.sh
    2) Added 'subdir-objects' which causes .c files in sub-directories to be
       compiled such that the corresponding .o files are also in the
       sub-directory.  This is because automake 1.14 warns that the
       current behavior of compiling to the top level directory may be removed
       in the future.
    3) Updated dependencies on pnglibconf.h to match the new .o locations and
       added all the files in contrib/libtests and contrib/tools that depend
       on pnglibconf.h
    4) Added 'BUILD_SOURCES = pnglibconf.h'; this is the automake recommended
       way of handling the dependencies of sources that are machine generated;
       unfortunately it only works if the user does 'make all' or 'make check',
       so the dependencies (3) are still required.
  Cleaned up (char*) casts of zlib messages. The latest version of the Intel C
    compiler complains about casting a string literal as (char*), so copied the
    treatment of z_const from the library code into pngfix.c
  Simplified error message code in pngunknown. The simplification has the
    useful side effect of avoiding a bogus warning generated by the latest
    version of the Intel C compiler (it objects to
    condition ? string-literal : string-literal).
  Make autogen.sh work with automake 1.13 as well as 1.14. Do this by always
    removing the 1.14 'compile' script but never checking for it.

Version 1.6.7beta03 [October 19, 2013]
  Added ARMv8 support (James Yu <james.yu at linaro.org>).  Added file
    arm/filter_neon_intrinsics.c; enable with -mfpu=neon.
  Revised pngvalid to generate size images with as many filters as it can
    manage, limited by the number of rows.
  Cleaned up ARM NEON compilation handling. The tests are now in pngpriv.h
    and detect the broken GCC compilers.

Version 1.6.7beta04 [October 26, 2013]
  Allow clang derived from older GCC versions to use ARM intrinsics. This
    causes all clang builds that use -mfpu=neon to use the intrinsics code,
    not the assembler code.  This has only been tested on iOS 7. It may be
    necessary to exclude some earlier clang versions but this seems unlikely.
  Changed NEON implementation selection mechanism. This allows assembler
    or intrinsics to be turned on at compile time during the build by defining
    PNG_ARM_NEON_IMPLEMENTATION to the correct value (2 or 1).  This macro
    is undefined by default and the build type is selected in pngpriv.h.

Version 1.6.7rc01 [November 2, 2013]
  No changes.

Version 1.6.7rc02 [November 7, 2013]
  Fixed #include in filter_neon_intrinsics.c and ctype macros. The ctype char
    checking macros take an unsigned char argument, not a signed char.

Version 1.6.7 [November 14, 2013]

Revision 1.162.2.1 / (download) - annotate - [select for diffs], Sat Oct 12 14:10:37 2013 UTC (7 years, 3 months ago) by tron
Branch: pkgsrc-2013Q3
Changes since 1.162: +2 -2 lines
Diff to previous 1.162 (colored) next main 1.163 (colored)

Pullup ticket #4243 - requested by he
graphics/png: build fix

Revisions pulled up:
- graphics/png/Makefile                                         1.163
- graphics/png/distinfo                                         1.108

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Mon Sep 30 18:17:03 UTC 2013

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Update to 1.6.6:

   Version 1.6.6 [September 16, 2013]
     Removed two stray lines of code from arm/arm_init.c, again.

Revision 1.163 / (download) - annotate - [select for diffs], Mon Sep 30 18:17:03 2013 UTC (7 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.162: +2 -2 lines
Diff to previous 1.162 (colored)

Update to 1.6.6:

Version 1.6.6 [September 16, 2013]
  Removed two stray lines of code from arm/arm_init.c, again.

Revision 1.162 / (download) - annotate - [select for diffs], Sat Sep 14 16:45:48 2013 UTC (7 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base
Branch point for: pkgsrc-2013Q3
Changes since 1.161: +2 -2 lines
Diff to previous 1.161 (colored)

Update to 1.6.5:

libpng-1.6.5 has been released, to remove two stray lines in arm/arm_init.c
that caused libpng to fail to compile when ARM support is enabled.  This
problem was apparently due to a cut-and-paste error of some sort on my part.

Revision 1.161 / (download) - annotate - [select for diffs], Thu Sep 12 13:00:53 2013 UTC (7 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.160: +2 -2 lines
Diff to previous 1.160 (colored)

Update to 1.6.4:

Changes since the last public release (1.6.3):
  Added information about png_set_options() to the manual.
  Delay calling png_init_filter_functions() until a row with nonzero filter
    is found.
  Fixed inconsistent conditional compilation of png_chunk_unknown_handling()
    prototype, definition, and usage.  Made it depend on
    PNG_HANDLE_AS_UNKNOWN_SUPPORTED everywhere.

Revision 1.160 / (download) - annotate - [select for diffs], Thu Jul 18 06:26:51 2013 UTC (7 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.159: +2 -3 lines
Diff to previous 1.159 (colored)

Update to 1.6.3:

Changes since the last public release (1.6.2):

  Revised stack marking in arm/filter_neon.S and configure.ac.
  Ensure that NEON filter stuff is completely disabled when switched 'off'.
    Previously the ARM NEON specific files were still built if the option
    was switched 'off' as opposed to being explicitly disabled.
  Test for 'arm*' not just 'arm' in the host_cpu configure variable.
  Rebuilt the configure scripts.
  Expanded manual paragraph about writing private chunks, particularly
    the need to call png_set_keep_unknown_chunks() when writing them.
  Avoid dereferencing NULL pointer possibly returned from
     png_create_write_struct() (Andrew Church).
  Calculate our own zlib windowBits when decoding rather than trusting the
    CMF bytes in the PNG datastream.
  Added an option to force maximum window size for inflating, which was
    the behavior of libpng15 and earlier.
  Added png-fix-itxt and png-fix-too-far-back to the built programs and
    removed warnings from the source code and timepng that are revealed as
    a result.
  Detect wrong libpng versions linked to png-fix-too-far-back, which currently
    only works with libpng versions that can be made to reliably fail when
    the deflate data contains an out-of-window reference.  This means only
    1.6 and later.
  Fixed gnu issues: g++ needs a static_cast, gcc 4.4.7 has a broken warning
    message which it is easier to work round than ignore.
  Updated contrib/pngminus/pnm2png.c (Paul Stewart):
    Check for EOF
    Ignore "#" delimited comments in input file to pnm2png.c.
    Fixed whitespace handling
    Added a call to png_set_packing()
    Initialize dimension values so if sscanf fails at least we have known
      invalid values.
  Attempt to detect configuration issues with png-fix-too-far-back, which
    requires both the correct libpng and the correct zlib to function
    correctly.
  Check ZLIB_VERNUM for mismatches, enclose #error in quotes
  Added information in the documentation about problems with and fixes for
    the bad CRC and bad iTXt chunk situations.
  Allow contrib/pngminus/pnm2png.c to compile without WRITE_INVERT and
    WRITE_PACK supported (writes error message that it can't read P1 or
  Improved png-fix-too-far-back usage message, added --suffix option.
  Revised contrib/pngminim/*/makefile to generate pnglibconf.h with the
    right zlib header files.
  Separated CPPFLAGS and CFLAGS in contrib/pngminim/*/makefile
  Removed a redundant test in png_set_IHDR().
  Added set(CMAKE_CONFIGURATION_TYPES ...) to CMakeLists.txt (Andrew Hundt)
  Deleted set(CMAKE_BUILD_TYPE) block from CMakeLists.txt
  Enclose the prototypes for the simplified write API in
    #ifdef PNG_STDIO_SUPPORTED/#endif
  Make ARM NEON support work at compile time (not just configure time).
    This moves the test on __ARM_NEON__ into pngconf.h to avoid issues when
    using a compiler that compiles for multiple architectures at one time.
  Removed PNG_FILTER_OPTIMIZATIONS and PNG_ARM_NEON_SUPPORTED from
    pnglibconf.h, allowing more of the decisions to be made internally
    (pngpriv.h) during the compile.  Without this, symbol prefixing is broken
    under certain circumstances on ARM platforms.  Now only the API parts of
    the optimizations ('check' vs 'api') are exposed in the public header files
    except that the new setting PNG_ARM_NEON_OPT documents how libpng makes the
    decision about whether or not to use the optimizations.
  Protect symbol prefixing against CC/CPPFLAGS/CFLAGS useage.
    Previous iOS/Xcode fixes for the ARM NEON optimizations moved the test
    on __ARM_NEON__ from configure time to compile time.  This breaks symbol
    prefixing because the definition of the special png_init_filter_functions
    call was hidden at configure time if the relevant compiler arguments are
    passed in CFLAGS as opposed to CC.  This change attempts to avoid all
    the confusion that would result by declaring the init function even when
    it is not used, so that it will always get prefixed.
  Revised libpng.3 so that "doclifter" can process it.
  Revised example.c to illustrate use of PNG_DEFAULT_sRGB and
PNG_GAMMA_MAC_18
    as parameters for png_set_gamma().  These have been available since
    libpng-1.5.4.
  Renamed contrib/tools/png-fix-too-far-back.c to pngfix.c and revised it
    to check all compressed chunks known to libpng.
  Updated documentation to show default behavior of benign errors correctly.
  Only compile ARM code when PNG_READ_SUPPORTED is defined.
  Fixed undefined behavior in contrib/tools/pngfix.c and added new strip
    option. pngfix relied on undefined behavior and even a simple change from
    gcc to g++ caused it to fail.  The new strip option 'unsafe' has been
    implemented and is the default if --max is given.  Option names have
    been clarified, with --strip=transform now stripping the bKGD chunk,
    which was stripped previously with --strip=unused.
  Added all documented chunk types to pngpriv.h
  Unified pngfix.c source with libpng17.
  Revised manual about changes in iTXt chunk handling made in libpng-1.6.0.
  Added "/* SAFE */" comments in pngrutil.c and pngrtran.c where warnings
    may be erroneously issued by code-checking applications.

Revision 1.159 / (download) - annotate - [select for diffs], Sun Jun 23 05:20:33 2013 UTC (7 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.158: +2 -1 lines
Diff to previous 1.158 (colored)

Add workaround for PR/47798 (png gets SEGV on NetBSD/arm 6.1 due to gcc bug).
 - specify "-O2 -fno-ipa-sra" for NetBSD/arm and gcc-4.5.* in hacks.mk
 - also bump PKGREVISION for explicit rebuild

"Please commit that" from wiz@.

Revision 1.158 / (download) - annotate - [select for diffs], Thu Apr 25 22:01:14 2013 UTC (7 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.157: +2 -2 lines
Diff to previous 1.157 (colored)

Update to 1.6.2:

Version 1.6.2rc01 [April 18, 2013]
  Added contrib/tools/fixitxt.c, to repair the erroneous iTXt chunk length
    written by libpng-1.6.0 and 1.6.1.
  Disallow storing sRGB information when the sRGB is not supported.

Version 1.6.2rc02 [April 18, 2013]
  Merge pngtest.c with libpng-1.7.0

Version 1.6.2rc03 [April 22, 2013]
  Trivial spelling cleanup.

Version 1.6.2rc04 and 1.6.2rc05 [omitted]

Version 1.6.2rc06 [April 24, 2013]
  Reverted to version 1.6.2rc03.  Recent changes to arm/neon support
    have been ported to libpng-1.7.0beta09 and will reappear in version
    1.6.3beta01.

Revision 1.157 / (download) - annotate - [select for diffs], Mon Apr 15 22:33:41 2013 UTC (7 years, 9 months ago) by prlw1
Branch: MAIN
Changes since 1.156: +2 -2 lines
Diff to previous 1.156 (colored)

Update png to 1.6.2beta01

Version 1.6.2beta01 [April 14, 2013]
  Updated documentation of 1.5.x to 1.6.x changes in iCCP chunk handling.
  Fixed incorrect warning of excess deflate data. End condition - the
    warning would be produced if the end of the deflate stream wasn't read
    in the last row.  The warning is harmless.
  Corrected the test on user transform changes on read. It was in the
    png_set of the transform function, but that doesn't matter unless the
    transform function changes the rowbuf size, and that is only valid if
    transform_info is called.
  Corrected a misplaced closing bracket in contrib/libtests/pngvalid.c
    (Flavio Medeiros).
  Corrected length written to uncompressed iTXt chunks (Samuli Suominen).

Revision 1.156 / (download) - annotate - [select for diffs], Mon Apr 1 18:26:12 2013 UTC (7 years, 9 months ago) by kim
Branch: MAIN
Changes since 1.155: +2 -2 lines
Diff to previous 1.155 (colored)

Updated graphics/png to 1.6.1 [kim 2013-04-01]

Version 1.6.1beta06 [March 4, 2013]
  Better documentation of unknown handling API interactions.
  Corrected Android builds and corrected libpng.vers with symbol
    prefixing This adds an API to set optimization options externally,
    providing an alternative and general solution for the non-portable
    run-time tests used by the ARM Neon code.  It also makes those tests
    compile and link on Android.
  The order of settings vs options in pnglibconf.h is reversed to allow
    settings to depend on options and options can now set (or override) the
    defaults for settings.

Version 1.6.1beta07 [March 7, 2013]
  Corrected simplified API default gamma for color-mapped output, added
    a flag to change default. In 1.6.0 when the simplified API was used
    to produce color-mapped output from an input image with no gamma
    information the gamma assumed for the input could be different from
    that assumed for non-color-mapped output.  In particular 16-bit depth
    input files were assumed to be sRGB encoded, whereas in the 'direct'
    case they were assumed to have linear data.  This was an error.  The
    fix makes the simplified API treat all input files the same way and
    adds a new flag to the png_image::flags member to allow the
    application/user to specify that 16-bit files contain sRGB data
    rather than the default linear.
  Fixed bugs in the pngpixel and makepng test programs.

Version 1.6.1beta08 [March 7, 2013]
  Fixed CMakelists.txt to allow building a single variant of the library
    (Claudio Bley):
  Introduced a PNG_LIB_TARGETS variable that lists all activated library
    targets.  It is an error if this variable ends up empty, ie. you have
    to build at least one library variant.
  Made the *_COPY targets only depend on library targets actually being build.
  Use PNG_LIB_TARGETS to unify a code path.
  Changed the CREATE_SYMLINK macro to expect the full path to a file as the
    first argument. When symlinking the filename component of that path is
    determined and used as the link target.
  Use copy_if_different in the CREATE_SYMLINK macro.

Version 1.6.1beta09 [March 13, 2013]
  Eliminated two warnings from the Intel C compiler. The warnings are
    technically valid, although a reasonable treatment of division would
    show it to be incorrect.

Version 1.6.1rc01 [March 21, 2013]
  No changes.

Version 1.6.1 [March 28, 2013]
  No changes.

Revision 1.155 / (download) - annotate - [select for diffs], Sat Mar 2 10:55:25 2013 UTC (7 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.154: +2 -3 lines
Diff to previous 1.154 (colored)

Update to 1.6.1beta05 for a bugfix needed by wm/awesome (via
ImageMagick).

Version 1.6.1beta01 [February 16, 2013]
  Made symbol prefixing work with the ARM neon optimizations. Also allow
    pngpriv.h to be included for preprocessor definitions only, so it can
    be used in non-C/C++ files. Back ported from libpng 1.7.
  Made sRGB check numbers consistent.
  Ported libpng 1.5 options.awk/dfn file handling to 1.6, fixed one bug.
  Removed cc -E workround, corrected png_get_palette_max API Tested on
    SUN OS cc 5.9, which demonstrates the tokenization problem previously
    avoided by using /lib/cpp.  Since all .dfn output is now protected in
    double quotes unless it is to be macro substituted the fix should
    work everywhere.
  Enabled parallel tests - back ported from libpng-1.7.
  scripts/pnglibconf.dfa formatting improvements back ported from libpng17.
  Fixed a race condition in the creation of the build 'scripts' directory
    while building with a parallel make.
  Use approved/supported Android method to check for NEON, use Linux/POSIX
    1003.1 API to check /proc/self/auxv avoiding buffer allocation and other
    library calls (ported from libpng15).

Version 1.6.1beta02 [February 19, 2013]
  Use parentheses more consistently in "#if defined(MACRO)" tests.
  Folded long lines.
  Reenabled code to allow zero length PLTE chunks for MNG.

Version 1.6.1beta03 [February 22, 2013]
  Fixed ALIGNED_MEMORY support.
  Allow run-time ARM NEON checking to be disabled. A new configure option:
    --enable-arm-neon=always will stop the run-time checks. New checks
    within arm/arm_init.c will cause the code not to be compiled unless
    __ARM_NEON__ is set. This should make it fail safe (if someone asks
    for it on then the build will fail if it can't be done.)
  Updated the INSTALL document.

Version 1.6.1beta04 [February 27, 2013]
  Revised INSTALL to recommend using CPPFLAGS instead of INCLUDES.
  Revised scripts/makefile.freebsd to respect ZLIBLIB and ZLIBINC.
  Revised scripts/dfn.awk to work with the buggy MSYS awk that has trouble
    with CRLF line endings.

Version 1.6.1beta05 [March 2, 2013]
  Avoid a possible memory leak in contrib/gregbook/readpng.c
  Fixed bug introduced in libpng-1.6.0beta28 that causes libpng to handle chunks
    even when they have been tagged PNG_HANDLE_CHUNK_NEVER.

Revision 1.154 / (download) - annotate - [select for diffs], Sat Feb 16 11:16:06 2013 UTC (7 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.153: +4 -3 lines
Diff to previous 1.153 (colored)

Update to 1.6.0:

This release adds a "simplified API" and removes some features
that have been deprecated since libpng.1.5.x.

Changes to Libpng from version 1.5.x to 1.6.x:

A "simplified API" has been added (see documentation in png.h and a simple
example in contrib/examples/pngtopng.c).  The new publicly visible API
includes the following:

   macros:
     PNG_FORMAT_*
     PNG_IMAGE_*
   structures:
     png_control
     png_image
   read functions
     png_image_begin_read_from_file()
     png_image_begin_read_from_stdio()
     png_image_begin_read_from_memory()
     png_image_finish_read()
     png_image_free()
   write functions
     png_image_write_to_file()
     png_image_write_to_stdio()

Starting with libpng-1.6.0, you can configure libpng to prefix all exported
symbols, using the PNG_PREFIX macro.

We no longer include string.h in png.h.  The include statement has been moved
to pngpriv.h, where it is not accessible by applications.  Applications that
need access to information in string.h must add an '#include "string.h"'
directive.  It does not matter whether this is placed prior to or after
the '"#include png.h"' directive.

The following API are now DEPRECATED:
   png_info_init_3()
   png_convert_to_rfc1123() which has been replaced
     with png_convert_to_rfc1123_buffer()
   png_data_freer()
   png_malloc_default()
   png_free_default()
   png_reset_zstream()

The following has been removed:
   png_get_io_chunk_name(), which has been replaced
     with png_get_io_chunk_type().  The new
     function returns a 32-bit integer instead of
     a string.
   The png_sizeof(), png_strlen(), png_memcpy(), png_memcmp(), and
     png_memset() macros are no longer used in the libpng sources and
     have been removed.  These had already been made invisible to
applications
     (i.e., defined in the private pngpriv.h header file) since
libpng-1.5.0.

The signatures of many exported functions were changed, such that
   png_structp became png_structrp or png_const_structrp
   png_infop became png_inforp or png_const_inforp
where "rp" indicates a "restricted pointer".

Error detection in some chunks has improved; in particular the iCCP chunk
reader now does pretty complete validation of the basic format.  Some bad
profiles that were previously accepted are now rejected, in particular the
very old broken Microsoft/HP sRGB profile.

The library now issues a warning if both background processing and RGB to
gray are used when gamma correction happens. As with previous versions of
the library the results are numerically very incorrect in this case.

There are some minor arithmetic changes in some transforms such as
png_set_background(), that might be detected by certain regression tests.

Unknown chunk handling has been improved internally, without any API change.
This adds more correct option control of the unknown handling, corrects
a pre-existing bug where the per-chunk 'keep' setting is ignored, and makes
it possible to skip IDAT chunks in the sequential reader.

Revision 1.153 / (download) - annotate - [select for diffs], Thu Jan 24 08:15:50 2013 UTC (7 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.152: +2 -2 lines
Diff to previous 1.152 (colored)

Update to 1.5.14:

Changes since the last public release (1.5.13):
  Added -DZ_SOLO to contrib/pngminim/*/makefile to work with zlib-1.2.7
  Warn about the incorrect runtime library setting for VS2010 debug DLL builds.
  Fixed build when using #define PNG_NO_READ_GAMMA in png_do_compose() in
    pngrtran.c (Domani Hannes).
  Check for png_ptr==NULL earlier in png_zalloc().
  Ignore, with a warning, out-of-range value of num_trans in png_set_tRNS().
  Rearranged building of ARM NEON optimizations. The ARM specific code is
    split out entirely to the arm subdirectory and changes to configure.acand
    Makefile.am to add new stuff are reduced.  Now material code changes,
    although for build test purposes, --enable-arm-neon now builds on non-ARM
    systems.
  Rebuilt Makefile.in, configure, etc., with autoconf-2.69 and automake-1.12.5.
  Fixed cases of unquoted DESTDIR in Makefile.am
  Fixed a minor bug in types to malloc and major bug in handling compressed
    iTXt. Compressed iTXt could not be handled.
  Cleaned up whitespace in the synopsis portion of the manpage "libpng.3"
  Disassembled the version number in scripts/options.awk (necessary for
    building on SunOs).
  Fixed Windows build issues, enabled ARM compilation. Various warnings issued
    by earlier versions of GCC fixed for Cygwin and Min/GW (which both use old
    GCCs.) ARM support is enabled by default in zlib.props (unsupported by
    Microsoft) and ARM compilation is made possible by deleting the check for
    x86. The test programs cannot be run because they are not signed.
  Fixed 'make distcheck' on SUN OS - libpng.so was not being removed
  Replaced AM_CONFIG_HEADER(config.h) with AC_CONFIG_HEADERS([config.h])
    in configure.ac
  De-configured build fixes to make a range of deconfiguration options (such
    as switching off read or write support) work in more cases.  Also upgraded
    pngtest and pngvalid to the libpng 1.6 versions (with some modifications)
    which provide more extensive testing.  Replaced pngtest.png because pngtest
    writes the ancillary chunks in a different order.
  Check validity of "num_unknowns" parameter of png_set_unknown_chunks()
    (Bug report from yuris).
  Check the validity of the "nentries" parameter of png_set_sPLT() and the
  "num_text" parameter of png_set_text_2().

Revision 1.152 / (download) - annotate - [select for diffs], Sat Oct 6 14:11:14 2012 UTC (8 years, 3 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.151: +1 -2 lines
Diff to previous 1.151 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.151 / (download) - annotate - [select for diffs], Tue Oct 2 16:58:46 2012 UTC (8 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.150: +2 -2 lines
Diff to previous 1.150 (colored)

Update to 1.5.13:

Version 1.5.13beta01 [August 8, 2012]
  Do not compile PNG_DEPRECATED, PNG_ALLOC and PNG_PRIVATE when __GNUC__ < 3.
  Removed references to png_zalloc() and png_zfree() from the manual.
  Revised PNG_FP_EXPORT and PNG_FIXED_EXPORT macros to avoid generating
    lone semicolons (patch ported from libpng-1.6.0beta11).

Version 1.5.13beta02 [September 10, 2012]
  Corrected handling of the image array and the row_pointers array in example.c
  When png_set_filler is used to strip a filler channel during write, the
    code prior to 1.5 would ignore the case where the output required an
    alpha channel or when the output was a palettized PNG.  In libpng-1.5 the
    ignorance was lost and libpng proceeded to strip the channel resulting
    in a bad (potential memory overwrite) failure later.  This reverts
    the behavior to the pre-1.5 state but issues a warning. libpng-1.6 is
    expected to issue an error on the erroneous png_set_filler call.
  Use png_memset() consistently (pngmem.c contained some bare "memset" calls).

Version 1.5.13rc01 [September 17, 2012]
  No changes.

Version 1.5.13 [September 27, 2012]
  No changes.

Revision 1.149.2.1 / (download) - annotate - [select for diffs], Fri Jul 13 08:51:00 2012 UTC (8 years, 6 months ago) by tron
Branch: pkgsrc-2012Q2
Changes since 1.149: +2 -2 lines
Diff to previous 1.149 (colored) next main 1.150 (colored)

Pullup ticket #3858 - requested by wiz
graphics/png: security update

Revisions pulled up:
- graphics/png/Makefile                                         1.150
- graphics/png/distinfo                                         1.97

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Wed Jul 11 09:00:42 UTC 2012

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Update to 1.5.12:
     Removed scripts/makefile.cegcc from the *.zip and *.7z distributions; it
       depends on configure, which is not included in those archives.
     Changed "a+w" to "u+w" in Makefile.in to fix CVE-2012-3386.

   I don't see CVS-2012-3386 as a vulnerability that applies to pkgsrc,
   since to trigger it, you have to run 'make distcheck', and pkgsrc
   never does that.

Revision 1.150 / (download) - annotate - [select for diffs], Wed Jul 11 09:00:41 2012 UTC (8 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.149: +2 -2 lines
Diff to previous 1.149 (colored)

Update to 1.5.12:
  Removed scripts/makefile.cegcc from the *.zip and *.7z distributions; it
    depends on configure, which is not included in those archives.
  Changed "a+w" to "u+w" in Makefile.in to fix CVE-2012-3386.

I don't see CVS-2012-3386 as a vulnerability that applies to pkgsrc,
since to trigger it, you have to run 'make distcheck', and pkgsrc
never does that.

Revision 1.149 / (download) - annotate - [select for diffs], Thu Jun 14 15:40:35 2012 UTC (8 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base
Branch point for: pkgsrc-2012Q2
Changes since 1.148: +2 -2 lines
Diff to previous 1.148 (colored)

Update to 1.5.11:

Version 1.5.11beta01 [April 28, 2012]
  Revised scripts/makefile.darwin: use system zlib; remove quotes around
    architecture list; add missing ppc architecture; add architecture options
    to shared library link; don't try to create a shared lib based on missing
    RELEASE variable.
  Enable png_set_check_for_invalid_index() for both read and write.
  Removed #ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED/#endif in pngpriv.h around
    declaration of png_handle_unknown().
  Added -lssp_nonshared in a comment in scripts/makefile.freebsd
    and changed deprecated NOOBJ and NOPROFILE to NO_OBJ and NO_PROFILE.

Version 1.5.11rc01 [May 23, 2012]
  No changes.

Version 1.5.11rc02 [May 29, 2012]
  Fixed some typos in comments.
  Revised CMakeLists.txt to not attempt to make a symlink under mingw.
  Added two images to contrib/pngsuite (1-bit and 2-bit transparent grayscale),
    and renamed three whose names were inconsistent with those in
    pngsuite/README.txt.

Version 1.5.11rc03 [June 4, 2012]
  Do not depend upon a GCC feature macro being available for use in generating
    the linker mapfile symbol prefix.
  Made fixes for new optimization warnings from gcc 4.7.0. The compiler
    performed an optimization which is safe but then warned about it.
    Changing the type of 'palette_number' in pngvalid.c removes the warning.

Version 1.5.11rc04 [June 6, 2012]
  Improved performance of new do_check_palette_indexes() function.

Version 1.5.11rc05 [June 7, 2012]
  Don't check palette indexes if num_palette is 0 (as it can be in MNG files).

Version 1.5.11 [June 14, 2012]
  Include zlib.h in contrib/gregbook and contrib/visupng examples.

Revision 1.148 / (download) - annotate - [select for diffs], Thu Mar 29 13:26:33 2012 UTC (8 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.147: +2 -3 lines
Diff to previous 1.147 (colored)

Update to 1.5.10 (security fix):

Version 1.5.10beta01 [February 24, 2012]
  Removed two useless #ifdef directives from pngread.c and one from pngrutil.c
  Always put the CMAKE_LIBRARY in "lib" (removed special WIN32 case).
  Removed empty vstudio/pngstest directory (Clifford Yapp).
  Eliminated redundant png_push_read_tEXt|zTXt|iTXt|unknown code from
    pngpread.c and use the sequential png_handle_tEXt, etc., in pngrutil.c;
    now that png_ptr->buffer is inaccessible to applications, the special
    handling is no longer useful.
  Fixed bug with png_handle_hIST with odd chunk length (Frank Busse).
  Added PNG_SAFE_LIMITS feature to pnglibconf.dfa and code in pngconf.h
    to reset the user limits to safe ones if PNG_SAFE_LIMITS is defined.
    To enable, use "CPPFLAGS=-DPNG_SAFE_LIMITS_SUPPORTED" on the configure
    command or put "#define PNG_SAFE_LIMITS_SUPPORTED" in pnglibconf.h.
  Revised the SAFE_LIMITS feature to be the same as the feature in libpng16.
  Added information about the new limits in the manual.

Version 1.5.10beta02 [February 27, 2012]
  Updated Makefile.in

Version 1.5.10beta03 [March 6, 2012]
  Removed unused "current_text" members of png_struct and the png_free()
    of png_ptr->current_text from pngread.c
  Added palette-index checking. Issue a png_warning() if an invalid index is
    found.

Version 1.5.10beta04 [March 10, 2012]
  Fixed PNG_LIBPNG_BUILD_BASE_TYPE definition.
  Fixed CMF optimization of non-IDAT compressed chunks, which was added at
    libpng-1.5.4.  It sometimes produced too small of a window.

Version 1.5.10beta05 [March 10, 2012]
  Reject all iCCP chunks after the first, even if the first one is invalid.
  Issue a png_benign_error() instead of png_warning() about bad palette index.
  Fixed an off-by-one error in the palette index checking function.
  Revised example.c to put text strings in a temporary character array
    instead of directly assigning string constants to png_textp members.
    This avoids compiler warnings when -Wwrite-strings is enabled.

Version 1.5.10 [March 29, 2012]
  Prevent PNG_EXPAND+PNG_SHIFT doing the shift twice.
  Revised png_set_text_2() to avoid potential memory corruption (fixes
    CVE-2011-3048).

Revision 1.147 / (download) - annotate - [select for diffs], Mon Feb 20 22:42:29 2012 UTC (8 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.146: +4 -1 lines
Diff to previous 1.146 (colored)

Set some defaults so that CVE-2011-3026 will not repeat,
following suggestions from upstream.
Bump PKGREVISION.

Revision 1.141.2.2 / (download) - annotate - [select for diffs], Sun Feb 19 13:56:36 2012 UTC (8 years, 10 months ago) by spz
Branch: pkgsrc-2011Q4
Changes since 1.141.2.1: +1 -1 lines
Diff to previous 1.141.2.1 (colored) to branchpoint 1.141 (colored) next main 1.142 (colored)

Pullup ticket #3687 - requested by tron
graphics/png: security update

Revisions pulled up:
- graphics/png/Makefile                                         1.144-1.146
- graphics/png/distinfo                                         1.91-1.93

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	drochner
   Date:		Sat Feb 18 15:16:59 UTC 2012

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo
   Added Files:
   	pkgsrc/graphics/png/patches: patch-CVE-2011-3026

   Log Message:
   fix possible buffer overflow due to integer overflow in malloc()
   size calculation (2011-3026), patch from Chromium via Redhat/Debian
   bump PKGREV


   To generate a diff of this commit:
   cvs rdiff -u -r1.143 -r1.144 pkgsrc/graphics/png/Makefile
   cvs rdiff -u -r1.90 -r1.91 pkgsrc/graphics/png/distinfo
   cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/png/patches/patch-CVE-2011-3026

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Sat Feb 18 15:42:57 UTC 2012

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo
   Removed Files:
   	pkgsrc/graphics/png/patches: patch-CVE-2011-3026

   Log Message:
   Update to 1.5.9rc01, which includes the official patch for CVE-2011-3026.

   Version 1.5.9beta01 [February 3, 2012]
     Rebuilt configure scripts in the tar distributions.

   Version 1.5.9beta02 [February 16, 2012]
     Removed two unused definitions from scripts/pnglibconf.h.prebuilt
     Removed some unused arrays (with #ifdef) from png_read_push_finish_row().
     Removed tests for no-longer-used *_EMPTY_PLTE_SUPPORTED from pngstruct.h

   Version 1.5.9rc01 [February 17, 2012]
     Fixed CVE-2011-3026 buffer overrun bug.  Deal more correctly with the test
       on iCCP chunk length. Also removed spurious casts that may hide problems
       on 16-bit systems.


   To generate a diff of this commit:
   cvs rdiff -u -r1.144 -r1.145 pkgsrc/graphics/png/Makefile
   cvs rdiff -u -r1.91 -r1.92 pkgsrc/graphics/png/distinfo
   cvs rdiff -u -r1.1 -r0 pkgsrc/graphics/png/patches/patch-CVE-2011-3026

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	tron
   Date:		Sun Feb 19 09:26:39 UTC 2012

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Update "libpng" package to version 1.5.9. There are no change since
   version 1.5.9rc01 except of the minor detail that you can actually
   fetch the distfile.


   To generate a diff of this commit:
   cvs rdiff -u -r1.145 -r1.146 pkgsrc/graphics/png/Makefile
   cvs rdiff -u -r1.92 -r1.93 pkgsrc/graphics/png/distinfo

Revision 1.146 / (download) - annotate - [select for diffs], Sun Feb 19 09:26:39 2012 UTC (8 years, 10 months ago) by tron
Branch: MAIN
Changes since 1.145: +2 -2 lines
Diff to previous 1.145 (colored)

Update "libpng" package to version 1.5.9. There are no change since
version 1.5.9rc01 except of the minor detail that you can actually
fetch the distfile.

Revision 1.145 / (download) - annotate - [select for diffs], Sat Feb 18 15:42:57 2012 UTC (8 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.144: +2 -3 lines
Diff to previous 1.144 (colored)

Update to 1.5.9rc01, which includes the official patch for CVE-2011-3026.

Version 1.5.9beta01 [February 3, 2012]
  Rebuilt configure scripts in the tar distributions.

Version 1.5.9beta02 [February 16, 2012]
  Removed two unused definitions from scripts/pnglibconf.h.prebuilt
  Removed some unused arrays (with #ifdef) from png_read_push_finish_row().
  Removed tests for no-longer-used *_EMPTY_PLTE_SUPPORTED from pngstruct.h

Version 1.5.9rc01 [February 17, 2012]
  Fixed CVE-2011-3026 buffer overrun bug.  Deal more correctly with the test
    on iCCP chunk length. Also removed spurious casts that may hide problems
    on 16-bit systems.

Revision 1.144 / (download) - annotate - [select for diffs], Sat Feb 18 15:16:59 2012 UTC (8 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.143: +2 -1 lines
Diff to previous 1.143 (colored)

fix possible buffer overflow due to integer overflow in malloc()
size calculation (2011-3026), patch from Chromium via Redhat/Debian
bump PKGREV

Revision 1.141.2.1 / (download) - annotate - [select for diffs], Sun Feb 5 22:56:27 2012 UTC (8 years, 11 months ago) by tron
Branch: pkgsrc-2011Q4
Changes since 1.141: +2 -2 lines
Diff to previous 1.141 (colored)

Pullup ticket #3674 - requested by pettai
graphics/png: security update

Revisions pulled up:
- graphics/png/Makefile                                         1.143
- graphics/png/distinfo                                         1.90

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Wed Feb  1 23:05:19 UTC 2012

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Update to 1.5.8:

   Version 1.5.8beta01 [January 15, 2011]
    Removed '#include config.h"' from contrib/libtests/pngvalid.c.  It's not
      needed and causes trouble for VPATH building.
    Moved AC_MSG_CHECKING([if libraries can be versioned]) later to the proper
      location in configure.ac (Gilles Espinasse).
    Fix bug in pngerror.c: some long warnings were being improperly truncated
      (bug introduced in libpng-1.5.3beta05).

   Version 1.5.8rc01 [January 21, 2012]
    No changes.

   Version 1.5.8rc02 [January 25, 2012]
    Fixed Min/GW uninstall to remove libpng.dll.a
    Conditionalize the install rules for MINGW and CYGWIN in CMakeLists.txt

Revision 1.143 / (download) - annotate - [select for diffs], Wed Feb 1 23:05:19 2012 UTC (8 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.142: +2 -2 lines
Diff to previous 1.142 (colored)

Update to 1.5.8:

Version 1.5.8beta01 [January 15, 2011]
  Removed '#include config.h"' from contrib/libtests/pngvalid.c.  It's not
    needed and causes trouble for VPATH building.
  Moved AC_MSG_CHECKING([if libraries can be versioned]) later to the proper
    location in configure.ac (Gilles Espinasse).
  Fix bug in pngerror.c: some long warnings were being improperly truncated
    (bug introduced in libpng-1.5.3beta05).

Version 1.5.8rc01 [January 21, 2012]
  No changes.

Version 1.5.8rc02 [January 25, 2012]
  Fixed Min/GW uninstall to remove libpng.dll.a
  Conditionalize the install rules for MINGW and CYGWIN in CMakeLists.txt

Revision 1.142 / (download) - annotate - [select for diffs], Mon Jan 30 13:18:53 2012 UTC (8 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.141: +2 -2 lines
Diff to previous 1.141 (colored)

png uses zlib license, just with very many (co)authors.
Set it, and remove separate png-license file.
Ok troxel

Revision 1.141 / (download) - annotate - [select for diffs], Thu Dec 15 17:16:26 2011 UTC (9 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base
Branch point for: pkgsrc-2011Q4
Changes since 1.140: +2 -2 lines
Diff to previous 1.140 (colored)

Update png to 1.5.7:

Changes since the last public release (1.5.6):
  Added support for ARM processor (Mans Rullgard)
  Fixed bug in pngvalid on early allocation failure; fixed type cast in
    pngmem.c; pngvalid would attempt to call png_error() if the allocation
    of a png_struct or png_info failed. This would probably have led to a
    crash.  The pngmem.c implementation of png_malloc() included a cast
    to png_size_t which would fail on large allocations on 16-bit systems.
  Fix for the preprocessor of the Intel C compiler. The preprocessor
    splits adjacent @ signs with a space; this changes the concatentation
    token from @-@-@ to PNG_JOIN; that should work with all compiler
    preprocessors.
  Paeth filter speed improvements from work by Siarhei Siamashka. This
    changes the 'Paeth' reconstruction function to improve the GCC code
    generation on x86. The changes are only part of the suggested ones;
    just the changes that definitely improve speed and remain simple.
    The changes also slightly increase the clarity of the code.
  Check compression_type parameter in png_get_iCCP and remove spurious
    casts. The compression_type parameter is always assigned to, so must
    be non-NULL. The cast of the profile length potentially truncated the
    value unnecessarily on a 16-bit int system, so the cast of the (byte)
    compression type to (int) is specified by ANSI-C anyway.
  Fixed FP division by zero in pngvalid.c; the 'test_pixel' code left
    the sBIT fields in the test pixel as 0, which resulted in a floating
    point division by zero which was irrelevant but causes systems where
    FP exceptions cause a crash. Added code to pngvalid to turn on FP
    exceptions if the appropriate glibc support is there to ensure this is
    tested in the future.
  Added versioning to pnglibconf.h comments.
  Installed more accurate linear to sRGB conversion tables. The slightly
    modified tables reduce the number of 16-bit values that
    convert to an off-by-one 8-bit value.  The "makesRGB.c" code that was used
    to generate the tables is now in a contrib/sRGBtables sub-directory.
  Added run-time detection of NEON support.
  Multiple transform bug fixes plus a work-round for double gamma correction.
    libpng does not support more than one transform that requires linear data
    at once - if this is tried typically the results is double gamma
    correction. Since the simplified APIs can need rgb to gray combined with
    a compose operation it is necessary to do one of these outside the main
    libpng transform code. This check-in also contains fixes to various bugs
    in compose and rgb to gray (on palette).
  Fixes for C++ compilation using g++ When libpng source is compiled
    using g++. The compiler imposes C++ rules on the C source; thus it
    is desireable to make the source work with either C or C++ rules
    without throwing away useful error information.  This change adds
    png_voidcast to allow C semantic (void*) cases or the corresponding
    C++ static_cast operation, as appropriate.
  Added --noexecstack to assembler file compilation. GCC does not set
    this on assembler compilation, even though it does on C compilation.
    This creates security issues if assembler code is enabled; the
    work-around is to set it by default in the flags for $(CCAS)
  Removed "zTXt" from warning in generic chunk decompression function.
  Validate time settings passed to pngset() and png_convert_to_rfc1123()
    (Frank Busse).
  Added MINGW support to CMakeLists.txt
  Reject invalid compression flag or method when reading the iTXt chunk.
  Moved pngvalid.c into contrib/libtests
  Rebuilt Makefile.in, configure, etc., with autoconf-2.68
  Replaced an "#if" with "#ifdef" in pngrtran.c
  Revised #if PNG_DO_BC block in png.c (use #ifdef and add #else)
  Revised pngconf.h to use " __declspec(restrict)" only when MSC_VER >= 1400,
    as in libpng-1.5.4.
  Put CRLF line endings in the owatcom project files.
  Updated CMakeLists.txt to account for the relocation of pngvalid.c
  Minor fixes to pngvalid.c for gcc 4.6.2 compatibility to remove warnings
    reported by earlier versions.

Revision 1.140 / (download) - annotate - [select for diffs], Sun Nov 6 23:53:46 2011 UTC (9 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.139: +2 -2 lines
Diff to previous 1.139 (colored)

Update to 1.5.6, which integrated part of patch-aa (see beta04).

Version 1.5.6beta01 [September 22, 2011]
  Fixed some 64-bit type conversion warnings in pngrtran.c
  Moved row_info from png_struct to a local variable.
  The various interlace mask arrays have been made into arrays of
    bytes and made PNG_CONST and static (previously some arrays were
    marked PNG_CONST and some weren't).
  Additional checks have been added to the transform code to validate the
    pixel depths after the transforms on both read and write.
  Removed some redundant code from pngwrite.c, in png_destroy_write_struct().
  Changed chunk reading/writing code to use png_uint_32 instead of png_byte[4].
    This removes the need to allocate temporary strings for chunk names on
    the stack in the read/write code.  Unknown chunk handling still uses the
    string form because this is exposed in the API.

Version 1.5.6beta02 [September 26, 2011]
  Added a note in the manual the png_read_update_info() must be called only
    once with a particular info_ptr.
  Fixed a typo in the definition of the new PNG_STRING_FROM_CHUNK(s,c) macro.

Version 1.5.6beta03 [September 28, 2011]
  Revised test-pngtest.sh to report FAIL when pngtest fails.
  Added "--strict" option to pngtest, to report FAIL when the failure is
    only because the resulting valid files are different.
  Revised CMakeLists.txt to work with mingw and removed some material from
    CMakeLists.txt that is no longer useful in libpng-1.5.

Version 1.5.6beta04 [October 5, 2011]
  Fixed typo in Makefile.in and Makefile.am ("-M Wl" should be "-M -Wl")."

Version 1.5.6beta05 [October 12, 2011]
  Speed up png_combine_row() for interlaced images. This reduces the generality
    of the code, allowing it to be optimized for Adam7 interlace.  The masks
    passed to png_combine_row() are now generated internally, avoiding
    some code duplication and localizing the interlace handling somewhat.
  Align png_struct::row_buf - previously it was always unaligned, caused by
    a bug in the code that attempted to align it; the code needs to subtract
    one from the pointer to take account of the filter byte prepended to
    each row.
  Optimized png_combine_row() when rows are aligned. This gains a small
    percentage for 16-bit and 32-bit pixels in the typical case where the
    output row buffers are appropriately aligned. The optimization was not
    previously possible because the png_struct buffer was always misaligned.
  Fixed bug in png_write_chunk_header() debug print, introduced in 1.5.6beta01.

Version 1.5.6beta06 [October 17, 2011]
  Removed two redundant tests for unitialized row.
  Fixed a relatively harmless memory overwrite in compressed text writing
    with a 1 byte zlib buffer.
  Add ability to call png_read_update_info multiple times to pngvalid.c.
  Fixes for multiple calls to png_read_update_info. These fixes attend to
    most of the errors revealed in pngvalid, however doing the gamma work
    twice results in inaccuracies that can't be easily fixed.  There is now
    a warning in the code if this is going to happen.
  Turned on multiple png_read_update_info in pngvalid transform tests.
  Prevent libpng from overwriting unused bits at the end of the image when
    it is not byte aligned, while reading. Prior to libpng-1.5.6 libpng would
    overwrite the partial byte at the end of each row if the row width was not
    an exact multiple of 8 bits and the image is not interlaced.

Version 1.5.6beta07 [October 21, 2011]
  Made png_ptr->prev_row an aligned pointer into png_ptr->big_prev_row
    (Mans Rullgard).

Version 1.5.6rc01 [October 26, 2011]
  Changed misleading "Missing PLTE before cHRM" warning to "Out of place cHRM"

Version 1.5.6rc02 [October 27, 2011]
  Added LSR() macro to defend against buggy compilers that evaluate non-taken
    code branches and complain about out-of-range shifts.

Version 1.5.6rc03 [October 28, 2011]
  Renamed the LSR() macro to PNG_LSR() and added PNG_LSL() macro.
  Fixed compiler warnings with Intel and MSYS compilers. The logical shift
    fix for Microsoft Visual C is required by other compilers, so this
    enables that fix for all compilers when using compile-time constants.
    Under MSYS 'byte' is a name declared in a system header file, so we
    changed the name of a local variable to avoid the warnings that result.
  Added #define PNG_ALIGN_TYPE PNG_ALIGN_NONE to contrib/pngminim/*/pngusr.h

Version 1.5.6 [November 3, 2011]
  No changes.

Revision 1.139 / (download) - annotate - [select for diffs], Wed Sep 28 05:34:08 2011 UTC (9 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.138: +3 -2 lines
Diff to previous 1.138 (colored)

Update to 1.5.5 to fix CVE-2011-3328, requested by tron.

Version 1.5.5beta01 [July 13, 2011]
  Fixed some typos and made other minor changes in the manual.
  Updated contrib/pngminus/makefile.std (Samuli Souminen)

Version 1.5.5beta02 [July 14, 2011]
  Revised Makefile.am and Makefile.in to look in the right directory for
    pnglibconf.h.prebuilt

Version 1.5.5beta03 [July 27, 2011]
  Enabled compilation with g++ compiler.  This compiler does not recognize
    the file extension, so it always compiles with C++ rules.  Made minor
    changes to pngrutil.c to cast results where C++ expects it but C does not.
  Minor editing of libpng.3 and libpng-manual.txt.

Version 1.5.5beta04 [July 29, 2011]
  Revised CMakeLists.txt (Clifford Yapp)
  Updated commentary about the png_rgb_to_gray() default coefficients
    in the manual and in pngrtran.c

Version 1.5.5beta05 [August 17, 2011]
  Prevent unexpected API exports from non-libpng DLLs on Windows.  The "_DLL"
    is removed from the test of whether a DLL is being built (this erroneously
    caused the libpng APIs to be marked as DLL exports in static builds under
    Microsoft Visual Studio).  Almost all of the libpng building configuration
    is moved from pngconf.h to pngpriv.h, but PNG_DLL_EXPORT remains in
    pngconf.h, though, so that it is colocated with the import definition (it
    is no longer used anywhere in the installed headers).  The VStudio project
    definitions have been cleaned up: "_USRDLL" has been removed from the
    static library builds (this was incorrect), and PNG_USE_DLL has been added
    to pngvalid to test the functionality (pngtest does not supply it,
    deliberately).  The spurious "_EXPORTS" has been removed from the
    libpng build (all these errors were a result of copy/paste between project
    configurations.)
  Added new types and internal functions for CIE RGB end point handling to
    pngpriv.h (functions yet to be implemented).

Version 1.5.5beta06 [August 26, 2011]
  Ensure the CMAKE_LIBRARY_OUTPUT_DIRECTORY is set in CMakeLists.txt
    (Clifford Yap)
  Fixes to rgb_to_gray and cHRM XYZ APIs (John Bowler):
    The rgb_to_gray code had errors when combined with gamma correction.
    Some pixels were treated as true grey when they weren't and such pixels
    and true grey ones were not gamma corrected (the original value of the
    red component was used instead).  APIs to get and set cHRM using color
    space end points have been added and the rgb_to_gray code that defaults
    based on cHRM, and the divide-by-zero bug in png_handle_cHRM (CERT
    VU#477046, CVE-2011-3328, introduced in 1.5.4) have been corrected.
  A considerable number of tests has been added to pngvalid for the
    rgb_to_gray transform.
  Arithmetic errors in rgb_to_gray whereby the calculated gray value was
    truncated to the bit depth rather than rounded have been fixed except in
    the 8-bit non-gamma-corrected case (where consistency seems more important
    than correctness.)  The code still has considerable inaccuracies in the
    8-bit case because 8-bit linear arithmetic is used.

Version 1.5.5beta07 [September 7, 2011]
  Added "$(ARCH)" option to makefile.darwin
  Added SunOS support to configure.ac and Makefile.am
  Changed png_chunk_benign_error() to png_warning() in png.c, in
    png_XYZ_from_xy_checked().

Version 1.5.5beta08 [September 10, 2011]
  Fixed 64-bit compilation errors (gcc). The errors fixed relate
    to conditions where types that are 32 bits in the GCC 32-bit
    world (uLong and png_size_t) become 64 bits in the 64-bit
    world.  This produces potential truncation errors that the
    compiler correctly flags.
  Relocated new HAVE_SOLARIS_LD definition in configure.ac
  Constant changes for 64-bit compatibility (removal of L suffixes). The
    16-bit cases still use "L" as we don't have a 16-bit test system.

Version 1.5.5rc01 [September 17, 2011]
  Removed "L" suffixes from constants in pngpriv.h

Version 1.5.5 [September 22, 2011]
  No changes.

Revision 1.138 / (download) - annotate - [select for diffs], Fri Jul 8 17:47:58 2011 UTC (9 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.137: +2 -2 lines
Diff to previous 1.137 (colored)

Update to 1.5.4:

Version 1.5.3beta11 [June 11, 2011]
  Fixed png_handle_sCAL which is broken in 1.5; added sCAL to pngtest.png
  Revised documentation about png_set_user_limits() to say that it also affects
    png writing.
  Revised handling of png_set_user_limits() so that it can increase the
    limit beyond the PNG_USER_WIDTH|HEIGHT_MAX; previously it could only
    reduce it.
  Make the 16-to-8 scaling accurate. Dividing by 256 with no rounding is
    wrong (high by one) 25% of the time. Dividing by 257 with rounding is
    wrong in 128 out of 65536 cases. Getting the right answer all the time
    without division is easy.
  Added "_SUPPORTED" to the PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION macro.
  Added projects/owatcom, an IDE project for OpenWatcom to replace
    scripts/makefile.watcom.  This project works with OpenWatcom 1.9. The
    IDE autogenerates appropriate makefiles (libpng.mk) for batch processing.
    The project is configurable, unlike the Visual Studio project, so long
    as the developer has an awk.
  Changed png_set_gAMA to limit the gamma value range so that the inverse
    of the stored value cannot overflow the fixed point representation,
    and changed other things OpenWatcom warns about.
  Revised pngvalid.c to test PNG_ALPHA_MODE_SUPPORTED correctly. This allows
    pngvalid to build when ALPHA_MODE is not supported, which is required if
    it is to build on libpng 1.4.
  Removed string/memory macros that are no longer used and are not
    necessarily fully supportable, particularly png_strncpy and png_snprintf.
  Added log option to pngvalid.c and attempted to improve gamma messages.

Version 1.5.3 [omitted]
  People found the presence of a beta release following an rc release
    to be confusing; therefore we bump the version to libpng-1.5.4beta01
    and there will be no libpng-1.5.3 release.

Version 1.5.4beta01 [June 14, 2011]
  Made it possible to undefine PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED
    to get the same (inaccurate) output as libpng-1.5.2 and earlier.
  Moved definitions of PNG_HAVE_IHDR, PNG_AFTER_IDAT, and PNG_HAVE_PLTE
    outside of an unknown-chunk block in png.h because they are also
    needed for other uses.

Version 1.5.4beta02 [June 14, 2011]
  Fixed and clarified LEGACY 16-to-8 scaling code.
  Added png_set_chop_16() API, to match inaccurate results from previous
    libpng versions.
  Removed the ACCURATE and LEGACY options (they are no longer useable)
  Use the old scaling method for background if png_set_chop_16() was
    called.
  Made png_set_chop_16() API removeable by disabling PNG_CHOP_16_TO_8_SUPPORTED

Version 1.5.4beta03 [June 15, 2011]
  Fixed a problem in png_do_expand_palette() exposed by optimization in
    1.5.3beta06
  Also removed a spurious and confusing "trans" member ("trans") from png_info.
  The palette expand optimization prevented expansion to an intermediate RGBA
    form if tRNS was present but alpha was marked to be stripped; this exposed
    a check for tRNS in png_do_expand_palette() which is inconsistent with the
    code elsewhere in libpng.
  Correction to the expand_16 code; removed extra instance of
    png_set_scale_16_to_8 from pngpriv.h

Version 1.5.4beta04 [June 16, 2011]
  Added a missing "#ifdef PNG_READ_BACKGROUND_SUPPORTED/#endif" in pngrtran.c
  Added PNG_TRANSFORM_CHOP_16 to the high-level read transforms.
  Made PNG_READ_16_TO_8_ACCURATE_SCALE configurable again.  If this is
    not enabled, png_set_strip_16() and png_do_scale_16_to_8() aren't built.
  Revised contrib/visupng, gregbook, and pngminim to demonstrate chop_16_to_8

Version 1.5.4beta05 [June 16, 2011]
  Renamed png_set_strip_16() to png_set_scale_16() and renamed
    png_set_chop_16() to png_set_strip(16) in an attempt to minimize the
    behavior changes between libpng14 and libpng15.

Version 1.5.4beta06 [June 18, 2011]
  Fixed new bug that was causing both strip_16 and scale_16 to be applied.

Version 1.5.4beta07 [June 19, 2011]
  Fixed pngvalid, simplified macros, added checking for 0 in sCAL.
    The ACCURATE scale macro is no longer defined in 1.5 - call the
    png_scale_16_to_8 API.  Made sure that PNG_READ_16_TO_8 is still defined
    if the png_strip_16_to_8 API is present.  png_check_fp_number now
    maintains some state so that positive, negative and zero values are
    identified.  sCAL uses these to be strictly spec conformant.

Version 1.5.4beta08 [June 23, 2011]
  Fixed pngvalid if ACCURATE_SCALE is defined.
  Updated scripts/pnglibconf.h.prebuilt.

Version 1.5.4rc01 [June 30, 2011]
  Define PNG_ALLOCATED to "restrict" only if MSC_VER >= 1400.

Version 1.5.4 [July 7, 2011]
  no changes.

Revision 1.131.2.1 / (download) - annotate - [select for diffs], Wed Jun 8 09:49:24 2011 UTC (9 years, 7 months ago) by sbd
Branch: pkgsrc-2011Q1
Changes since 1.131: +2 -3 lines
Diff to previous 1.131 (colored) next main 1.132 (colored)

Pullup ticket #3449 - requested by wiz
graphics/png security update.

Revisions pulled up:
- graphics/png/Makefile                                         1.132-1.137
- graphics/png/distinfo                                         1.78-1.84
- graphics/png/patches/patch-pngconf.h                          0

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Tue Apr  5 12:47:56 UTC 2011

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo
   Removed Files:
   	pkgsrc/graphics/png/patches: patch-pngconf.h

   Log Message:
   Update to 1.5.2:

   Version 1.5.2beta01 [February 13, 2011]
     More -Wshadow fixes for older gcc compilers.  Older gcc versions apparently
       check formal parameters names in function declarations (as well as
       definitions) to see if they match a name in the global namespace.
     Revised PNG_EXPORTA macro to not use an empty parameter, to accommodate the
       old VisualC++ preprocessor.
     Turned on interlace handling in png_read_png().
     Fixed gcc pendantic warnings.
     Handle longjmp in Cygwin.
     Fixed png_get_current_row_number() in the interlaced case.
     Cleaned up ALPHA flags and transformations.
     Implemented expansion to 16 bits.

   Version 1.5.2beta02 [February 19, 2011]
     Fixed mistake in the descriptions of user read_transform and write_transform
       function prototypes in the manual.  The row_info struct is png_row_infop.
     Reverted png_get_current_row_number() to previous (1.5.2beta01) behavior.
     Corrected png_get_current_row_number documentation
     Fixed the read/write row callback documentation.
       This documents the current behavior, where the callback is called after
       every row with information pertaining to the next row.

   Version 1.5.2beta03 [March 3, 2011]
     Fixed scripts/makefile.vcwin32
     Updated contrib/pngsuite/README to add the word "modify".
     Define PNG_ALLOCATED to blank when _MSC_VER<1300.

   Version 1.5.2rc01 [March 19, 2011]
     Define remaining attributes to blank when MSC_VER<1300.
     ifdef out mask arrays in pngread.c when interlacing is not supported.

   Version 1.5.2rc02 [March 22, 2011]
     Added a hint to try CPP=/bin/cpp if "cpp -E" fails in scripts/pnglibconf.mak
       and in contrib/pngminim/*/makefile, eg., on SunOS 5.10, and removed "strip"
       from the makefiles.
     Fixed a bug (present since libpng-1.0.7) that makes png_handle_sPLT() fail
       to compile when PNG_NO_POINTER_INDEXING is defined (Chubanov Kirill)

   Version 1.5.2rc03 [March 24, 2011]
     Don't include standard header files in png.h while building the symbol table,
       to avoid cpp failure on SunOS (introduced PNG_BUILDING_SYMBOL_TABLE macro).

   Version 1.5.2 [March 31, 2011]

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Tue May  3 09:07:35 UTC 2011

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Update to 1.5.3beta04 to fix a regression reported on tech-pkg (see beta03,
   last entry).

   Version 1.5.3beta01 [April 1, 2011]
     Re-initialize the zlib compressor before compressing non-IDAT chunks.
     Added API functions to set parameters for zlib compression of non-IDAT
       chunks.

   Version 1.5.3beta02 [April 3, 2011]
     Updated scripts/symbols.def with new API functions.
     Only compile the new zlib re-initializing code when text or iCCP is
       supported, using PNG_WRITE_COMPRESSED_TEXT_SUPPORTED macro.
     Improved the optimization of the zlib CMF byte (see libpng-1.2.6beta03).
     Optimize the zlib CMF byte in non-IDAT compressed chunks

   Version 1.5.3beta03 [April 16, 2011]
     Fixed gcc -ansi -pedantic compile. A strict ANSI system does not have
       snprintf, and the "__STRICT_ANSI__" detects that condition more reliably
       than __STDC__ (John Bowler).
     Removed the PNG_PTR_NORETURN attribute because it too dangerous. It tells
       the compiler that a user supplied callback (the error handler) does not
       return, yet there is no guarantee in practice that the application code
       will correctly implement the error handler because the compiler only
       issues a warning if there is a mistake (John Bowler).
     Removed the no-longer-used PNG_DEPSTRUCT macro.
     Updated the zlib version to 1.2.5 in the VStudio project.
     Fixed 64-bit builds where png_uint_32 is smaller than png_size_t in
       pngwutil.c (John Bowler).
     Fixed bug with stripping the filler or alpha channel when writing, that
       was introduced in libpng-1.5.2beta01 (bug report by Andrew Church).

   Version 1.5.3beta04 [April 27, 2011]
     Updated pngtest.png with the new zlib CMF optimization.
     Cleaned up conditional compilation code and of background/gamma handling
       Internal changes only except a new option to avoid compiling the
       png_build_grayscale_palette API (which is not used at all internally.)
       The main change is to move the transform tests (READ_TRANSFORMS,
       WRITE_TRANSFORMS) up one level to the caller of the APIs.  This avoids
       calls to spurious functions if all transforms are disabled and slightly
       simplifies those functions.  Pngvalid modified to handle this.
       A minor change is to stop the strip_16 and expand_16 interfaces from
       disabling each other; this allows the future alpha premultiplication
       code to use 16-bit intermediate values while still producing 8-bit output.
       png_do_background and png_do_gamma have been simplified to take a single
       pointer to the png_struct rather than pointers to every item required
       from the png_struct. This makes no practical difference to the internal
       code.
     A serious bug in the pngvalid internal routine 'standard_display_init' has
       been fixed - this failed to initialize the red channel and accidentally
       initialized the alpha channel twice.
     Changed png_struct jmp_buf member name from png_jmpbuf to tmp_jmpbuf to
       avoid a clash with the png_jmpbuf macro on some platforms.

---
   Module Name:	pkgsrc
   Committed By:	adam
   Date:		Fri May  6 07:19:23 UTC 2011

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   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.

---
   Module Name:	pkgsrc
   Committed By:	obache
   Date:		Sun May  8 06:02:43 UTC 2011

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Switch to use default EXTRACT_SUFX for distfile, .tar.gz is the only long term
   provided archive for libpng beta release.

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Sun May  8 09:09:20 UTC 2011

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Update to 1.5.3beta06:
   Version 1.5.3beta06 [May 8, 2011]
     Removed the -D_ALL_SOURCE from definitions for AIX in CMakeLists.txt
     Implemented premultiplied alpha support: png_set_alpha_mode API

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Sun May  8 09:11:08 UTC 2011

   Modified Files:
   	pkgsrc/graphics/png: distinfo

   Log Message:
   regen for targz change

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Wed Jun  8 06:58:59 UTC 2011

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Update to 1.5.3rc02 for a security fix.

   Version 1.5.3beta07 [May 11, 2011]
     Added expand_16 support to the high level interface.
     Added named value and 'flag' gamma support to png_set_gamma.  Made a minor
       change from the previous (unreleased) ABI/API to hide the exact value used
       for Macs - it's not a good idea to embed this in the ABI!
     Moved macro definitions for PNG_HAVE_IHDR, PNG_HAVE_PLTE, and PNG_AFTER_IDAT
       from pngpriv.h to png.h because they must be visible to applications
       that call png_set_unknown_chunks().
     Check for up->location !PNG_AFTER_IDAT when writing unknown chunks
       before IDAT.

   Version 1.5.3beta08 [May 16, 2011]
     Improved "pngvalid --speed" to exclude more of pngvalid from the time.
     Documented png_set_alpha_mode(), other changes in libpng.3/libpng-manual.txt
     The cHRM chunk now sets the defaults for png_set_rgb_to_gray() (when negative
       parameters are supplied by the caller), while in the absence of cHRM
       sRGB/Rec 709 values are still used.
     The bKGD chunk no longer overwrites the background value set by
       png_set_background(), allowing the latter to be used before the file
       header is read. It never performed any useful function to override
       the default anyway.
     Added memory overwrite and palette image checks to pngvalid.c
       Previously palette image code was poorly checked. Since the transformation
       code has a special palette path in most cases this was a severe weakness.
     Minor cleanup and some extra checking in pngrutil.c and pngrtran.c. When
       expanding an indexed image, always expand to RGBA if transparency is
       present.

   Version 1.5.3beta09 [May 17, 2011]
     Reversed earlier 1.5.3 change of transformation order; move png_expand_16
       back where it was.  The change doesn't work because it requires 16-bit
       gamma tables when the code only generates 8-bit ones.  This fails
       silently; the libpng code just doesn't do any gamma correction.  Moving
       the tests back leaves the old, inaccurate, 8-bit gamma calculations, but
       these are clearly better than none!

   Version 1.5.3beta10 [May 20, 2011]

     png_set_background() and png_expand_16() did not work together correctly.
       This problem is present in 1.5.2; if png_set_background is called with
       need_expand false and the matching 16 bit color libpng erroneously just
       treats it as an 8-bit color because of where png_do_expand_16 is in the
       transform list.  This simple fix reduces the supplied colour to 8-bits,
       so it gets smashed, but this is better than the current behavior.
     Added tests for expand16, more fixes for palette image tests to pngvalid.
       Corrects the code for palette image tests and disables attempts to
       validate palette colors.

   Version 1.5.3rc01 [June 3, 2011]
     No changes.

   Version 1.5.3rc02 [June 7, 2011]
     Fixed 1-byte uninitialized memory reference in png_format_buffer() (Bug
       report by Frank Busse, related to CVE-2004-0421).

Revision 1.137 / (download) - annotate - [select for diffs], Wed Jun 8 06:58:58 2011 UTC (9 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.136: +2 -2 lines
Diff to previous 1.136 (colored)

Update to 1.5.3rc02 for a security fix.

Version 1.5.3beta07 [May 11, 2011]
  Added expand_16 support to the high level interface.
  Added named value and 'flag' gamma support to png_set_gamma.  Made a minor
    change from the previous (unreleased) ABI/API to hide the exact value used
    for Macs - it's not a good idea to embed this in the ABI!
  Moved macro definitions for PNG_HAVE_IHDR, PNG_HAVE_PLTE, and PNG_AFTER_IDAT
    from pngpriv.h to png.h because they must be visible to applications
    that call png_set_unknown_chunks().
  Check for up->location !PNG_AFTER_IDAT when writing unknown chunks
    before IDAT.

Version 1.5.3beta08 [May 16, 2011]
  Improved "pngvalid --speed" to exclude more of pngvalid from the time.
  Documented png_set_alpha_mode(), other changes in libpng.3/libpng-manual.txt
  The cHRM chunk now sets the defaults for png_set_rgb_to_gray() (when negative
    parameters are supplied by the caller), while in the absence of cHRM
    sRGB/Rec 709 values are still used.
  The bKGD chunk no longer overwrites the background value set by
    png_set_background(), allowing the latter to be used before the file
    header is read. It never performed any useful function to override
    the default anyway.
  Added memory overwrite and palette image checks to pngvalid.c
    Previously palette image code was poorly checked. Since the transformation
    code has a special palette path in most cases this was a severe weakness.
  Minor cleanup and some extra checking in pngrutil.c and pngrtran.c. When
    expanding an indexed image, always expand to RGBA if transparency is
    present.

Version 1.5.3beta09 [May 17, 2011]
  Reversed earlier 1.5.3 change of transformation order; move png_expand_16
    back where it was.  The change doesn't work because it requires 16-bit
    gamma tables when the code only generates 8-bit ones.  This fails
    silently; the libpng code just doesn't do any gamma correction.  Moving
    the tests back leaves the old, inaccurate, 8-bit gamma calculations, but
    these are clearly better than none!

Version 1.5.3beta10 [May 20, 2011]

  png_set_background() and png_expand_16() did not work together correctly.
    This problem is present in 1.5.2; if png_set_background is called with
    need_expand false and the matching 16 bit color libpng erroneously just
    treats it as an 8-bit color because of where png_do_expand_16 is in the
    transform list.  This simple fix reduces the supplied colour to 8-bits,
    so it gets smashed, but this is better than the current behavior.
  Added tests for expand16, more fixes for palette image tests to pngvalid.
    Corrects the code for palette image tests and disables attempts to
    validate palette colors.

Version 1.5.3rc01 [June 3, 2011]
  No changes.

Version 1.5.3rc02 [June 7, 2011]
  Fixed 1-byte uninitialized memory reference in png_format_buffer() (Bug
    report by Frank Busse, related to CVE-2004-0421).

Revision 1.136 / (download) - annotate - [select for diffs], Sun May 8 09:09:20 2011 UTC (9 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.135: +2 -2 lines
Diff to previous 1.135 (colored)

Update to 1.5.3beta06:
Version 1.5.3beta06 [May 8, 2011]
  Removed the -D_ALL_SOURCE from definitions for AIX in CMakeLists.txt
  Implemented premultiplied alpha support: png_set_alpha_mode API

Revision 1.135 / (download) - annotate - [select for diffs], Sun May 8 06:02:43 2011 UTC (9 years, 8 months ago) by obache
Branch: MAIN
Changes since 1.134: +1 -2 lines
Diff to previous 1.134 (colored)

Switch to use default EXTRACT_SUFX for distfile, .tar.gz is the only long term
provided archive for libpng beta release.

Revision 1.134 / (download) - annotate - [select for diffs], Fri May 6 07:19:22 2011 UTC (9 years, 8 months ago) by adam
Branch: MAIN
Changes since 1.133: +2 -2 lines
Diff to previous 1.133 (colored)

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.

Revision 1.133 / (download) - annotate - [select for diffs], Tue May 3 09:07:35 2011 UTC (9 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.132: +2 -2 lines
Diff to previous 1.132 (colored)

Update to 1.5.3beta04 to fix a regression reported on tech-pkg (see beta03,
last entry).

Version 1.5.3beta01 [April 1, 2011]
  Re-initialize the zlib compressor before compressing non-IDAT chunks.
  Added API functions to set parameters for zlib compression of non-IDAT
    chunks.

Version 1.5.3beta02 [April 3, 2011]
  Updated scripts/symbols.def with new API functions.
  Only compile the new zlib re-initializing code when text or iCCP is
    supported, using PNG_WRITE_COMPRESSED_TEXT_SUPPORTED macro.
  Improved the optimization of the zlib CMF byte (see libpng-1.2.6beta03).
  Optimize the zlib CMF byte in non-IDAT compressed chunks

Version 1.5.3beta03 [April 16, 2011]
  Fixed gcc -ansi -pedantic compile. A strict ANSI system does not have
    snprintf, and the "__STRICT_ANSI__" detects that condition more reliably
    than __STDC__ (John Bowler).
  Removed the PNG_PTR_NORETURN attribute because it too dangerous. It tells
    the compiler that a user supplied callback (the error handler) does not
    return, yet there is no guarantee in practice that the application code
    will correctly implement the error handler because the compiler only
    issues a warning if there is a mistake (John Bowler).
  Removed the no-longer-used PNG_DEPSTRUCT macro.
  Updated the zlib version to 1.2.5 in the VStudio project.
  Fixed 64-bit builds where png_uint_32 is smaller than png_size_t in
    pngwutil.c (John Bowler).
  Fixed bug with stripping the filler or alpha channel when writing, that
    was introduced in libpng-1.5.2beta01 (bug report by Andrew Church).

Version 1.5.3beta04 [April 27, 2011]
  Updated pngtest.png with the new zlib CMF optimization.
  Cleaned up conditional compilation code and of background/gamma handling
    Internal changes only except a new option to avoid compiling the
    png_build_grayscale_palette API (which is not used at all internally.)
    The main change is to move the transform tests (READ_TRANSFORMS,
    WRITE_TRANSFORMS) up one level to the caller of the APIs.  This avoids
    calls to spurious functions if all transforms are disabled and slightly
    simplifies those functions.  Pngvalid modified to handle this.
    A minor change is to stop the strip_16 and expand_16 interfaces from
    disabling each other; this allows the future alpha premultiplication
    code to use 16-bit intermediate values while still producing 8-bit output.
    png_do_background and png_do_gamma have been simplified to take a single
    pointer to the png_struct rather than pointers to every item required
    from the png_struct. This makes no practical difference to the internal
    code.
  A serious bug in the pngvalid internal routine 'standard_display_init' has
    been fixed - this failed to initialize the red channel and accidentally
    initialized the alpha channel twice.
  Changed png_struct jmp_buf member name from png_jmpbuf to tmp_jmpbuf to
    avoid a clash with the png_jmpbuf macro on some platforms.

Revision 1.132 / (download) - annotate - [select for diffs], Tue Apr 5 12:47:56 2011 UTC (9 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.131: +2 -2 lines
Diff to previous 1.131 (colored)

Update to 1.5.2:

Version 1.5.2beta01 [February 13, 2011]
  More -Wshadow fixes for older gcc compilers.  Older gcc versions apparently
    check formal parameters names in function declarations (as well as
    definitions) to see if they match a name in the global namespace.
  Revised PNG_EXPORTA macro to not use an empty parameter, to accommodate the
    old VisualC++ preprocessor.
  Turned on interlace handling in png_read_png().
  Fixed gcc pendantic warnings.
  Handle longjmp in Cygwin.
  Fixed png_get_current_row_number() in the interlaced case.
  Cleaned up ALPHA flags and transformations.
  Implemented expansion to 16 bits.

Version 1.5.2beta02 [February 19, 2011]
  Fixed mistake in the descriptions of user read_transform and write_transform
    function prototypes in the manual.  The row_info struct is png_row_infop.
  Reverted png_get_current_row_number() to previous (1.5.2beta01) behavior.
  Corrected png_get_current_row_number documentation
  Fixed the read/write row callback documentation.
    This documents the current behavior, where the callback is called after
    every row with information pertaining to the next row.

Version 1.5.2beta03 [March 3, 2011]
  Fixed scripts/makefile.vcwin32
  Updated contrib/pngsuite/README to add the word "modify".
  Define PNG_ALLOCATED to blank when _MSC_VER<1300.

Version 1.5.2rc01 [March 19, 2011]
  Define remaining attributes to blank when MSC_VER<1300.
  ifdef out mask arrays in pngread.c when interlacing is not supported.

Version 1.5.2rc02 [March 22, 2011]
  Added a hint to try CPP=/bin/cpp if "cpp -E" fails in scripts/pnglibconf.mak
    and in contrib/pngminim/*/makefile, eg., on SunOS 5.10, and removed "strip"
    from the makefiles.
  Fixed a bug (present since libpng-1.0.7) that makes png_handle_sPLT() fail
    to compile when PNG_NO_POINTER_INDEXING is defined (Chubanov Kirill)

Version 1.5.2rc03 [March 24, 2011]
  Don't include standard header files in png.h while building the symbol table,
    to avoid cpp failure on SunOS (introduced PNG_BUILDING_SYMBOL_TABLE macro).

Version 1.5.2 [March 31, 2011]

Revision 1.131 / (download) - annotate - [select for diffs], Thu Feb 3 09:20:58 2011 UTC (9 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base
Branch point for: pkgsrc-2011Q1
Changes since 1.130: +2 -2 lines
Diff to previous 1.130 (colored)

Update to 1.5.1:

Version 1.5.1beta10 [January 27, 2010]
  Fixed incorrect examples of callback prototypes in the manual, that were
    introduced in libpng-1.0.0.
  In addition the order of the png_get_uint macros with respect to the
    relevant function definitions has been reversed.  This helps the
    preprocessing of the symbol files be more robust.  Furthermore, the
    symbol file preprocessing now uses -DPNG_NO_USE_READ_MACROS even when
    the library may actually be built with PNG_USE_READ_MACROS; this stops
    the read macros interfering with the symbol file format.
  Made the manual, synopses, and function prototypes use the function
    argument names file_gamma, int_file_gamma, and srgb_intent consistently.

Version 1.5.1beta11 [January 28, 2011]
  Changed PNG_UNUSED from "param=param;" to "{if(param){}}".
  Corrected local variable type in new API png_process_data_skip()
    The type was self-evidently incorrect but only causes problems on 64 bit
    architectures.
  Added transform tests to pngvalid and simplified the arguments.

Version 1.5.1rc01 [January 29, 2011]
  No changes.

Version 1.5.1rc02 [January 31, 2011]
  Added a request in the manual that applications do not use "png_" or
    "PNG_" to begin any of their own symbols.
  Changed PNG_UNUSED to "(void)param;" and updated the commentary in pngpriv.h

Version 1.5.1 [February 3, 2011]
  No changes.

Revision 1.130 / (download) - annotate - [select for diffs], Mon Jan 24 08:08:37 2011 UTC (9 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.129: +2 -2 lines
Diff to previous 1.129 (colored)

Changes 1.5.1beta09:
Enhanced pngvalid, corrected an error in gray_to_rgb, corrected doc error.
  pngvalid contains tests of transforms, which tests are currently disabled
  because they are incompletely tested.  gray_to_rgb was failing to expand
  the bit depth for smaller bit depth images; this seems to be a long
  standing error and resulted, apparently, in invalid output.  The
  documentation did not accurately describe what libpng really does when
  converting RGB to gray.

Revision 1.129 / (download) - annotate - [select for diffs], Sun Jan 23 11:24:54 2011 UTC (9 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.128: +2 -2 lines
Diff to previous 1.128 (colored)

Update to 1.5.1beta08. Integrates a better version of patch-ac and tries
to fix the Solaris build problem reported in PR 44428.

Version 1.5.1beta07 [January 22, 2011]
  In the manual, describe the png_get_IHDR() arguments in the correct order.
  Added const_png_structp and const_png_infop types, and used them in
    prototypes for most png_get_*() functions.

Version 1.5.1beta08 [January 23, 2011]
  Added png_get_io_chunk_type() and deprecated png_get_io_chunk_name()
  Added synopses for the IO_STATE functions and other missing synopses
    to the manual. Removed the synopses from libpngpf.3 because they
    were out of date and no longer useful.  Better information can be
    obtained by reading the prototypes and comments in pngpriv.h
  Attempted to fix cpp on Solaris with S. Studio 12 cc, fix build
    Added a make macro DFNCPP that is a CPP that will accept the tokens in
    a .dfn file and adds configure stuff to test for such a CPP.  ./configure
    should fail if one is not available.
  Corrected const_png_ in png.h to png_const_ to avoid polluting the namespace.
  Added png_get_current_row_number and png_get_current_pass_number for the
    benefit of the user transform callback.
  Added png_process_data_pause and png_process_data_skip for the benefit of
    progressive readers that need to stop data processing or want to optimize
    skipping of unread data (e.g., if the reader marks a chunk to be skipped.)

Revision 1.128 / (download) - annotate - [select for diffs], Fri Jan 21 23:42:17 2011 UTC (9 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.127: +2 -2 lines
Diff to previous 1.127 (colored)

Update to 1.5.1beta06:

Version 1.5.1beta02 [January 14, 2011]
  Fixed a bug in handling of interlaced images (bero at arklinux.org).
  Updated CMakeLists.txt (Clifford Yapp)

Version 1.5.1beta03 [January 14, 2011]
  Fixed typecasting of some png_debug() statements (Cosmin)

Version 1.5.1beta04 [January 16, 2011]
  Updated documentation of png_set|get_tRNS() (Thomas Klausner).
  Mentioned in the documentation that applications must #include "zlib.h"
    if they need access to anything in zlib.h, and that a number of
    macros such as png_memset() are no longer accessible by applications.
  Corrected pngvalid gamma test "sample" function to access all of the color
    samples of each pixel, instead of sampling the red channel three times.
  Prefixed variable names index, div, exp, gamma with "png_" to avoid "shadow"
    warnings, and (mistakenly) changed png_exp() to exp().

Version 1.5.1beta05 [January 16, 2011]
  Changed variable names png_index, png_div, png_exp, and png_gamma to
    char_index, divisor, exp_b10, and gamma_val, respectively, and
    changed exp() back to png_exp().

Version 1.5.1beta06 [January 20, 2011]
  Prevent png_push_crc_skip() from hanging while reading an unknown chunk
    or an over-large compressed zTXt chunk with the progressive reader.
  Eliminated more GCC "shadow" warnings.
  Revised png_fixed() in png.c to avoid compiler warning about reaching the
    end without returning anything.

Revision 1.127 / (download) - annotate - [select for diffs], Thu Jan 13 13:27:21 2011 UTC (10 years ago) by wiz
Branch: MAIN
Changes since 1.126: +3 -2 lines
Diff to previous 1.126 (colored)

Update to 1.5.1beta01:

1.5.1beta01 contains a security fix for 1.5.0.

The current public release, libpng 1.5.0, continues the evolution
of the libpng API, finally hiding the contents of the venerable
and hoary png_struct and png_info data structures inside private
(i.e., non-installed) header files. (Apps that compiled with libpng
1.4 without warnings about deprecated features should happily
compile with 1.5, too.) It also includes a new, more thorough test
program (pngvalid.c), a new pnglibconf.h header file that tracks
what features were enabled or disabled when libpng was built, and
huge thanks to John Bowler, who did most of the work. Complete
differences relative to libpng 1.4.x are detailed at
http://www.libpng.org/pub/png/src/libpng-1.4.x-to-1.5.x-summary.txt .

Since the shlib name changed, next up: PKGREVISION++ all across pkgsrc.

Revision 1.126 / (download) - annotate - [select for diffs], Fri Dec 10 12:37:26 2010 UTC (10 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4
Changes since 1.125: +2 -2 lines
Diff to previous 1.125 (colored)

Update to 1.4.5:

version 1.4.5beta01 [September 25, 2010]
  Fixed possible configure.ac bug introduced in version 1.4.4rc05.
  Rebuilt configure scripts with autoconf-2.68 instead of autoconf-2.65

version 1.4.5beta02 [October 5, 2010]
  Reverted configure scripts to autoconf-2.65
  Fixed problem with symbols creation in Makefile.am which was assuming that
    all versions of cpp write to standard output by default (Martin Banky). The
    bug was introduced in libpng-1.2.9beta5.

version 1.4.5beta03 [October 8, 2010]
  Wrapped long lines in CMakeLists.txt and introduced ${libpng_public_hdrs}
  Undid Makefile.am revision of 1.4.5beta02.

version 1.4.5beta04 [November 8, 2010]
  Check for out-of-range text compression mode in png_set_text().

version 1.4.5rc01 [November 19, 2010]
  No changes.

version 1.4.5beta05 [November 20, 2010]
  Revised png_get_uint_32, png_get_int_32, png_get_uint_16 (Cosmin)
  Moved reading of file signature into png_read_sig (Cosmin)
  Fixed atomicity of chunk header serialization (Cosmin)
  Added test for io_state in pngtest.c (Cosmin)
  Added "#!/bin/sh" at the top of contrib/pngminim/*/gather.sh scripts.

version 1.4.5beta06 [November 21, 2010]
  Restored the parentheses in pngrutil.c; they are needed when the
    png_get_*int_*() functions are compiled (i.e., when PNG_USE_READ_MACROS
    is not defined).
  Make the "png_get_uint_16" macro return a png_uint_32 in libpng-1.4 for API
    compatibility.
  Changes to remove gcc warnings (John Bowler)
    Certain optional gcc warning flags resulted in warnings in libpng code.
    With these changes only -Wconversion and -Wcast-qual cannot be turned on.
    Changes are trivial rearrangements of code.  -Wconversion is not possible
    for pngrutil.c (because of the widespread use of += et al on variables
    smaller than (int) or (unsigned int)) and -Wcast-qual is not possible
    with pngwio.c and pngwutil.c because the 'write' callback and zlib
    compression both fail to declare their input buffers with 'const'.

version 1.4.5beta07 [November 25, 2010]
  Reverted png_get_uint_16 macro to beta05 and added comment about the
    potential API incompatibility.

version 1.4.5rc02 [December 2, 2010]
  No changes.

version 1.4.5rc03 [December 3, 2010]
  Added missing vstudio/*/*.vcxproj files to the zip and 7z distributions.

version 1.4.5 [December 9, 2010]
  Removed PNG_NO_WRITE_GAMMA from pngminim/encoder/pngusr.h

Revision 1.125 / (download) - annotate - [select for diffs], Fri Sep 24 08:58:40 2010 UTC (10 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2010Q3-base, pkgsrc-2010Q3
Changes since 1.124: +2 -2 lines
Diff to previous 1.124 (colored)

Update to 1.4.4:

version 1.4.4beta01 [July 12, 2010]
  Removed extraneous new_push_process_row.c file.
  Revised the "SEE ALSO" style of libpng.3, libpngpf.3, and png.5
  Removed some newly-added TAB characters from pngpread.c.
  Fixed some indentation in pngpread.c and pngrutil.c
  Changed "extern PNG_EXPORT" to "PNG_EXPORT" in png.h (Jan Nijtmans)
  Changed "extern" to "PNG_EXTERN" in pngpriv.h (except for the 'extern "C" {')
  Put "#ifndef PNG_EXTERN, #endif" around "#define PNG_EXTERN" in pngpriv.h

version 1.4.4beta02 [July 24, 2010]
  Added -DNO_PNG_SNPRINTF to CFLAGS in scripts/makefile.dj2
  Moved the definition of png_snprintf() outside of the enclosing
    #ifdef blocks in pngconf.h
  Added a special case typedef of png_longjmp_ptr for WATCOM.

version 1.4.4beta03 [July 24, 2010]
  Removed reference to cbuilder5/* from Makefile.in and Makefile.am
  Eliminated the new special case typedef of png_longjmp_ptr for WATCOM
    and made a special case "#define PNGAPI" in pngconf.h instead.

version 1.4.4beta04 [July 31, 2010]
  Updated the read macros and functions from 1.5.0beta38.

version 1.4.4beta05 [August 6, 2010]
  Updated projects/visualc71 so it can find scripts/pnglibconf.h
  Removed unused png_mem_* defines from pngconf.h.
  Correct use of _WINDOWS_ in pngconf.h

version 1.4.4beta06 [August 11, 2010]
  Don't try to use version-script with cygwin/mingw.
  Revised contrib/gregbook to work under cygwin/mingw.

version 1.4.4beta07 [August 26, 2010]
  Updated prebuilt aclocal.m4 and ltmain.sh
  Add .dll.a to the list of extensions to be symlinked by Makefile.am (Yaakov)
  Updated CMakeLists.txt to use CMAKE_INSTALL_LIBDIR variable; useful for
    installing libpng in /usr/lib64 (Funda Wang).
  Revised CMakeLists.txt to put the man pages in share/man/man* not man/man*
  Revised CMakeLists.txt to make symlinks instead of copies when installing.
  Changed PNG_LIB_NAME from pngNN to libpngNN in CMakeLists.txt (Philip Lowman)
  Moved "#include pngusr.h" ahead of PNG_USER_PRIVATEBUILD test in pngconf.h
  Eliminated a deprecated reference to png_ptr->io_ptr in pngtest.c
  Eliminated new unnecessary #if tests regarding the sCAL chunk from pngrutil.c

version 1.4.4beta08 [September 2, 2010]
  Updated the xcode project to work with libpng-1.4.x and added iOS targets
    for simulator and device (Philippe Hausler).

version 1.4.4rc01 [September 10, 2010]
  No changes.

version 1.4.4rc02 [September 13, 2010]
  Revised CMakeLists.txt (Philip Lowman).

version 1.4.4rc03 [September 14, 2010]
  Removed an extraneous close-double-quote from CMakeLists.txt
  Eliminated another deprecated reference to png_ptr->io_ptr in pngtest.c

version 1.4.4rc04 [September 16, 2010]
  Fixed indentation and removed debugging message from CMakeLists.txt
  Revised autogen.sh to recognize and use $AUTOCONF, $AUTOMAKE, $AUTOHEADER,
    $AUTOPOINT, $ACLOCAL and $LIBTOOLIZE

version 1.4.4rc05 [September 20, 2010]
  Rebuilt configure scripts with automake-1.11.1 instead of automake-1.11.
  Removed unused mkinstalldirs file.

version 1.4.4 [September 23, 2010]
  No changes.

Revision 1.123.2.1 / (download) - annotate - [select for diffs], Sun Jul 4 07:17:05 2010 UTC (10 years, 6 months ago) by agc
Branch: pkgsrc-2010Q2
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored) next main 1.124 (colored)

Pullup previous changes on HEAD to pkgsrc-2010Q2 branch to fix branching
error, and to sync with reality.

Revision 1.124 / (download) - annotate - [select for diffs], Sat Jun 26 19:11:32 2010 UTC (10 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored)

Security update to 1.4.3:
Several versions of libpng through 1.4.2 (and through 1.2.43 in
the older series) contain a bug whereby progressive applications
such as web browsers (or the rpng2 demo app included in libpng)
could receive an extra row of image data beyond the height reported
in the header, potentially leading to an out-of-bounds write to
memory (depending on how the application is written) and the
possibility of execution of an attacker's code with the privileges
of the libpng user (including remote compromise in the case of a
libpng-based browser visiting a hostile web site). This vulnerability
has been assigned ID CVE-2010-1205  (via Mozilla).

An additional memory-leak bug, involving images with malformed sCAL
chunks, is also present; it could lead to an application crash
(denial of service) when viewing such images.

Both bugs are fixed in versions 1.4.3 and 1.2.44.

version 1.4.3beta01 [June 18, 2010]
  Added missing quotation marks in the aix block of configure.ac
  The new "vstudio" project was missing from the zip and 7z distributions.
  In pngpread.c: png_push_have_row() add check for new_row > height

version 1.4.3beta02 [June 18, 2010]
  Removed the now-redundant check for out-of-bounds new_row from example.c

version 1.4.3beta03 [June 18, 2010]
  In pngpread.c: png_push_finish_row() add check for too many rows.

version 1.4.3beta04 [June 19, 2010]
  In pngpread.c: png_push_process_row() add check for too many rows.
  Removed the checks added in beta01 and beta03, as they are now redundant.

version 1.4.3beta05 [June 20, 2010]
  Rewrote png_process_IDAT_data to consistently treat extra data as warnings
    and handle end conditions more cleanly.
  Removed the new (beta04) check in png_push_process_row().

version 1.4.3rc01 [June 21, 2010]
  Revised some comments in png_process_IDAT_data().

version 1.4.3rc02 [June 22, 2010]
  Changed char *msg to PNG_CONST char *msg in pngrutil.c
  Stop memory leak when reading a malformed sCAL chunk.
  Removed some trailing blanks.

version 1.4.3rc03 [June 23, 2010]
  Revised pngpread.c patch of beta05 to avoid an endless loop.

version 1.4.3 [June 26, 2010]
  Updated some of the "last changed" dates.

Revision 1.123 / (download) - annotate - [select for diffs], Sun Jun 13 22:42:10 2010 UTC (10 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base
Branch point for: pkgsrc-2010Q2
Changes since 1.122: +5 -5 lines
Diff to previous 1.122 (colored)

Update to 1.4.2. Shared library name changes from libpn12.* to libpng14.*,
so bump ABI depends.

Remove libpng.* from package, instead use buildlink to help some packages
that are looking for the library themselves instead of using pkg-config
or libpng-config.

Changes:

version 1.4.2:
  Restored the macro definition of png_check_sig().
  Conditionally compile an "else" statement in png_decompress_chunk().
  Documented the fact that png_set_dither() was disabled since libpng-1.4.0.
  Reenabled png_set_dither() but renamed it to png_set_quantize() to reflect
    more accurately what it actually does.  At the same time, renamed
    the PNG_DITHER_[RED,GREEN_BLUE]_BITS macros to
    PNG_QUANTIZE_[RED,GREEN,BLUE]_BITS.
  Added some "(long)" typecasts to printf calls in png_handle_cHRM().
  Relaxed the overly-restrictive permissions of some files.
  Added the "vstudio" project to replace "visualc6" and "visualc71" which
    will be removed from libpng-1.5.0.
  Demonstrate in example.c that lang_key should be initialized.
  Set PNG_NO_READ_BGR, PNG_NO_IO_STATE, and PNG_NO_TIME_RFC1123 in
    contrib/pngminim/decoder/pngusr.h to make a smaller decoder application.
  Include png_reset_zstream() in png.c only when PNG_READ_SUPPORTED is defined.
  Removed dummy_inflate.c and uncompr.c from contrib/pngminim/encoder
  Corrected PNG_UNKNOWN_CHUNKS_SUPPORTED to PNG_HANDLE_AS_UNKNOWN_SUPPORTED
    in gregbook/readpng2.c
  Corrected protection of png_get_user_transform_ptr. The API declaration in
    png.h is removed if both READ and WRITE USER_TRANSFORM are turned off
    but was left defined in pngtrans.c
  Moved declarations of umsg[] inside the proper #ifdef blocks in pngrutil.c

version 1.4.1 [February 25, 2010]

  Updated CMakeLists.txt for consistent indentation and to avoid an
    unclosed if-statement warning (Philip Lowman).
  Revised Makefile.am and Makefile.in to remove references to Y2KINFO,
    KNOWNBUG, and libpng.la (Robert Schwebel).
  Revised the makefiles to install the same files and symbolic
    except for libpng.la and libpng14.la.
  Make png_set|get_compression_buffer_size() available even when
    PNG_WRITE_SUPPORTED is not enabled.
  Revised Makefile.am and Makefile.in to simplify their maintenance.
  Revised the makefiles to install a link to libpng14.so.14.1
  Removed png_set_premultiply_alpha() from scripts/*.def
  Revised png_decompress_chunk() to improve speed and memory usage when
    decoding large chunks, using a two-pass method suggested by John Bowler.
  Added png_set|get_chunk_malloc_max() functions.
  Relocated "int k" declaration in pngtest.c to minimize its scope.
  Folded some long lines in the source files.
  Added defineable PNG_USER_CHUNK_CACHE_MAX and PNG_USER_CHUNK_MALLOC_MAX
  Eliminated use of png_ptr->irowbytes and reused the slot in png_ptr as
    png_ptr->png_user_chunk_malloc_max.
  Return allocated "old_buffer" in png_push_save_buffer() before calling
    png_error(), to avoid a potential memory leak.
  Removed the cbuilder5 project, which has not been updated to 1.4.0.
  Complete rewrite of two-pass png_decompress_chunk() by John Bowler.
  Removed obsolete unused MMX-querying support from contrib/gregbook
  Removed the AIX redefinition of jmpbuf in png.h
  Define _ALL_SOURCE in configure.ac, makefile.aix, and CMakeLists.txt
    when using AIX compiler.
  Removed unused gzio.c from contrib/pngminim gather and makefile scripts


Changes to Libpng from version 1.2.42 to 1.4.0 (January 4, 2010)

Libpng-1.4.0 was released by the PNG Development Group on January
3, 2010.  Important new features include support for the iTXt chunk
and a function for limiting the amount of memory that a possibly
malicious compressed chunk can consume.  Some long-deprecated functions
and features have been removed.  A new private header file that is
not visible to applications has been created, to improve our ability
to maintain binary compatibility among future libpng versions.

Specifically,

1. Private libpng prototypes and macro definitions were moved from
png.h and pngconf.h into a new pngpriv.h header file that is not
visible to applications.

2. Some obsolete/deprecated macros and functions have been removed.

   a. We eliminated the obsolete, unused pnggccrd.c and pngvcrd.c files
      and related makefiles.

   b. We removed the typecasted NULL definitions such as

          #define png_voidp_NULL    (png_voidp)NULL

      If you used these in your application, just use NULL instead.

   c. We eliminated the PNG_1_0_X and PNG_1_2_X macros.

   d. We eliminated the PNG_LEGACY_SUPPORTED macro.

   e. We removed many WIN32_WCE #ifdefs.

   f. We removed the functions png_read_init(info_ptr),
      png_write_init(info_ptr), png_info_init(info_ptr),
      png_read_destroy(), and png_write_destroy().
      They have been deprecated since libpng-0.95.

   g. We removed the png_permit_empty_plte() function. It has been
      deprecated since libpng-1.0.9.  Use png_permit_mng_features() instead.

   h. We removed the obsolete stub functions png_get_mmx_flagmask(),
      png_set_mmx_thresholds(), png_get_asm_flags(),
      png_get_mmx_bitdepth_threshold(), png_get_mmx_rowbytes_threshold(),
      png_set_asm_flags(), and png_mmx_supported()

   i. We removed the obsolete png_check_sig(), png_memcpy_check(), and
      png_memset_check() functions.  Instead use !png_sig_cmp(),
      png_memcpy(), and png_memset(), respectively, i.e.,

      replace
        png_check_sig(buf, 8)
      with
        png_sig_cmp(buf, 0, 8) == 0

      replace
        png_memcpy_check(png_ptr, dest, src, length)
      with
        png_memcpy(dest, src, length)

      and replace
        png_memset_check(png_ptr, dest, value, length)
      with
        png_memset(dest, value, length)

   j. We removed support for global arrays to improve thread safety.

   k. We removed support for numbered error messages by default, since we
      never got around to actually numbering the error messages. The function
      png_set_strip_error_numbers() was removed from the library by default.

   l. The png_zalloc() and png_zfree() functions are no longer exported.
      The png_zalloc() function no longer zeroes out the memory that it
      allocates.

   m. The function png_set_gray_1_2_4_to_8() was removed. It has been
      deprecated since libpng-1.0.18 and 1.2.9, when it was replaced with
      png_set_expand_gray_1_2_4_to_8() because the former function also
      expanded palette images.

3. Several function prototypes were changed.

   a. We changed the prototype for png_malloc() from
      png_malloc(png_structp png_ptr, png_uint_32 size) to
      png_malloc(png_structp png_ptr, png_alloc_size_t size)

   b. We changed the prototypes of png_get_compression_buffer_size() and
      png_set_compression_buffer_size() to work with png_size_t instead of
      png_uint_32.

4. We added some new features:

   a. We enabled iTXt chunk support by default.  This changes the png_text
      structure by adding the itxt_length, lang, and lang_key members.

   b. We added the functions png_set_benign_errors(), png_benign_error(),
      and png_chunk_benign_error().  With these, you can choose to treat
      certain normally fatal errors as nonfatal.

   c. Support for setting the maximum amount of memory that the application
      will allocate for reading chunks was added, as a security measure.
      The functions png_set_chunk_cache_max() and png_get_chunk_cache_max()
      were added to the library.

   d. We added the png_calloc() function and used it in place of
      of "png_malloc(); png_memset();" except in the case in png_read_png()
      where the array consists of pointers; in this case a "for" loop is used
      after the png_malloc() to set the pointers to NULL, to give robust.
      behavior in case the application runs out of memory part-way through
      the process.

   e. We implemented support for I/O states by adding png_ptr member io_state
      and functions png_get_io_chunk_name() and png_get_io_state() in pngget.c

   f. We added PNG_TRANSFORM_GRAY_TO_RGB to the available high-level
      input transforms.

5. Other changes

   a. We changed the names of the png_struct and info_struct members "trans"
      and "trans_values" to "trans_alpha" and "trans_color", respectively.

   b. Checking for and reporting of errors in the IHDR chunk is more thorough.

   c. We removed the trailing '.' from the warning and error messages.

   d. Direct access to png_ptr->jmpbuf has been deprecated since libpng
      version 1.0.6, and libpng now generates a warning about it.

      To avoid such warnings, change
        setjmp(png_ptr->jmpbuf)

      to
        setjmp(png_jmpbuf(png_ptr))

Revision 1.122 / (download) - annotate - [select for diffs], Tue Mar 9 08:41:15 2010 UTC (10 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.121: +2 -3 lines
Diff to previous 1.121 (colored)

Update to 1.2.43:

version 1.2.42beta01 [December 4, 2009]
  Removed "#define PNG_NO_ERROR_NUMBERS" that was inadvertently added
    to pngconf.h in version 1.2.41.
  Revised scripts/makefile.netbsd, makefile.openbsd, and makefile.sco
    to put png.h and pngconf.h in $prefix/include, like the other scripts,
    instead of in $prefix/include/libpng.  Also revised makefile.sco
    to put them in $prefix/include/libpng12 instead of in
    $prefix/include/libpng/libpng12.
  Removed leftover "-DPNG_CONFIGURE_LIBPNG" from scripts/makefile.darwin

version 1.2.42beta02 [December 11, 2009]
  Removed leftover "-DPNG_CONFIGURE_LIBPNG" from contrib/pngminim/*/makefile
  Relocated png_do_chop() to its original position in pngrtran.c. The
    change in version 1.2.41beta08 caused transparency to be handled wrong
    in some 16-bit datastreams (Yusaku Sugai).

version 1.2.42rc01 [December 17, 2009]
  No changes.

version 1.2.42rc02 [December 22, 2009]
  Renamed libpng-pc.in back to libpng.pc.in and revised CMakeLists.txt
    (revising changes made in 1.2.41beta17 and 1.2.41rc01)

version 1.2.42rc03 [December 25, 2009]
  Swapped PNG_UNKNOWN_CHUNKS_SUPPORTED and PNG_HANDLE_AS_UNKNOWN_SUPPORTED
    in pngset.c to be consistent with other changes in version 1.2.38.

version 1.2.42rc04 [January 1, 2010]
  Marked png_memcpy_check() and png_memset_check() PNG_DEPRECATED.
  Updated copyright year.

version 1.2.42rc05 [January 2, 2010]
  Avoid deprecated references to png_ptr-io_ptr and png_ptr->error_ptr
    in pngtest.c

version 1.2.42 and 1.0.52 [January 3, 2010]
  No changes.

version 1.2.43beta01 [January 27, 2010]
  Updated CMakeLists.txt for consistent indentation and to avoid an
    unclosed if-statement warning (Philip Lowman).
  Removed "#ifdef PNG_1_0_X / #endif" surrounding
    PNG_READ_16_TO_8_SUPPORTED and PNG_READ_GRAY_TO_RGB_SUPPORTED
    in pngconf.h.  These were added in libpng-1.2.41beta08 and libpng-1.0.51,
    which introduced a binary incompatibility with libpng-1.0.50.
  Backported new png_decompress_chunk() algorithm from libpng-1.4.1.

version 1.2.43beta02 [February 1, 2010]
  Backported two-pass png_decompress_chunk() algorithm from libpng-1.4.1.

version 1.2.43beta03 [February 6, 2010]
  Backported fast png_push_save_buffer() algorithm from libpng-1.4.1.
  Backported some cosmetic changes from libpng-1.4.1.

version 1.2.43beta04 [February 8, 2010]
  Reverted recent changes to png_push_save-buffer().
  Removed PNGAPI declaration of png_calloc() and png_write_sig() in
    1ibpng-1.2.X, introduced by mistake in libpng-1.2.41.
  Return allocated "old_buffer" in png_push_save_buffer() before png_error()
    to avoid a potential memory leak.

version 1.2.43beta05 [February 8, 2010]
  Ported rewritten png_decompress_chunk() by John Bowler from libpng-1.4.1.

version 1.0.53rc01 and 1.2.43rc01 [February 18, 2010]
  No changes.

version 1.0.53rc02 and 1.2.43rc02 [February 19, 2010]
  Define _ALL_SOURCE in configure.ac, makefile.aix, and CMakeLists.txt
    when using AIX compiler.

version 1.0.53 and 1.2.43 [February 25, 2010]
  Removed unused gzio.c from contrib/pngminim gather and makefile scripts

Revision 1.121 / (download) - annotate - [select for diffs], Thu Mar 4 10:13:16 2010 UTC (10 years, 10 months ago) by tnn
Branch: MAIN
Changes since 1.120: +2 -1 lines
Diff to previous 1.120 (colored)

"pkg-config --libs png" and  "libpng-config --libs" should
request -lz linkage. Bump PKGREVISION.

Revision 1.120 / (download) - annotate - [select for diffs], Fri Dec 4 00:02:07 2009 UTC (11 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4
Changes since 1.119: +2 -2 lines
Diff to previous 1.119 (colored)

Update to 1.2.41:

version 1.2.41beta01 [September 25, 2009]
  Moved redundant IHDR checking into new png_check_IHDR() in png.c
    and report all errors found in the IHDR data.
  Eliminated useless call to png_check_cHRM() from pngset.c
  Expanded TAB characters in pngrtran.c

version 1.2.41beta02 [September 30, 2009]
  Revised png_check_IHDR().

version 1.2.41beta03 [October 1, 2009]
  Revised png_check_IHDR() again, to check info_ptr members instead of
    the contents of the returned parameters.

version 1.2.41beta04 [October 7, 2009]
  Added "xcode" project similar one already in libpng-1.4.0beta (Alam Arias).
  Ported some cosmetic changes from libpng-1.4.0beta86.
  Eliminated a shadowed declaration of "pp" in png_handle_sPLT().

version 1.2.41beta05 [October 17, 2009]
  Revised pngconf.h to make it easier to enable iTXt support.  From libpng
    version 1.2.9 through 1.2.40, defining PNG_iTXt_SUPPORTED did not work
    as expected.
  Ported some cosmetic changes from libpng-1.4.0beta87, changing
    many "#if defined(x)" to "#ifdef x".

version 1.2.41beta06 [October 18, 2009]
  Restored PNG_USE_LOCAL_ARRAYS code in pngread.c that was inadvertently
    deleted in libpng-1.2.41beta05.
  Converted all PNG_NO_* tests to PNG_*_SUPPORTED everywhere except pngconf.h
    as in libpng-1.4.0beta78 and later.

version 1.2.41beta07 [October 21, 2009]
  Ported some cosmetic changes from libpng-1.4.0rc01, changing
    many "#if defined(x)" to "#ifdef x" in png.h and pngconf.h.

version 1.2.41beta08 [October 30, 2009]
  Ported from libpng-1.4.0rc01: png_calloc(), png_get_io_chunk_name(),
    png_get_io_state(), png_set_user_cache_max(), png_get_user_cache_max(),
    png_set_premultiply_alpha, and png_do_read_premultiply_alpha().
  Relocated png_do_chop() ahead of building gamma tables in pngrtran.c
    This avoids building 16-bit gamma tables unnecessarily.

version 1.2.41beta09 [November 1, 2009]
  Removed a harmless extra png_set_invert_alpha() from pngwrite.c
  More bugfixes and improvements to CMakeLists.txt (Philip Lowman)
  Moved CMakeLists.txt from scripts into the main libpng directory.
  Apply png_user_chunk_cache_max within png_decompress_chunk().
  Merged libpng-1.2.41.txt with libpng-1.4.0.txt where appropriate.

version 1.2.41beta10 [November 1, 2009]
  Enabled iTXt support by default. To ensure binary compatibility with
    previous versions, the "lang" and "lang_key" members will be assumed
    to be omitted from previous versions unless the current libpng
    version was built with PNG_iTXt_SUPPORTED (which is otherwise no
    longer necessary to gain iTXt support), as a signal that the user has
    been building previous versions with PNG_iTXt_SUPPORTED as well.

version 1.2.41beta11 [November 2, 2009]
  Store user's user_png_ver in new png_ptr->user_png_ver element.
  Revised iTXt support. To ensure binary compatibility with
    previous versions, the "lang" and "lang_key" members will be assumed
    to be omitted from versions prior to 1.2.41beta11 whenever there is a
    library mismatch.

version 1.2.41beta12 [November 2, 2009]
  Free png_ptr->user_png_ver when destroying png_ptr.

version 1.2.41beta13 [November 3, 2009]
  Updated scripts/pngw32.def and projects/wince/png32ce.def
  Copied projects/wince/png32ce.def to the scripts directory.
  Added scripts/makefile.wce
  Patched ltmain.sh for wince support.
  Added PNG_CONVERT_tIME_SUPPORTED macro.

version 1.2.41beta14 [November 8, 2009]
  versions 1.2.41beta05 through 1.2.41beta13 were abandoned.
  The 1.0.x/1.2.x series will only receive security updates from now on.
  Make inclusion of time.h in pngconf.h depend on PNG_CONVERT_tIME_SUPPORTED
  Make #define PNG_CONVERT_tIME_SUPPORTED depend on PNG_WRITE_tIME_SUPPORTED
  Reverted iTXt compatibility stuff from 1.2.41beta05, 1.2.41beta11, and
    1.2.41beta12.
  Reverted IOSTATE feature, user_cache_max, and premultiply_alpha features
    from 1.2.41beta08.
  Retained png_calloc() from 1.2.41beta08 but as a non-exported function,
    and removed reference to png_calloc from scripts/*.def

version 1.2.41beta15 [November 8, 2009]
  Added PNG_DEPSTRUCT, PNG_DEPRECATED, PNG_USE_RESULT, PNG_NORETURN, and
    PNG_ALLOCATED macros to detect deprecated direct access to the
    png_struct or info_struct members and other deprecated usage in
    applications (John Bowler).
  Updated scripts/makefile* to add "-DPNG_CONFIGURE_LIBPNG" to CFLAGS,
    to prevent warnings about direct access to png structs by libpng
    functions while building libpng.  They need to be tested, especially
    those using compilers other than gcc.
  Updated projects/visualc6 and visualc71 with "/d PNG_CONFIGURE_LIBPNG".

version 1.2.41beta16 [November 9, 2009]
  Removed three direct references to read_info_ptr members in pngtest.c
    that were detected by the new PNG_DEPSTRUCT macro.
  Only #define PNG_DEPSTRUCT, etc. in pngconf.h if not already defined.

version 1.2.41beta17 [November 10, 2009]
  Updated CMakeLists.txt to add "-DPNG_CONFIGURE_LIBPNG" to the definitions.
  Marked deprecated function prototypes with PNG_DEPRECATED.
  Marked memory allocation function prototypes with PNG_ALLOCATED.
  Changed png_check_sig() to !png_sig_cmp() in contrib programs.
  Corrected the png_get_IHDR() call in contrib/gregbook/readpng2.c
  Added "-DPNG_CONFIGURE_LIBPNG" to the contrib/pngminum makefiles.

version 1.2.41beta18 [November 11, 2009]
  Renamed scripts/makefile.wce to scripts/makefile.cegcc
  Marked nonexported functions with PNG_PRIVATE macro.

version 1.2.41rc01 and 1.0.51rc01 [November 18, 2009]
  Revised scripts/*.def to reflect functions actually exported by libpng.
  Updated the copyright year in scripts/pngw32.rc from 2004 to 2009.
  Moved descriptions of makefiles and other scripts out of INSTALL into
    scripts/README.txt

version 1.2.41rc02 [November 22, 2009]
  Rebuilt the configure scripts with autoconf-2.65

version 1.2.41rc03 [November 25, 2009]
  Disabled the new pedantic warnings about deprecated function use
    and deprecated structure access unless the user defines
    PNG_PEDANTIC_WARNINGS.
  Added "#define PNG_NO_PEDANTIC_WARNINGS" in the libpng source files.
  Removed "-DPNG_CONFIGURE_LIBPNG" from the makefiles and projects.

version 1.2.41 [December 3, 2009]
  Updated the list of files and made some cosmetic changes in README.

Revision 1.119 / (download) - annotate - [select for diffs], Thu Sep 10 17:52:31 2009 UTC (11 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2009Q3-base, pkgsrc-2009Q3
Changes since 1.118: +2 -2 lines
Diff to previous 1.118 (colored)

Update to 1.2.40:

version 1.2.40beta01 [August 20, 2009]
  Removed an extra png_debug() recently added to png_write_find_filter().
  Fixed incorrect #ifdef in pngset.c regarding unknown chunk support.

version 1.2.40rc01 [September 2, 2009]
  Various bugfixes and improvements to CMakeLists.txt (Philip Lowman)

version 1.2.40 and 1.0.49 [September 10, 2009]
  No changes.

Revision 1.118 / (download) - annotate - [select for diffs], Sun Aug 16 13:21:15 2009 UTC (11 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.117: +2 -2 lines
Diff to previous 1.117 (colored)

Use .tar.bz2 again, 112kb bigger (gz is 280kb bigger).

Revision 1.117 / (download) - annotate - [select for diffs], Sat Aug 15 17:29:18 2009 UTC (11 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.116: +3 -4 lines
Diff to previous 1.116 (colored)

Update to 1.2.39. Use .xz instead of .gz. (20% smaller)

version 1.2.39beta01 [July 25, 2009]
  Added a prototype for png_64bit_product() in png.c

version 1.2.39beta02 [July 27, 2009]
  Avoid a possible NULL dereference in debug build, in png_set_text_2().
    (bug introduced in libpng-0.95, discovered by Evan Rouault)

version 1.2.39beta03 [July 29, 2009]
  Relocated new png_64_bit_product() prototype into png.h
  Expanded the information about prototypes in the libpng style section of
    the documentation.
  Rebuilt configure scripts with autoconf-2.64.

version 1.2.39beta04 [August 1, 2009]
  Replaced *.tar.lzma with *.txz in distribution.  Get the xz codec
    from <http://tukaani.org/xz>.

version 1.2.39beta05 [August 1, 2009]
  Reject attempt to write iCCP chunk with negative embedded profile length
    (JD Chen)

version 1.2.39c01 [August 6, 2009]
  No changes.

version 1.2.39 and 1.0.48 [August 13, 2009]
  No changes.

Revision 1.116 / (download) - annotate - [select for diffs], Sun Aug 2 17:31:46 2009 UTC (11 years, 5 months ago) by tnn
Branch: MAIN
Changes since 1.115: +5 -4 lines
Diff to previous 1.115 (colored)

Make sure "pkg-config --libs libpng" emits a run path.
Bump revision.

Revision 1.115 / (download) - annotate - [select for diffs], Fri Jul 17 20:16:22 2009 UTC (11 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.114: +2 -2 lines
Diff to previous 1.114 (colored)

Update to 1.2.38:

version 1.2.38beta01 [June 17, 2009]
  Revised libpng*.txt and libpng.3 to mention calling png_set_IHDR()
    multiple times and to specify the sample order in the tRNS chunk,
    because the ISO PNG specification has a typo in the tRNS table.
  Changed several PNG_UNKNOWN_CHUNK_SUPPORTED to
    PNG_HANDLE_AS_UNKNOWN_SUPPORTED, to make the png_set_keep mechanism
    available for ignoring known chunks even when not saving unknown chunks.
  Adopted preference for consistent use of "#ifdef" and "#ifndef" versus
    "#if defined()" and "if !defined()" where possible.
  Added PNG_NO_HANDLE_AS_UNKNOWN in the PNG_LEGACY_SUPPORTED block of
    pngconf.h, and moved the various unknown chunk macro definitions
    outside of the PNG_READ|WRITE_ANCILLARY_CHUNK_SUPPORTED blocks.

version 1.2.38rc01 [June 24, 2009]
  No changes.

version 1.2.38rc02 [June 29, 2009]
  Added a reference to the libpng license in each source file.

version 1.2.38rc03 [July 11, 2009]
  Revised references to the libpng license in pngconf.h and contrib/visupng
    source files.
  Rebuilt configure scripts with autoconf-2.63.

version 1.0.47 and 1.2.38 [July 16, 2009]
  No changes.

Revision 1.112.2.2 / (download) - annotate - [select for diffs], Sun Jun 7 08:08:58 2009 UTC (11 years, 7 months ago) by spz
Branch: pkgsrc-2009Q1
Changes since 1.112.2.1: +2 -2 lines
Diff to previous 1.112.2.1 (colored) to branchpoint 1.112 (colored) next main 1.113 (colored)

Pullup ticket 2788 second part - requested by wiz
Security update

Revisions pulled up:
- pkgsrc/graphics/png/Makefile			1.114
- pkgsrc/graphics/png/distinfo			1.58

   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Sat Jun  6 20:56:16 UTC 2009

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Update to 1.2.37:

   version 1.2.37beta01 [May 14, 2009]
     Fixed inconsistency in pngrutil.c, introduced in libpng-1.2.36.  The
       memset() was using "png_ptr->rowbytes" instead of "row_bytes", which
       the corresponding png_malloc() uses (Joe Drew).
     Clarified usage of sig_bit versus sig_bit_p in example.c (Vincent Torri)
     Updated some of the makefiles in the scripts directory (merged with
       those in libpng-1.4.0beta57).

   version 1.2.37beta02 [May 19, 2009]
     Fixed typo in libpng documentation (FILTER_AVE should be FILTER_AVG)
     Relocated misplaced #endif in pngwrite.c, sCAL chunk handler.
     Conditionally compile png_read_finish_row() which is not used by
       progressive readers.
     Added contrib/pngminim/preader to demonstrate building minimal progressive
       decoder, based on contrib/gregbook with embedded libpng and zlib.

   version 1.2.37beta03 [May 20, 2009]
     In contrib/pngminim/*, renamed "makefile.std" to "makefile", since there
       is only one makefile in those directories, and revised the README files
       accordingly.
     Reformated sources in libpng style (3-space indentation, comment format)

   version 1.2.37rc01 [May 27, 2009]
     No changes.

   versions 1.2.37 and 1.0.45 [June 4, 2009]
     Reformatted several remaining "else statement;" and "if () statment;" into
       two lines.
     Added "#define PNG_NO_WRITE_SWAP" to contrib/pngminim/encoder/pngusr.h
       and "define PNG_NO_READ_SWAP" to decoder/pngusr.h and preader/pngusr.h
     Added sections about the git repository and our coding style to the
       documentation (merged from libpng-1.4.0beta62)
     Added a section about using png_get_io_ptr() in configure scripts to detect
       the presence of libpng.


   To generate a diff of this commit:
   cvs rdiff -u -r1.113 -r1.114 pkgsrc/graphics/png/Makefile
   cvs rdiff -u -r1.57 -r1.58 pkgsrc/graphics/png/distinfo

Revision 1.112.2.1 / (download) - annotate - [select for diffs], Sun Jun 7 07:59:25 2009 UTC (11 years, 7 months ago) by spz
Branch: pkgsrc-2009Q1
Changes since 1.112: +2 -2 lines
Diff to previous 1.112 (colored)

Pullup ticket 2788 - requested by wiz
Security update

Revisions pulled up:
- pkgsrc/graphics/png/Makefile			1.113
- pkgsrc/graphics/png/distinfo			1.57
- pkgsrc/graphics/png/patches/patch-ae		1.9

   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Wed May 13 09:56:05 UTC 2009

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo
   	pkgsrc/graphics/png/patches: patch-ae

   Log Message:
   Update to 1.2.36:

   version 1.2.36beta01 [February 28, 2009]
     Revised comments in png_set_read_fn() and png_set_write_fn().
     Revised order of #ifdef's and indentation in png_debug definitions of png.h
       bug introduced in libpng-1.2.34.

   version 1.2.36beta02 [March 21, 2009]
     Use png_memset() after png_malloc() of big_row_buf when reading an
       interlaced file, to avoid a possible UMR.
     Undid recent revision of PNG_NO_STDIO version of png_write_flush().  Users
       having trouble with fflush() can build with PNG_NO_WRITE_FLUSH defined.
     Revised libpng*.txt documentation about use of png_write_flush().
     Removed fflush() from pngtest.c.
     Added "#define PNG_NO_WRITE_FLUSH" to contrib/pngminim/encoder/pngusr.h

   version 1.2.36beta03 [March 27, 2009]
     Relocated misplaced PNG_1_0_X define in png.h that caused the prototype
       for png_set_strip_error_numbers() to be omitted from PNG_NO_ASSEMBLER_CODE
       builds.  This bug was introduced in libpng-1.2.15beta4.
     Added a section on differences between 1.0.x and 1.2.x to libpng.3/libpng.txt

   version 1.2.36beta04 [April 5, 2009]
     Fixed potential memory leak of "new_name" in png_write_iCCP() (Ralph Giles)

   version 1.2.36beta05 [April 24, 2009]
     Added "ifndef PNG_SKIP_SETJMP_CHECK" block in pngconf.h to allow
       application code writers to bypass the check for multiple inclusion
       of setjmp.h when they know that it is safe to ignore the situation.
     Made some cosmetic changes to whitespace in pngtest output.
     Renamed "user_chunk_data" to "my_user_chunk_data" in pngtest.c to suppress
       "shadowed declaration" warning from gcc-4.3.3.
     Renamed "gamma" to "png_gamma" in pngset.c to avoid "shadowed declaration"
       warning about a global "gamma" variable in math.h on some platforms.

   version 1.2.36rc01 [April 30, 2009]
     No changes.

   version 1.0.44 and 1.2.36 [May 7, 2009]
     No changes.


   To generate a diff of this commit:
   cvs rdiff -u -r1.112 -r1.113 pkgsrc/graphics/png/Makefile
   cvs rdiff -u -r1.56 -r1.57 pkgsrc/graphics/png/distinfo
   cvs rdiff -u -r1.8 -r1.9 pkgsrc/graphics/png/patches/patch-ae

Revision 1.114 / (download) - annotate - [select for diffs], Sat Jun 6 20:56:16 2009 UTC (11 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.113: +2 -2 lines
Diff to previous 1.113 (colored)

Update to 1.2.37:

version 1.2.37beta01 [May 14, 2009]
  Fixed inconsistency in pngrutil.c, introduced in libpng-1.2.36.  The
    memset() was using "png_ptr->rowbytes" instead of "row_bytes", which
    the corresponding png_malloc() uses (Joe Drew).
  Clarified usage of sig_bit versus sig_bit_p in example.c (Vincent Torri)
  Updated some of the makefiles in the scripts directory (merged with
    those in libpng-1.4.0beta57).

version 1.2.37beta02 [May 19, 2009]
  Fixed typo in libpng documentation (FILTER_AVE should be FILTER_AVG)
  Relocated misplaced #endif in pngwrite.c, sCAL chunk handler.
  Conditionally compile png_read_finish_row() which is not used by
    progressive readers.
  Added contrib/pngminim/preader to demonstrate building minimal progressive
    decoder, based on contrib/gregbook with embedded libpng and zlib.

version 1.2.37beta03 [May 20, 2009]
  In contrib/pngminim/*, renamed "makefile.std" to "makefile", since there
    is only one makefile in those directories, and revised the README files
    accordingly.
  Reformated sources in libpng style (3-space indentation, comment format)

version 1.2.37rc01 [May 27, 2009]
  No changes.

versions 1.2.37 and 1.0.45 [June 4, 2009]
  Reformatted several remaining "else statement;" and "if () statment;" into
    two lines.
  Added "#define PNG_NO_WRITE_SWAP" to contrib/pngminim/encoder/pngusr.h
    and "define PNG_NO_READ_SWAP" to decoder/pngusr.h and preader/pngusr.h
  Added sections about the git repository and our coding style to the
    documentation (merged from libpng-1.4.0beta62)
  Added a section about using png_get_io_ptr() in configure scripts to detect
    the presence of libpng.

Revision 1.113 / (download) - annotate - [select for diffs], Wed May 13 09:56:05 2009 UTC (11 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.112: +2 -2 lines
Diff to previous 1.112 (colored)

Update to 1.2.36:

version 1.2.36beta01 [February 28, 2009]
  Revised comments in png_set_read_fn() and png_set_write_fn().
  Revised order of #ifdef's and indentation in png_debug definitions of png.h
    bug introduced in libpng-1.2.34.

version 1.2.36beta02 [March 21, 2009]
  Use png_memset() after png_malloc() of big_row_buf when reading an
    interlaced file, to avoid a possible UMR.
  Undid recent revision of PNG_NO_STDIO version of png_write_flush().  Users
    having trouble with fflush() can build with PNG_NO_WRITE_FLUSH defined.
  Revised libpng*.txt documentation about use of png_write_flush().
  Removed fflush() from pngtest.c.
  Added "#define PNG_NO_WRITE_FLUSH" to contrib/pngminim/encoder/pngusr.h

version 1.2.36beta03 [March 27, 2009]
  Relocated misplaced PNG_1_0_X define in png.h that caused the prototype
    for png_set_strip_error_numbers() to be omitted from PNG_NO_ASSEMBLER_CODE
    builds.  This bug was introduced in libpng-1.2.15beta4.
  Added a section on differences between 1.0.x and 1.2.x to libpng.3/libpng.txt

version 1.2.36beta04 [April 5, 2009]
  Fixed potential memory leak of "new_name" in png_write_iCCP() (Ralph Giles)

version 1.2.36beta05 [April 24, 2009]
  Added "ifndef PNG_SKIP_SETJMP_CHECK" block in pngconf.h to allow
    application code writers to bypass the check for multiple inclusion
    of setjmp.h when they know that it is safe to ignore the situation.
  Made some cosmetic changes to whitespace in pngtest output.
  Renamed "user_chunk_data" to "my_user_chunk_data" in pngtest.c to suppress
    "shadowed declaration" warning from gcc-4.3.3.
  Renamed "gamma" to "png_gamma" in pngset.c to avoid "shadowed declaration"
    warning about a global "gamma" variable in math.h on some platforms.

version 1.2.36rc01 [April 30, 2009]
  No changes.

version 1.0.44 and 1.2.36 [May 7, 2009]
  No changes.

Revision 1.110.2.1 / (download) - annotate - [select for diffs], Sat Feb 21 12:52:34 2009 UTC (11 years, 10 months ago) by tron
Branch: pkgsrc-2008Q4
Changes since 1.110: +2 -2 lines
Diff to previous 1.110 (colored) next main 1.111 (colored)

Pullup ticket #2703 - requested by wiz
png: security update

Revisions pulled up:
- graphics/png/Makefile				1.111-1.112
- graphics/png/distinfo				1.55-1.56
---
Module Name:	pkgsrc
Committed By:	wiz
Date:		Mon Jan  5 20:22:26 UTC 2009

Modified Files:
	pkgsrc/graphics/png: Makefile distinfo

Log Message:
Update to 1.2.34:

version 1.2.34beta01 [November 27, 2008]
  Revised png_warning() to write its message on standard output by default
    when warning_fn is NULL. This was the behavior prior to libpng-1.2.9beta9.
  Fixed string vs pointer-to-string error in png_check_keyword().
  Added png_check_cHRM_fixed() in png.c and moved checking from pngget.c,
    pngrutil.c, and pngwrite.c, and eliminated floating point cHRM checking.
  Added check for zero-area RGB cHRM triangle in png_check_cHRM_fixed().
  In png_check_cHRM_fixed(), ensure white_y is > 0, and removed redundant
    check for all-zero coordinates that is detected by the triangle check.
  Revised png_warning() to write its message on standard output by default
    when warning_fn is NULL.

version 1.2.34beta02 [November 28, 2008]
  Corrected off-by-one error in bKGD validity check in png_write_bKGD()
    and in png_handle_bKGD().

version 1.2.34beta03 [December 1, 2008]
  Revised bKGD validity check to use >= x instead of > x + 1
  Merged with png_debug from libpng-1.4.0 to remove newlines.

version 1.2.34beta04 [December 2, 2008]
  More merging with png_debug from libpng-1.4.0 to remove newlines.

version 1.2.34beta05 [December 5, 2008]
  Removed redundant check for key==NULL before calling png_check_keyword()
    to ensure that new_key gets initialized and removed extra warning
    (Arvan Pritchard).

version 1.2.34beta06 [December 9, 2008]
  In png_write_png(), respect the placement of the filler bytes in an earlier
    call to png_set_filler() (Jim Barry).

version 1.2.34beta07 [December 9, 2008]
  Undid previous change and added PNG_TRANSFORM_STRIP_FILLER_BEFORE and
    PNG_TRANSFORM_STRIP_FILLER_AFTER conditionals and deprecated
    PNG_TRANSFORM_STRIP_FILLER (Jim Barry).

version 1.0.42rc01, 1.2.34rc01 [December 11, 2008]
  No changes.

version 1.0.42, 1.2.34 [December 18, 2008]
  No changes.
---
Module Name:	pkgsrc
Committed By:	drochner
Date:		Thu Feb 19 13:13:53 UTC 2009

Modified Files:
	pkgsrc/graphics/png: Makefile distinfo

Log Message:
update to 1.2.35
change: fix pointer initialization (SA33970)

Revision 1.112 / (download) - annotate - [select for diffs], Thu Feb 19 13:13:53 2009 UTC (11 years, 10 months ago) by drochner
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base
Branch point for: pkgsrc-2009Q1
Changes since 1.111: +2 -2 lines
Diff to previous 1.111 (colored)

update to 1.2.35
change: fix pointer initialization (SA33970)

Revision 1.111 / (download) - annotate - [select for diffs], Mon Jan 5 20:22:26 2009 UTC (12 years ago) by wiz
Branch: MAIN
Changes since 1.110: +2 -2 lines
Diff to previous 1.110 (colored)

Update to 1.2.34:

version 1.2.34beta01 [November 27, 2008]
  Revised png_warning() to write its message on standard output by default
    when warning_fn is NULL. This was the behavior prior to libpng-1.2.9beta9.
  Fixed string vs pointer-to-string error in png_check_keyword().
  Added png_check_cHRM_fixed() in png.c and moved checking from pngget.c,
    pngrutil.c, and pngwrite.c, and eliminated floating point cHRM checking.
  Added check for zero-area RGB cHRM triangle in png_check_cHRM_fixed().
  In png_check_cHRM_fixed(), ensure white_y is > 0, and removed redundant
    check for all-zero coordinates that is detected by the triangle check.
  Revised png_warning() to write its message on standard output by default
    when warning_fn is NULL.

version 1.2.34beta02 [November 28, 2008]
  Corrected off-by-one error in bKGD validity check in png_write_bKGD()
    and in png_handle_bKGD().

version 1.2.34beta03 [December 1, 2008]
  Revised bKGD validity check to use >= x instead of > x + 1
  Merged with png_debug from libpng-1.4.0 to remove newlines.

version 1.2.34beta04 [December 2, 2008]
  More merging with png_debug from libpng-1.4.0 to remove newlines.

version 1.2.34beta05 [December 5, 2008]
  Removed redundant check for key==NULL before calling png_check_keyword()
    to ensure that new_key gets initialized and removed extra warning
    (Arvan Pritchard).

version 1.2.34beta06 [December 9, 2008]
  In png_write_png(), respect the placement of the filler bytes in an earlier
    call to png_set_filler() (Jim Barry).

version 1.2.34beta07 [December 9, 2008]
  Undid previous change and added PNG_TRANSFORM_STRIP_FILLER_BEFORE and
    PNG_TRANSFORM_STRIP_FILLER_AFTER conditionals and deprecated
    PNG_TRANSFORM_STRIP_FILLER (Jim Barry).

version 1.0.42rc01, 1.2.34rc01 [December 11, 2008]
  No changes.

version 1.0.42, 1.2.34 [December 18, 2008]
  No changes.

Revision 1.110 / (download) - annotate - [select for diffs], Sat Nov 1 14:34:08 2008 UTC (12 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base
Branch point for: pkgsrc-2008Q4
Changes since 1.109: +2 -2 lines
Diff to previous 1.109 (colored)

Update to 1.2.33 release (from rc2), no changes.

Revision 1.107.4.1 / (download) - annotate - [select for diffs], Wed Oct 29 10:05:00 2008 UTC (12 years, 2 months ago) by rtr
Branch: pkgsrc-2008Q3
Changes since 1.107: +3 -3 lines
Diff to previous 1.107 (colored) next main 1.108 (colored)

pullup ticket #2561 - requested by wiz
png: update package for security fix

revisions pulled up:
pkgsrc/graphics/png/Makefile	1.108, 1.109
pkgsrc/graphics/png/distinfo	1.52, 1.53

   Module Name:    pkgsrc
   Committed By:   wiz
   Date:           Thu Oct  9 14:50:20 UTC 2008

   Modified Files:
           pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Update to 1.2.32, to get rid of the beta in the version:

   version 1.0.40, 1.2.32[September 18, 2008]
     No changes.

   ------------------------------------------------------------------------

   Module Name:    pkgsrc
   Committed By:   wiz
   Date:           Tue Oct 28 19:09:29 UTC 2008

   Modified Files:
           pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Update to 1.2.33rc02, fixing a security problem.

   version 1.2.33beta01 [October 6, 2008]
     Revised makefile.darwin to fix shared library numbering.
     Change png_set_gray_1_2_4_to_8() to png_set_expand_gray_1_2_4_to_8()
       in example.c (debian bug report)

   version 1.2.33rc01 [October 15, 2008]
     No changes.

   version 1.2.33rc02 [October 23, 2008]
     Changed remaining "key" to "png_ptr->chunkdata" in png_handle_tEXt()
       to avoid memory leak after memory failure while reading tEXt chunk.`

Revision 1.109 / (download) - annotate - [select for diffs], Tue Oct 28 19:09:29 2008 UTC (12 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.108: +3 -3 lines
Diff to previous 1.108 (colored)

Update to 1.2.33rc02, fixing a security problem.

version 1.2.33beta01 [October 6, 2008]
  Revised makefile.darwin to fix shared library numbering.
  Change png_set_gray_1_2_4_to_8() to png_set_expand_gray_1_2_4_to_8()
    in example.c (debian bug report)

version 1.2.33rc01 [October 15, 2008]
  No changes.

version 1.2.33rc02 [October 23, 2008]
  Changed remaining "key" to "png_ptr->chunkdata" in png_handle_tEXt()
    to avoid memory leak after memory failure while reading tEXt chunk.`

Revision 1.108 / (download) - annotate - [select for diffs], Thu Oct 9 14:50:20 2008 UTC (12 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.107: +2 -2 lines
Diff to previous 1.107 (colored)

Update to 1.2.32, to get rid of the beta in the version:

version 1.0.40, 1.2.32[September 18, 2008]
  No changes.

Revision 1.107 / (download) - annotate - [select for diffs], Wed Sep 10 16:18:00 2008 UTC (12 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, cube-native-xorg-base, cube-native-xorg
Branch point for: pkgsrc-2008Q3
Changes since 1.106: +2 -2 lines
Diff to previous 1.106 (colored)

Update to 1.2.32beta01:

  Shortened tIME_string to 29 bytes in pngtest.c
  Fixed off-by-one error introduced in in libpng-1.2.30beta04/pngpread.c

Revision 1.106 / (download) - annotate - [select for diffs], Sat Aug 23 10:23:40 2008 UTC (12 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.105: +2 -2 lines
Diff to previous 1.105 (colored)

Update to 1.2.31:

version 1.2.31rc01 [August 19, 2008]
  Removed extra crc check at the end of png_handle_cHRM().  Bug introduced
    in libpng-1.2.30beta03 (Heiko Nitzsche).

version 1.2.31rc02 [August 19, 2008]
  Added PNG_WRITE_FLUSH_SUPPORTED block around new png_flush() call.

version 1.2.31rc03 [August 19, 2008]
  Added PNG_WRITE_FLUSH_AFTER_IEND_SUPPORTED block, off by default, around
    new png_flush().

version 1.0.39, 1.2.31 [August 21, 2008]
  No changes.

Thanks to Rumko.

Revision 1.105 / (download) - annotate - [select for diffs], Sat Aug 16 18:53:07 2008 UTC (12 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored)

Update to 1.2.30:

version 1.2.30beta01 [May 29, 2008]
  Updated libpng.pc-configure.in and libpng-config.in per debian bug reports.

version 1.2.30beta02 [June 25, 2008]
  Restored png_flush(png_ptr) at the end of png_write_end(), that was
    removed from libpng-1.0.9beta03.

version 1.2.30beta03 [July 6, 2008]
  Merged some cosmetic whitespace changes from libpng-1.4.0beta19.
  Inline call of png_get_uint_32() in png_get_uint_31(), as in 1.4.0beta19.
  Added demo of decoding vpAg and sTER chunks to pngtest.c, from 1.4.0beta19.
  Changed PNGMAJ from 0 to 12 in makefile.darwin, which does not like 0.
  Added new private function png_read_chunk_header() from 1.4.0beta19.
  Merge reading of chunk length and chunk type into a single 8-byte read.
  Merge writing of chunk length and chunk type into a single 8-byte write.

version 1.2.30beta04 [July 10, 2008]
  Merged more cosmetic whitespace changes from libpng-1.4.0beta19.

version 1.0.38rc01, 1.2.30rc01 [August 15, 2008]
  No changes.

version 1.0.38rc02, 1.2.30rc02 [July 21, 2008]
  Moved local array "chunkdata" from pngrutil.c to the png_struct, so
    it will be freed by png_read_destroy() in case of a read error (Kurt
    Christensen).

version 1.0.38rc03, 1.2.30rc03 [July 21, 2008]
  Changed "purpose" and "buffer" to png_ptr->chunkdata to avoid memory leaking.

version 1.0.38rc04, 1.2.30rc04 [July 22, 2008]
  Changed "chunkdata = NULL" to "png_ptr->chunkdata = NULL" several places in
    png_decompress_chunk().

version 1.0.38rc05, 1.2.30rc05 [July 25, 2008]
  Changed all remaining "chunkdata" to "png_ptr->chunkdata" in
    png_decompress_chunk() and remove chunkdata from parameter list.
  Put a call to png_check_chunk_name() in png_read_chunk_header().
  Revised png_check_chunk_name() to reject a name with a lowercase 3rd byte.
  Removed two calls to png_check_chunk_name() occuring later in the process.

version 1.0.38rc06, 1.2.30rc06 [July 29, 2008]
  Added a call to png_check_chunk_name() in pngpread.c
  Reverted png_check_chunk_name() to accept a name with a lowercase 3rd byte.

version 1.0.38r07, 1.2.30r07 [August 2, 2008]
  Changed "-Wall" to "-W -Wall" in the CFLAGS in all makefiles (Cosmin Truta)
  Declared png_ptr "volatile" in pngread.c and pngwrite.c to avoid warnings.
  Added code in pngset.c to quiet compiler warnings.
  Updated contrib/visupng/cexcept.h to version 2.0.1
  Relocated a misplaced "#endif /* PNG_NO_WRITE_FILTER */" in pngwutil.c

version 1.0.38r08, 1.2.30r08 [August 2, 2008]
  Enclose "volatile" declarations in #ifdef PNG_SETJMP_SUPPORTED (Cosmin).

version 1.0.38, 1.2.30 [August 15, 2008]
  No changes.

Revision 1.104 / (download) - annotate - [select for diffs], Tue May 20 12:07:39 2008 UTC (12 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper
Changes since 1.103: +2 -2 lines
Diff to previous 1.103 (colored)

Update to 1.2.29:

version 1.2.27beta04 [April 18, 2008]
  Added AC_LIBTOOL_WIN32_DLL to configure.ac
  Rebuilt Makefile.in, aclocal.m4, and configure with autoconf-2.62

version 1.2.27beta05 [April 19, 2008]
  Added MAINTEINERCLEANFILES variable to Makefile.am

version 1.2.27beta06 [April 21, 2008]
  Avoid changing color_type from GRAY to RGB by
    png_set_expand_gray_1_2_4_to_8().

version 1.2.27rc01 [April 23, 2008]
  Fix broken URL for rfc2083 in png.5 and libpng-*.txt

version 1.0.33 and 1.2.27 [April 30, 2008]
  No changes.

version 1.0.34 and 1.2.28 [April 30, 2008]
  Rebuilt Makefile.in, aclocal.m4, and configure with autoconf-2.61
    due to backward incompatibilities.
  Removed a stray object file from contrib/gregbook

version 1.2.29beta01 [May 1, 2008]
  Removed some stray *.diff and *.orig files

version 1.2.29beta02 [May 1, 2008]
  Reverted Makefile.in, aclocal.m4, and configure to the libpng-1.2.26
    versions.

version 1.2.29beta03 [May 2, 2008]
  Added --force to autogen libtoolize options and --force-missing to
    automake options.
  Changed $(ECHO) to echo in Makefile.am and Makefile.in
  Updated all configure files to autoconf-2.62
  #ifdef out pnggcrd.c code if using MSC_VER

version 1.2.29rc01 [May 4, 2008]
  No changes.

version 1.0.35 and 1.2.29 [May 8, 2008]
  No changes.

Revision 1.101.2.1 / (download) - annotate - [select for diffs], Wed Apr 16 19:32:40 2008 UTC (12 years, 9 months ago) by ghen
Branch: pkgsrc-2008Q1
Changes since 1.101: +2 -2 lines
Diff to previous 1.101 (colored) next main 1.102 (colored)

Pullup ticket 2335 - requested by wiz
security update for png

- pkgsrc/graphics/png/Makefile				1.102, 1.103
- pkgsrc/graphics/png/distinfo				1.46, 1.47

   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Sun Apr 13 20:25:15 UTC 2008

   Modified Files:
	   pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Update to 1.2.26:

   version 1.2.26beta01 [February 21, 2008]
     Added missing "(" in pngmem.c.  Bug introduced in libpng-1.2.2/1.0.13

   version 1.2.26beta02 [March 12, 2008]
     Refined error message returned from deflateInit2 in pngwutil.c
     Check IHDR length in png_push_read_chunk() before saving it.

   version 1.2.26beta03 [March 16, 2008]
     Revised contrib/gregbook to handle premature end-of-file and file
       read errors correctly.

   version 1.2.26beta04 [March 18, 2008]
     Free png_ptr->big_row_buf and png_ptr->prev_row before allocating
       new copies in png_read_start_row().  Bug introduced in libpng-1.2.22.

   version 1.2.26beta05 [March 19, 2008]
     Removed extra png_free() added in libpng-1.2.26beta04.

   version 1.2.26beta06 [March 19, 2008]
     Avoid reallocating big_row_buf and prev_row when the size does not increase.

   version 1.2.26rc01 [April 2, 2008]
     Ifdef out some code that is unused when interlacing is not supported.
---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Tue Apr 15 13:26:14 UTC 2008

   Modified Files:
	   pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Update to 1.2.27beta3, fixing a possible application security problem.
   See http://libpng.sourceforge.net/Advisory-1.2.26.txt for details.

   Changes since 1.2.26:
   version 1.2.27beta01 [April 12, 2008]
     Fixed bug (introduced in libpng-1.0.5h) with handling zero-length
       unknown chunks.
     Added more information about png_set_keep_unknown_chunks() to the
       documetation.
     Reject tRNS chunk with out-of-range samples instead of masking off
       the invalid high bits as done in since libpng-1.2.19beta5.

   version 1.2.27beta02 [April 13, 2008]
     Revised documentation about unknown chunk and user chunk handling.
     Keep tRNS chunk with out-of-range samples and issue a png_warning().

   version 1.2.27beta03 [April 14, 2008]
     Added check for NULL ptr in TURBOC version of png_free_default().
     Removed several unnecessary checks for NULL before calling png_free().
     Revised png_set_tRNS() so that calling it twice removes and invalidates
       the previous call.
     Revised pngtest to check for out-of-range tRNS samples.

Revision 1.103 / (download) - annotate - [select for diffs], Tue Apr 15 13:26:14 2008 UTC (12 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored)

Update to 1.2.27beta3, fixing a possible application security problem.
See http://libpng.sourceforge.net/Advisory-1.2.26.txt for details.

Changes since 1.2.26:
version 1.2.27beta01 [April 12, 2008]
  Fixed bug (introduced in libpng-1.0.5h) with handling zero-length
    unknown chunks.
  Added more information about png_set_keep_unknown_chunks() to the
    documetation.
  Reject tRNS chunk with out-of-range samples instead of masking off
    the invalid high bits as done in since libpng-1.2.19beta5.

version 1.2.27beta02 [April 13, 2008]
  Revised documentation about unknown chunk and user chunk handling.
  Keep tRNS chunk with out-of-range samples and issue a png_warning().

version 1.2.27beta03 [April 14, 2008]
  Added check for NULL ptr in TURBOC version of png_free_default().
  Removed several unnecessary checks for NULL before calling png_free().
  Revised png_set_tRNS() so that calling it twice removes and invalidates
    the previous call.
  Revised pngtest to check for out-of-range tRNS samples.

Revision 1.102 / (download) - annotate - [select for diffs], Sun Apr 13 20:25:15 2008 UTC (12 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.101: +2 -2 lines
Diff to previous 1.101 (colored)

Update to 1.2.26:

version 1.2.26beta01 [February 21, 2008]
  Added missing "(" in pngmem.c.  Bug introduced in libpng-1.2.2/1.0.13

version 1.2.26beta02 [March 12, 2008]
  Refined error message returned from deflateInit2 in pngwutil.c
  Check IHDR length in png_push_read_chunk() before saving it.

version 1.2.26beta03 [March 16, 2008]
  Revised contrib/gregbook to handle premature end-of-file and file
    read errors correctly.

version 1.2.26beta04 [March 18, 2008]
  Free png_ptr->big_row_buf and png_ptr->prev_row before allocating
    new copies in png_read_start_row().  Bug introduced in libpng-1.2.22.

version 1.2.26beta05 [March 19, 2008]
  Removed extra png_free() added in libpng-1.2.26beta04.

version 1.2.26beta06 [March 19, 2008]
  Avoid reallocating big_row_buf and prev_row when the size does not increase.

version 1.2.26rc01 [April 2, 2008]
  Ifdef out some code that is unused when interlacing is not supported.

Revision 1.101 / (download) - annotate - [select for diffs], Thu Feb 28 19:55:42 2008 UTC (12 years, 10 months ago) by drochner
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base
Branch point for: pkgsrc-2008Q1
Changes since 1.100: +2 -2 lines
Diff to previous 1.100 (colored)

update to 1.2.25
changes: bugfixes

Revision 1.100 / (download) - annotate - [select for diffs], Sun Jan 13 15:40:13 2008 UTC (13 years ago) by wiz
Branch: MAIN
Changes since 1.99: +2 -2 lines
Diff to previous 1.99 (colored)

Update to 1.2.24:

version 1.2.24beta01 [November 19, 2007]
  Moved misplaced test for malloc failure in png_set_sPLT().  This bug was
    introduced in libpng-1.2.20beta01.
  Ifdef out avg_row etc from png.h and pngwrite.c when PNG_NO_WRITE_FILTER
  Do not use png_ptr->free_fn and png_ptr->mem_fn in png_destroy_read_struct()
    when png_ptr is NULL (Marshall Clow).
  Updated handling of symbol prefixes in Makefile.am and configure.ac (Mike
    Frysinger).

version 1.2.24beta02 [November 30, 2007]
  Removed a useless test and fixed incorrect test in png_set_cHRM_fixed()
    (David Hill).

version 1.2.24rc01 [December 7, 2007]
  No changes.

version 1.2.24     [December 14, 2007]
  Make sure not to redefine _BSD_SOURCE in pngconf.h
  Revised gather.sh and makefile.std in contrib/pngminim to avoid compiling
    unused files.

Revision 1.99 / (download) - annotate - [select for diffs], Wed Dec 12 20:43:06 2007 UTC (13 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4
Changes since 1.98: +2 -2 lines
Diff to previous 1.98 (colored)

Pick up maintainership.

Revision 1.98 / (download) - annotate - [select for diffs], Wed Dec 12 20:42:33 2007 UTC (13 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.97: +2 -2 lines
Diff to previous 1.97 (colored)

Reset maintainer on his request.

Revision 1.97 / (download) - annotate - [select for diffs], Sun Dec 2 12:10:17 2007 UTC (13 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.96: +1 -4 lines
Diff to previous 1.96 (colored)

Remove Ex-MASTER_SITEs. From Zafer Aydogan.

Revision 1.96 / (download) - annotate - [select for diffs], Sun Nov 11 19:08:11 2007 UTC (13 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.95: +2 -3 lines
Diff to previous 1.95 (colored)

Update to 1.2.23:

version 1.2.23beta01 [October 15, 2007]
  Reduced number of invocations of png_strlen() in pngset.c.
  Changed [azAZ09_] to [_abcde...89] in Makefile.am for better localization.

version 1.2.23beta02 [October 16, 2007]
  Eliminated png_strncpy() and png_strcpy() (Pierre Poissinger)
  Changed $AN to $(AN) in Makefile.am.

version 1.2.23beta03 [October 16, 2007]
  Fixed off-by-one error in pngset.c
  Restore statement to set last character of buffer to \0 in pngerror.c

version 1.2.23beta04 [October 23, 2007]
  Reject attempt to set all-zero cHRM values.

version 1.2.23beta05 [October 26, 2007]
  Add missing quotes in projects/visualc6, lost in version 1.2.20rc3

version 1.2.23rc01 [November 2, 2007]
  No changes.

version 1.2.23 [November 6, 2007]
  No changes.

Revision 1.95 / (download) - annotate - [select for diffs], Fri Oct 26 03:53:39 2007 UTC (13 years, 2 months ago) by bjs
Branch: MAIN
Changes since 1.94: +3 -2 lines
Diff to previous 1.94 (colored)


Add x86_64 to the list of architectures which don't require
-DPNG_NO_ASSEMBLER_CODE.  Bump rev.  I've tested png on NetBSD/amd64
with the assembler code and it seems no less functional than NetBSD/i386.

ok'd weeks ago (before freeze)--I forgot to commit it.

Revision 1.94 / (download) - annotate - [select for diffs], Wed Oct 17 20:45:47 2007 UTC (13 years, 3 months ago) by wiz
Branch: MAIN
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (colored)

Update to 1.2.22:

version 1.2.21beta1 [September 14, 2007]
  Fixed various mistakes reported by George Cook and Jeff Phillips:
  logical vs bitwise NOT in pngrtran.c, bug introduced in 1.2.19rc2
  16-bit cheap transparency expansion, bug introduced in 1.2.19beta2
  errors with sizeof(unknown_chunk.name), bugs introduced in 1.2.19beta11
  <= compare with unsigned var in pngset.c, should be ==.

version 1.2.21beta2 [September 18, 2007]
  Removed some extraneous typecasts.

version 1.2.21rc1 [September 25, 2007]
  Fixed potential out-of-bounds reads in png_handle_pCAL() and
    png_handle_ztXt() ("flayer" results reported by Tavis Ormandy).

version 1.2.21rc2 [September 26, 2007]
  Fixed potential out-of-bounds reads in png_handle_sCAL(),
    png_handle_iTXt(), and png_push_read_tEXt().
  Remove some PNG_CONST declarations from pngwutil.c to avoid compiler warnings
  Revised makefiles to update paths in libpng.pc properly.

version 1.2.21rc3 [September 27, 2007]
  Revised makefiles to update "Libs" in libpng.pc properly.

version 1.0.29 and 1.2.21 [October 4, 2007]
  No changes.

version 1.2.22beta1 [October 4, 2007]
  Again, fixed logical vs bitwise NOT in pngrtran.c, bug introduced
    in 1.2.19rc2

version 1.2.22beta2 [October 5, 2007]
  Fixed string length error in pngset.c (caused crashes while decoding iCCP)
  Add terminating NULL after each instance of png_strncpy().

version 1.2.22beta3 [October 6, 2007]
  Fix two off-by-one terminating NULL after png_strncpy().

version 1.2.22beta4 [October 7, 2007]
  Changed some 0 to '\0'.

version 1.0.30rc1 and 1.2.22rc1 [October 8, 2007]
  No changes.

version 1.0.30 and 1.2.22 [October 13, 2007]
  No changes.

Revision 1.93 / (download) - annotate - [select for diffs], Sun Sep 9 10:29:19 2007 UTC (13 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored)

Update to 1.2.20:

version 1.2.20beta01 [August 19, 2007]
  Fixed problem with compiling pnggccrd.c on Intel-Apple platforms.
  Added PNG_NO_ERROR_TEXT feature, with demo in contrib/pngminim
  Removed define PNG_WARN_UNINITIALIZED_ROW 1 /* 0: warning; 1: error */
    because it caused some trouble.

version 1.2.20beta02 [August 20, 2007]
  Avoid compiling pnggccrd.c on Intel-Apple platforms.

version 1.2.20beta03 [August 20, 2007]
  Added "/D PNG_NO_MMX_CODE" to the non-mmx builds of projects/visualc6
    and visualc71.

version 1.2.20beta04 [August 21, 2007]
  Revised pngvcrd.c for improved efficiency (Steve Snyder).

version 1.2.20rc1 [August 23, 2007]
  Revised pngconf.h to set PNG_NO_MMX_CODE for gcc-3.x compilers.

version 1.2.20rc2 [August 27, 2007]
  Revised scripts/CMakeLists.txt
  Revised #ifdefs to ensure one and only one of pnggccrd.c, pngvcrd.c,
    or part of pngrutil.c is selected.

version 1.2.20rc3 [August 30, 2007]
  Remove a little more code in pngwutil.c when PNG_NO_WRITE_FILTER is selected.
  Added /D _CRT_SECURE_NO_WARNINGS to visual6c and visualc71 projects.
  Compile png_mmx_support() in png.c even when PNG_NO_MMX_CODE is defined.
  Restored a "superfluous" #ifdef that was removed from 1.2.20rc2 pnggccrd.c,
    breaking the png_mmx_support() function.

version 1.2.20rc4 [September 1, 2007]
  Removed Intel contributions (MMX, Optimized C).

version 1.2.20rc5 [September 2, 2007]
  Restored configure and Makefile.in to rc3 and put a snippet of code in
    pnggccrd.c, to ensure configure makes the same PNG_NO_MMX_CODE selection

version 1.2.20rc6 [September 2, 2007]
  Fixed bugs in scripts/CMakeLists.txt
  Removed pngvcrd.c references from msvc projects.

version 1.0.28 and 1.2.20 [September 8, 2007]
  Removed "(NO READ SUPPORT)" from png_get_header_version() string.

Revision 1.92 / (download) - annotate - [select for diffs], Wed Aug 29 20:58:26 2007 UTC (13 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.91: +2 -2 lines
Diff to previous 1.91 (colored)

Update to 1.2.19:

version 1.2.19beta1 [May 18, 2007]
  Changed "const static" to "static PNG_CONST" everywhere, mostly undoing
    change of libpng-1.2.17beta2.  Changed other "const" to "PNG_CONST"
  Changed some handling of unused parameters, to avoid compiler warnings.
    "if (unused == NULL) return;" becomes "unused = unused".

version 1.2.19beta2 [May 18, 2007]
  Only use the valid bits of tRNS value in png_do_expand() (Brian Cartier)

version 1.2.19beta3 [May 19, 2007]
  Add some "png_byte" typecasts in png_check_keyword() and write new_key
  instead of key in zTXt chunk (Kevin Ryde).

version 1.2.19beta4 [May 21, 2007]
  Add png_snprintf() function and use it in place of sprint() for improved
    defense against buffer overflows.

version 1.2.19beta5 [May 21, 2007]
  Fixed png_handle_tRNS() to only use the valid bits of tRNS value.
  Changed handling of more unused parameters, to avoid compiler warnings.
  Removed some PNG_CONST in pngwutil.c to avoid compiler warnings.

version 1.2.19beta6 [May 22, 2007]
  Added some #ifdef PNG_MMX_CODE_SUPPORTED where needed in pngvcrd.c
  Added a special "_MSC_VER" case that defines png_snprintf to _snprintf

version 1.2.19beta7 [May 22, 2007]
  Squelched png_squelch_warnings() in pnggccrd.c and added an
    #ifdef PNG_MMX_CODE_SUPPORTED block around the declarations that caused
    the warnings that png_squelch_warnings was squelching.

version 1.2.19beta8 [May 22, 2007]
  Removed __MMX__ from test in pngconf.h.

version 1.2.19beta9 [May 23, 2007]
  Made png_squelch_warnings() available via PNG_SQUELCH_WARNINGS macro.
  Revised png_squelch_warnings() so it might work.
  Updated makefile.sgcc and makefile.solaris; added makefile.solaris-x86.

version 1.2.19beta10 [May 24, 2007]
  Resquelched png_squelch_warnings(), use "__attribute__((used))" instead.

version 1.2.19beta11 [May 28, 2007]
  Return 0 from png_get_sPLT() and png_get_unknown_chunks() if png_ptr is NULL;
    changed three remaining instances of png_strcpy() to png_strncpy() (David
    Hill).
  Make test for NULL row_buf at the beginning of png_do_read_transformations
    unconditional.

version 1.2.19beta12 [May 28, 2007]
  Revised pnggccrd.c.

version 1.2.19beta13 [June 14, 2007]
  Prefer PNG_USE_PNGVCRD when _MSC_VER is defined in pngconf.h

version 1.2.19beta14 [June 16, 2007]
  Fix bug with handling of 16-bit transparency, introduced in 1.2.19beta2

version 1.2.19beta15 [June 17, 2007]
  Revised pnggccrd.c.

version 1.2.19beta16 [June 18, 2007]
  Revised pnggccrd.c again.
  Updated contrib/gregbook.
  Changed '#include "pnggccrd.c"' to 'include "$srcdir/pnggccrd.c"'
    in configure.ac

version 1.2.19beta17 [June 19, 2007]
  Revised many of the makefiles, to set -DPNG_NO_MMX_CODE where needed
    and to not use -O3 unless -DPNG_NO_MMX_CODE is also set.

version 1.2.19beta18 [June 23, 2007]
  Replaced some C++ style comments with C style comments in pnggccrd.c.
  Copied optimized C code from pnggccrd.c to pngrutil.c, removed dependency
    on pnggccrd.o from many makefiles.
  Added sl and dylib to list of extensions be installed by Makefile.am

version 1.2.19beta19 [June 28, 2007]
  Fixed testing PNG_RGB_TO_GRAY_ERR & PNG_RGB_TO_GRAY_WARN in pngrtran.c
  More cleanup of pnggccrd.c and pngvcrd.c

version 1.2.19beta20 [June 29, 2007]
  Rebuilt Makefile.in and configure using libtool-1.5.24.
  Fixed typo in pnggccrd.c

version 1.2.19beta21 [June 30, 2007]
  More revision of pnggccrd.c
  Added "test" target to Makefile.in and Makefile.am

version 1.2.19beta22 [July 3, 2007]
  Added info about pngrutil/pnggccrd/pngvcrd to png_get_header_version()
  Fix type definition of dummy_value_a, b in pnggccrd.c

version 1.2.19beta23 [July 10, 2007]
  Revert change to type definition of dummy_value_a, b in pnggccrd.c
  Make sure __PIC__ is defined in pnggccrd.c when PIC is defined.
  Require gcc-4.1 or better to use PNG_HAVE_MMX_FILTER_ROW on x86_64 platforms

version 1.2.19beta24 [July 14, 2007]
  Added PNG_NO_READ_FILTER, PNG_NO_WRITE_FILTER, PNG_NO_WARNING macros.
  Added contrib/pngminim to demonstrate building minimal encoder and decoder

version 1.2.19beta25 [July 15, 2007]
  Removed the new PNG_NO_READ_FILTER macro since it would make the library
    unable to read valid PNG files, and filtering is at the heart of the
    PNG format.

version 1.2.19beta26 [July 16, 2007]
  Changed "png_free(str)" to "png_free(png_ptr,str)" in pngrutil.c WinCE
    code (Yves Piguet).  This bug was introduced in libpng-1.2.14.
  Updated scripts/CMakeLists.txt
  Relocated a misplaced #endif in pnggccrd.c

version 1.2.19beta27 [July 17, 2007]
  Fixed incorrect stride and number of bytes copied (was 4 instead of
    6 bytes) in the cleanup loop of pnggccrd.c and pngvcrd.c for handling
    the end of 48-bit interlaced rows (Glenn R-P).

version 1.2.19beta28 [July 19, 2007]
  Removed requirement for gcc-4.1 or better to use PNG_HAVE_MMX_FILTER_ROW
    on x86_64 platforms
  Added png_warning() in pngrutil.c for short iCCP, iTXt, sPLT, or zTXT chunks.
  Revised pngtest.c so warnings are displayed regardless of PNG_NO_STDIO.

version 1.2.19beta29 [July 20, 2007]
  Fix typo in pnggccrd.c (%%eax should be %%ax in secondloop48)

version 1.2.19beta30 [July 26, 2007]
  Revised pnggccrd.c

version 1.2.19beta31 [July 27, 2007]
  Fix typos in pnggccrd.c

version 1.0.27rc1 and 1.2.19rc1 [July 31, 2007]
  Disable PNG_MMX_CODE_SUPPORTED when PNG_ASSEMBLER_CODE_SUPPORTED is off.
  Enable PNG_MMX_READ_FILTER_* by default, except when gcc-3.x is being
    used (they were inadvertently disabled in libpng-1.2.19beta23).
  Fix some debugging statements in pnggccrd.c and pngrutil.c
  Added information about disabling the MMX code in libpng documentation.

version 1.0.27rc2 and 1.2.19rc2 [August 4, 2007]
  Removed some "#if 0" blocks.
  Made a global struct local in pngvcrd.c to make it thread safe.
  Issue a png_error() if application attempts to transform a row tht
    has not been initialized.

version 1.0.27rc3 and 1.2.19rc3 [August 9, 2007]
  Slightly revised pngvcrd.c

version 1.0.27rc4 and 1.2.19rc4 [August 9, 2007]
  Revised pnggccrd.c debugging change of rc1, which was broken.
  Revised scripts/CMakeLists.txt
  Change default to PNG_NO_GLOBAL_ARRAYS for MSVC.
  Turn off PNG_FLAG_ROW_INIT flag when setting transforms that expand pixels.

version 1.0.27rc5 and 1.2.19rc5 [August 10, 2007]
  Fix typo (missing '"') in pnggccrd.c
  Revise handling of png_strtod in recent versions of WINCE

version 1.0.27rc6 and 1.2.19rc6 [August 15, 2007]
  Fix typo (missing ',') in contrib/gregbook/readpng2.c
  Undid row initialization error exit added to rc2 and rc4.

version 1.0.27 and 1.2.19 [August 18, 2007]
  Conditionally restored row initialization error exit.

Revision 1.90.2.1 / (download) - annotate - [select for diffs], Wed May 16 21:07:35 2007 UTC (13 years, 8 months ago) by salo
Branch: pkgsrc-2007Q1
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored) next main 1.91 (colored)

Pullup ticket 2087 - requested by wiz
security update for png

Revisions pulled up:
- pkgsrc/graphics/png/Makefile				1.91
- pkgsrc/graphics/png/distinfo				1.38

   Module Name:		pkgsrc
   Committed By:	wiz
   Date:		Wed May 16 19:34:38 UTC 2007

   Modified Files:
   	pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Update to 1.2.18:

   version 1.2.17beta1 [March 6, 2007]
     Revised scripts/CMakeLists.txt to install both shared and static libraries.
     Deleted a redundant line from pngset.c.

   version 1.2.17beta2 [April 26, 2007]
     Relocated misplaced test for png_ptr == NULL in pngpread.c
     Change "==" to "&" for testing PNG_RGB_TO_GRAY_ERR & PNG_RGB_TO_GRAY_WARN
       flags.
     Changed remaining instances of PNG_ASSEMBLER_* to PNG_MMX_*
     Added pngerror() when write_IHDR fails in deflateInit2().
     Added "const" to some array declarations.
     Mention examples of libpng usage in the libpng*.txt and libpng.3 documents.

   version 1.2.17rc1 [May 4, 2007]
     No changes.

   version 1.2.17rc2 [May 8, 2007]
     Moved several PNG_HAVE_* macros out of PNG_INTERNAL because applications
       calling set_unknown_chunk_location() need them.
     Changed transformation flag from PNG_EXPAND_tRNS to PNG_EXPAND in
       png_set_expand_gray_1_2_4_to_8().
     Added png_ptr->unknown_chunk to hold working unknown chunk data, so it
       can be free'ed in case of error.  Revised unknown chunk handling in
       pngrutil.c and pngpread.c to use this structure.

   version 1.2.17rc3 [May 8, 2007]
     Revised symbol-handling in configure script.

   version 1.2.17rc4 [May 10, 2007]
     Revised unknown chunk handling to avoid storing unknown critical chunks.

   version 1.2.17 [May 15, 2007]
     Added "png_ptr->num_trans=0" before error return in png_handle_tRNS,
       to eliminate a vulnerability (CVE-2007-2554, CERT VU#684664)

   version 1.2.18 [May 15, 2007]
     Reverted the libpng-1.2.17rc3 change to symbol-handling in configure script

Revision 1.91 / (download) - annotate - [select for diffs], Wed May 16 19:34:38 2007 UTC (13 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored)

Update to 1.2.18:

version 1.2.17beta1 [March 6, 2007]
  Revised scripts/CMakeLists.txt to install both shared and static libraries.
  Deleted a redundant line from pngset.c.

version 1.2.17beta2 [April 26, 2007]
  Relocated misplaced test for png_ptr == NULL in pngpread.c
  Change "==" to "&" for testing PNG_RGB_TO_GRAY_ERR & PNG_RGB_TO_GRAY_WARN
    flags.
  Changed remaining instances of PNG_ASSEMBLER_* to PNG_MMX_*
  Added pngerror() when write_IHDR fails in deflateInit2().
  Added "const" to some array declarations.
  Mention examples of libpng usage in the libpng*.txt and libpng.3 documents.

version 1.2.17rc1 [May 4, 2007]
  No changes.

version 1.2.17rc2 [May 8, 2007]
  Moved several PNG_HAVE_* macros out of PNG_INTERNAL because applications
    calling set_unknown_chunk_location() need them.
  Changed transformation flag from PNG_EXPAND_tRNS to PNG_EXPAND in
    png_set_expand_gray_1_2_4_to_8().
  Added png_ptr->unknown_chunk to hold working unknown chunk data, so it
    can be free'ed in case of error.  Revised unknown chunk handling in
    pngrutil.c and pngpread.c to use this structure.

version 1.2.17rc3 [May 8, 2007]
  Revised symbol-handling in configure script.

version 1.2.17rc4 [May 10, 2007]
  Revised unknown chunk handling to avoid storing unknown critical chunks.

version 1.2.17 [May 15, 2007]
  Added "png_ptr->num_trans=0" before error return in png_handle_tRNS,
    to eliminate a vulnerability (CVE-2007-2554, CERT VU#684664)

version 1.2.18 [May 15, 2007]
  Reverted the libpng-1.2.17rc3 change to symbol-handling in configure script

Revision 1.90 / (download) - annotate - [select for diffs], Fri Feb 2 19:12:31 2007 UTC (13 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q1-base
Branch point for: pkgsrc-2007Q1
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (colored)

Update to 1.2.16:

version 1.2.16beta1 [January 6, 2007]
  Fix bugs in makefile.nommx

version 1.2.16beta2 [January 16, 2007]
  Revised scripts/CMakeLists.txt

version 1.2.16 [January 31, 2007]
  No changes.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Jan 6 21:48:50 2007 UTC (14 years ago) by wiz
Branch: MAIN
Changes since 1.88: +2 -5 lines
Diff to previous 1.88 (colored)

Update to 1.2.15:

version 1.2.15beta1 [December 3, 2006]
  Generated configure with autoconf-2.61 instead of 2.60
  Revised configure.ac to update libpng.pc and libpng-config.

version 1.2.15beta2 [December 3, 2006]
  Always export MMX asm functions, just stubs if not building pnggccrd.c

version 1.2.15beta3 [December 4, 2006]
  Add "png_bytep" typecast to profile while calculating length in pngwutil.c

version 1.2.15beta4 [December 7, 2006]
  Added scripts/CMakeLists.txt
  Changed PNG_NO_ASSEMBLER_CODE to PNG_NO_MMX_CODE in scripts, like 1.4.0beta

version 1.2.15beta5 [December 7, 2006]
  Changed some instances of PNG_ASSEMBLER_* to PNG_MMX_* in pnggccrd.c
  Revised scripts/CMakeLists.txt

version 1.2.15beta6 [December 13, 2006]
  Revised scripts/CMakeLists.txt and configure.ac

version 1.2.15rc1 [December 18, 2006]
  Revised scripts/CMakeLists.txt

version 1.2.15rc2 [December 21, 2006]
  Added conditional #undef jmpbuf in pngtest.c to undo #define in AIX headers.
  Added scripts/makefile.nommx

version 1.2.15rc3 [December 25, 2006]
  Fixed shared library numbering error that was intruduced in 1.2.15beta6.

version 1.2.15rc4 [December 27, 2006]
  Fixed handling of rgb_to_gray when png_ptr->color.gray isn't set.

version 1.2.15rc5 [December 31, 2006]
  Revised handling of rgb_to_gray.

version 1.2.15 [January 5, 2007]
  Added some (unsigned long) typecasts in pngtest.c to avoid printing errors.

Revision 1.86.2.1 / (download) - annotate - [select for diffs], Thu Jan 4 15:09:26 2007 UTC (14 years ago) by salo
Branch: pkgsrc-2006Q4
Changes since 1.86: +3 -2 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

Pullup ticket 1973 - requested by tv
portability fix for png

Revisions pulled up:
- pkgsrc/graphics/png/Makefile				1.87, 1.88
- pkgsrc/graphics/png/buildlink3.mk			1.18, 1.19, 1.20
- pkgsrc/graphics/png/distinfo				1.35
- pkgsrc/graphics/png/patches/patch-ac			1.6

   Module Name:		pkgsrc
   Committed By:	tv
   Date:		Wed Jan  3 16:23:10 UTC 2007

   Modified Files:
   	pkgsrc/graphics/png: Makefile buildlink3.mk distinfo
   Added Files:
   	pkgsrc/graphics/png/patches: patch-ac

   Log Message:
   Don't allow "ld --version-script" on Interix.  Fixes PR pkg/35210.
   Based on patch idea from Aleksey Cheusov <cheusov@tut.by>.
   (Sanity tested for breakage on a non-Interix platform, NetBSD.)
---
   Module Name:		pkgsrc
   Committed By:	joerg
   Date:		Wed Jan  3 19:54:12 UTC 2007

   Modified Files:
   	pkgsrc/graphics/png: buildlink3.mk

   Log Message:
   Include bsd.fast.prefs.mk before accessing OPSYS.
---
   Module Name:		pkgsrc
   Committed By:	rillig
   Date:		Wed Jan  3 20:38:46 UTC 2007

   Modified Files:
   	pkgsrc/graphics/png: Makefile buildlink3.mk

   Log Message:
   Fixed pkglint warnings.

Revision 1.88 / (download) - annotate - [select for diffs], Wed Jan 3 20:38:46 2007 UTC (14 years ago) by rillig
Branch: MAIN
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored)

Fixed pkglint warnings.

Revision 1.87 / (download) - annotate - [select for diffs], Wed Jan 3 16:23:10 2007 UTC (14 years ago) by tv
Branch: MAIN
Changes since 1.86: +2 -1 lines
Diff to previous 1.86 (colored)

Don't allow "ld --version-script" on Interix.  Fixes PR pkg/35210.
Based on patch idea from Aleksey Cheusov <cheusov@tut.by>.
(Sanity tested for breakage on a non-Interix platform, NetBSD.)

Revision 1.86 / (download) - annotate - [select for diffs], Thu Nov 30 10:58:17 2006 UTC (14 years, 1 month ago) by drochner
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base
Branch point for: pkgsrc-2006Q4
Changes since 1.85: +3 -1 lines
Diff to previous 1.85 (colored)

put the distfile into a subdir to avoid conflicts with the old version,
from Joerg Sonnenberger

Revision 1.85 / (download) - annotate - [select for diffs], Tue Nov 28 21:58:17 2006 UTC (14 years, 1 month ago) by drochner
Branch: MAIN
Changes since 1.84: +2 -2 lines
Diff to previous 1.84 (colored)

update to 1.2.14
changes:
-Relocated three misplaced tests for NULL png_ptr
-build fixes

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Sun Nov 19 12:10:07 2006 UTC (14 years, 2 months ago) by ghen
Branch: pkgsrc-2006Q3
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

Pullup ticket 1912 - requested by taca
security update for png

- pkgsrc/graphics/png/Makefile			1.84
- pkgsrc/graphics/png/distinfo			1.31

   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sat Nov 18 14:26:19 UTC 2006

   Modified Files:
	pkgsrc/graphics/png: Makefile distinfo

   Log Message:
   Update png to 1.2.13 (it fixes CVE-2006-5793).

   version 1.2.13beta1 [October 2, 2006]
     Removed AC_FUNC_MALLOC from configure.ac
     Work around Intel-Mac compiler bug by setting PNG_NO_MMX_CODE in pngconf.h
     Change "logical" to "bitwise" throughout documentation.
     Detect and fix attempt to write wrong iCCP profile length.

   version 1.0.21, 1.2.13 [November 15, 2006]
     Fix potential buffer overflow in sPLT chunk handler.
     Fix Makefile.am to not try to link to noexistent files.
     Check all exported functions for NULL png_ptr.

Revision 1.84 / (download) - annotate - [select for diffs], Sat Nov 18 14:26:19 2006 UTC (14 years, 2 months ago) by taca
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored)

Update png to 1.2.13 (it fixes CVE-2006-5793).

version 1.2.13beta1 [October 2, 2006]
  Removed AC_FUNC_MALLOC from configure.ac
  Work around Intel-Mac compiler bug by setting PNG_NO_MMX_CODE in pngconf.h
  Change "logical" to "bitwise" throughout documentation.
  Detect and fix attempt to write wrong iCCP profile length.

version 1.0.21, 1.2.13 [November 15, 2006]
  Fix potential buffer overflow in sPLT chunk handler.
  Fix Makefile.am to not try to link to noexistent files.
  Check all exported functions for NULL png_ptr.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Nov 2 18:00:43 2006 UTC (14 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.82: +2 -1 lines
Diff to previous 1.82 (colored)

DESTDIR support.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Jul 7 09:35:05 2006 UTC (14 years, 6 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base
Branch point for: pkgsrc-2006Q3
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored)

The TEST_TARGET "test" does not exist anymore. It is called "check" now.

Revision 1.81 / (download) - annotate - [select for diffs], Thu Jun 29 22:21:18 2006 UTC (14 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.80: +2 -2 lines
Diff to previous 1.80 (colored)

Update png to 1.2.12, for security fixes. ok schmonz@, jlam@.

version 1.2.11beta1 [May 31, 2006]
  scripts/libpng.pc.in contained "configure" style version info and would
    not work with makefiles.
  The shared-library makefiles were linking to libpng.so.0 instead of
    libpng.so.3 compatibility as the library.

version 1.2.11beta2 [June 2, 2006]
  Increased sprintf buffer from 50 to 52 chars in pngrutil.c to avoid
    buffer overflow.
  Fixed bug in example.c (png_set_palette_rgb -> png_set_palette_to_rgb)

version 1.2.11beta3 [June 5, 2006]
  Prepended "#! /bin/sh" to ltmail.sh and contrib/pngminus/*.sh (Cosmin).
  Removed the accidental leftover Makefile.in~ (Cosmin).
  Avoided potential buffer overflow and optimized buffer in
    png_write_sCAL(), png_write_sCAL_s() (Cosmin).
  Removed the include directories and libraries from CFLAGS and LDFLAGS
    in scripts/makefile.gcc (Nelson A. de Oliveira, Cosmin).

version 1.2.11beta4 [June 6, 2006]
  Allow zero-length IDAT chunks after the entire zlib datastream, but not
    after another intervening chunk type.

Revision 1.80 / (download) - annotate - [select for diffs], Wed May 17 21:48:57 2006 UTC (14 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.79: +3 -14 lines
Diff to previous 1.79 (colored)

Update to 1.2.10:

Package change: install old compat library as libpngcompat (pkgsrc
specific, will probably be changed in the future). Makes package
handling quite a bit easier.

version 1.2.10beta1 [April 15, 2006]
  Renamed "config.h" to "png_conf.h" and revised Makefile.am to add
    -DPNG_BUILDING_LIBPNG to compile directive, and modified pngconf.h
    to include png_conf.h only when PNG_BUILDING_LIBPNG is defined.

version 1.2.10beta2 [April 15, 2006]
  Manually updated Makefile.in and configure.  Changed png_conf.h.in
    back to config.h.

version 1.2.10beta3 [April 15, 2006]
  Change png_conf.h back to config.h in pngconf.h.

version 1.2.10beta4 [April 16, 2006]
  Change PNG_BUILDING_LIBPNG to PNG_CONFIGURE_LIBPNG in config/Makefile*.

version 1.2.10beta5 [April 16, 2006]
  Added a configure check for compiling assembler code in pnggccrd.c

version 1.2.10beta6 [April 17, 2006]
  Revised the configure check for pnggccrd.c
  Moved -DPNG_CONFIGURE_LIBPNG into @LIBPNG_DEFINES@
  Added @LIBPNG_DEFINES@ to arguments when building libpng.sym

version 1.2.10beta7 [April 18, 2006]
  Change "exec_prefix=$prefix" to "exec_prefix=$(prefix)" in makefiles.

version 1.2.10rc1 [April 19, 2006]
  Ensure pngconf.h doesn't define both PNG_USE_PNGGCCRD and PNG_USE_PNGVCRD
  Fixed "LN_FS" typo in makefile.sco and makefile.solaris.

version 1.2.10rc2 [April 20, 2006]
  Added a backslash between -DPNG_CONFIGURE_LIBPNG and -DPNG_NO_ASSEMBLER_CODE
   in configure.ac and configure
  Made the configure warning about versioned symbols less arrogant.

version 1.2.10rc3 [April 21, 2006]
  Added a note in libpng.txt that png_set_sig_bytes(8) can be used when
    writing an embedded PNG without the 8-byte signature.
  Revised makefiles and configure to avoid making links to libpng.so.*

version 1.2.10 [April 23, 2006]
  Reverted configure to "rc2" state.

Revision 1.79 / (download) - annotate - [select for diffs], Tue May 9 22:28:18 2006 UTC (14 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78 (colored)

Propagate PNG_NO_ASSEMBLER_CODE to dependencies.
This should fix PR 33325 (ImageMagick not building on amd64).

Revision 1.78 / (download) - annotate - [select for diffs], Sat Apr 22 07:07:55 2006 UTC (14 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.77: +7 -1 lines
Diff to previous 1.77 (colored)

Only use assembler code on i386. Fixes amd64 build and PR 33331 by Ben Collver.

Revision 1.77 / (download) - annotate - [select for diffs], Mon Apr 17 13:44:46 2006 UTC (14 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.76: +8 -2 lines
Diff to previous 1.76 (colored)

Update to 1.2.9nb2 (hopefully final update for this weekend):
. add rpath to libpng-config output
. link against libpng12 (instead of libpng) in all cases.

The latter causes shlib dependency changes, so update
BUILDLINK_ABI_DEPENDS.png.

Revision 1.76 / (download) - annotate - [select for diffs], Mon Apr 17 12:49:16 2006 UTC (14 years, 9 months ago) by tron
Branch: MAIN
Changes since 1.75: +2 -1 lines
Diff to previous 1.75 (colored)

Extend ".la" file hack to make it work under Mac OS X (Darwin), too.

Revision 1.75 / (download) - annotate - [select for diffs], Sun Apr 16 23:19:15 2006 UTC (14 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.74: +12 -27 lines
Diff to previous 1.74 (colored)

Update to 1.2.9nb1:
. pngconf.h included "config.h" if HAVE_CONFIG_H is defined -- really not
  a good idea, patch it out. broke at least libwmf, reported by veego@
. install some libpng12 files -- IIUC, libpng12* is the future and
  libpng* is becoming obsolete -- at least according to the wishes of
  the authors. Don't follow this completely yet, but still patch the
  pkg-config file to link against -lpng instead of -lpng12, which
  would require a recursive PKGREVISION bump. We should probably do this
  at some future time.
. switch pkgconfig file to look for headers in include/libpng12 -- the
  headers still exist in include/ for backwards compatibility.
. switch to using GNU_CONFIGURE and the included libtool handling instead
  of patching in our own into a Makefile. Gets rid of patches and pkgsrc
  Makefile code.

Revision 1.74 / (download) - annotate - [select for diffs], Sun Apr 16 19:39:46 2006 UTC (14 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored)

Update to 1.2.9:

Changes since the last public release (1.2.8):

version 1.2.9 [April 14, 2006]
  Initialized some structure members in pngwutil.c to avoid gcc-4.0.0 complaints
  Fixed an incorrect typecast in pngrutil.c
  Added PNG_NO_READ_SUPPORTED conditionals for making a write-only library.
  Added PNG_NO_WRITE_INTERLACING_SUPPORTED conditional.
  Optimized alpha-inversion loops in pngwtran.c
  Moved test for nonzero gamma outside of png_build_gamma_table() in pngrtran.c
  Make sure num_trans is <= 256 before copying data in png_set_tRNS().
  Make sure num_palette is <= 256 before copying data in png_set_PLTE().
  Interchanged order of write_swap_alpha and write_invert_alpha transforms.
  Added parentheses in the definition of PNG_LIBPNG_BUILD_TYPE (Cosmin).
  Exported png_get_uint_32, png_save_uint_32, png_get_uint_16, png_save_uint_16,
    png_get_int_32, png_save_int_32, png_get_uint_31 (Cosmin).
  Added parentheses in the definition of PNG_LIBPNG_BUILD_TYPE (Cosmin).
  Added type cast (png_byte) in png_write_sCAL() (Cosmin).
  Fixed scripts/makefile.cygwin (Cosmin).
  Updated scripts/makefile.bc32 for Borland C++ 5.6 (Cosmin).
  Updated scripts/pngos2.def, scripts/pngw32.def (Cosmin).
  Updated references to png-mng-implement mailing list.
  Revised man page and libpng.txt to make it clear that one should not call
    png_read_end or png_write_end after png_read_png or png_write_png.
  Optimized zlib window flag (CINFO) in contrib/pngsuite/*.png (Cosmin).
  Check for png_rgb_to_gray and png_gray_to_rgb read transformations before
    checking for png_read_dither in pngrtran.c
  Revise checking of chromaticity limits to accommodate extended RGB
    colorspace (John Denker).
  Changed line endings in some of the project files to CRLF, even in the
    "Unix" tar distributions (Cosmin).
  Make png_get_int_32 and png_save_int_32 always available (Cosmin).
  Updated scripts/pngos2.def, scripts/pngw32.def and projects/wince/png32ce.def
    with the newly exported functions.
  Eliminated distributions without the "configure" script.
  Updated INSTALL instructions.
  Make libpng.pc respect EXEC_PREFIX (D.P.Kreil)
  Remove reference to pngasmrd.h from Makefile.am
  Change definition of PKGCONFIG from $prefix/lib to $libdir in configure.ac
  Removed newline from the end of some error and warning messages.
  Removed test for sqrt() from configure.ac and configure.
  Made swap tables in pngtrans.c PNG_CONST (Carlo Bramix).
  Added "OS2" to list of systems that don't need underscores, in pnggccrd.c
  Removed libpng version and date from *.c files.
  Removed trailing blanks from source files.
  Put version and date of latest change in each source file, and changed
    copyright year accordingly.
  Restored scripts/makefile.elf which was inadvertently deleted.
  Removed libpng.vers and libpng.sym from libpng12_la_SOURCES in Makefile.am
  Fixed inconsistent #ifdef's around png_sig_bytes() and png_set_sCAL_s()
    in png.h.
  Updated makefile.elf as suggested by debian.
  Added LN_SF, MKDIR_P, and other macros to some of the makefiles.
  Made some makefiles accept "exec_prefix".
  Simplified some makefiles by using LIBSO, LIBSOMAJ, and LIBSOVER macros.
  Fixed some "#ifdef defined (..." which should be "#ifdef defined(..."
    Bug introduced in libpng-1.2.8.
  Fixed inconsistency in definition of png_default_read_data()
  Revised calculation of "current" and "major" for irix in ltmain.sh
  Separated PNG_EXPAND and PNG_EXPAND_tRNS.
  Added png_set_expand_gray_1_2_4_to_8() and deprecated
    png_set_gray_1_2_4_to_8() which also expands tRNS to alpha.
  Include "config.h" in pngconf.h when available.
  Added some checks for NULL png_ptr or NULL info_ptr (Coverity)
  Made pnggccrd.c PIC-compliant (Christian Aichinger).
  Added makefile.mingw (Wolfgang Glas)
  Revised pngconf.h MMX checking.
  Defined PNG_USER_PRIVATEBUILD when including "pngusr.h" (Cosmin).
  Removed nonsensical assertion check from pngtest.c (Cosmin).
  Revised makefile.beos and added "none" selector in ltmain.sh

Revision 1.73 / (download) - annotate - [select for diffs], Tue Dec 27 17:34:53 2005 UTC (15 years ago) by reed
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.72: +5 -5 lines
Diff to previous 1.72 (colored)

Honor PKGMANDIR.

Revision 1.72 / (download) - annotate - [select for diffs], Mon Dec 5 20:50:22 2005 UTC (15 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.71: +5 -5 lines
Diff to previous 1.71 (colored)

Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html

Revision 1.71 / (download) - annotate - [select for diffs], Fri Nov 4 11:58:54 2005 UTC (15 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)

Replaced the "!" in the sed expression with a ",". This might have been
the cause for PR 31953, but I'm not sure. At least, "!" is some special
character for the shell whereas "," is not.

Revision 1.70 / (download) - annotate - [select for diffs], Mon Apr 11 21:46:08 2005 UTC (15 years, 9 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.69: +1 -2 lines
Diff to previous 1.69 (colored)

Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.

Revision 1.69 / (download) - annotate - [select for diffs], Sun Dec 5 11:17:12 2004 UTC (16 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

Update to 1.2.8:

Changes since the last public release (1.2.7):

  Fixed bug in png_text_compress() that would fail to complete a large block.
  Fixed bug, introduced in libpng-1.2.7, that overruns a buffer during
    strip alpha operation in png_do_strip_filler().
  Added PNG_1_2_X definition in pngconf.h
  #ifdef out png_info_init in png.c and png_read_init in pngread.c (as of 1.3.0)
  Reduce color_type to a nonalpha type after strip alpha operation in
    png_do_strip_filler().
  Revised definitions of PNG_MAX_UINT_32, PNG_MAX_SIZE, and PNG_MAXSUM
  Fixed (again) definition of PNG_LIBPNG_VER_DLLNUM in png.h (Cosmin).
  Added PNG_LIBPNG_BUILD_PRIVATE in png.h (Cosmin).
  Set png_ptr->zstream.data_type to Z_BINARY, to avoid unnecessary detection
    of data type in deflate (Cosmin).
  Deprecated but continue to support SPECIALBUILD and PRIVATEBUILD in favor of
    PNG_LIBPNG_BUILD_SPECIAL_STRING and PNG_LIBPNG_BUILD_PRIVATE_STRING.
  Despammed mailing addresses by masking "@" with "at".
  Added scripts/makefile.elf with supporting code in pngconf.h for symbol
    versioning (John Bowler).
  Added projects/visualc71 (Simon-pierre).

Revision 1.68 / (download) - annotate - [select for diffs], Fri Oct 15 12:33:21 2004 UTC (16 years, 3 months ago) by adam
Branch: MAIN
Changes since 1.67: +3 -4 lines
Diff to previous 1.67 (colored)

Changes 1.2.7:
* Removed unused pngasmrd.h file.
* Removed references to uu.net for archived files.  Added references to
    PNG Spec (second edition) and the PNG ISO/IEC Standard.
* Added "test-dd" target in 15 makefiles, to run pngtest in DESTDIR.
* Fixed bug with "optimized window size" in the IDAT datastream, that
    causes libpng to write PNG files with incorrect zlib header bytes.
* Fixed bug with sCAL chunk and big-endian machines (David Munro).
* Undid new code added in 1.2.6rc2 to update the color_type in
    png_set_filler().
* Added png_set_add_alpha() that updates color type.
* Revised png_set_strip_filler() to not remove alpha if color_type has alpha.
* Added makefile.hp64
* Changed projects/msvc/png32ms.def to scripts/png32ms.def in makefile.cygwin

Revision 1.67 / (download) - annotate - [select for diffs], Sun Oct 3 00:14:56 2004 UTC (16 years, 3 months ago) by tv
Branch: MAIN
Changes since 1.66: +2 -1 lines
Diff to previous 1.66 (colored)

Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Sep 22 08:09:37 2004 UTC (16 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.65: +1 -3 lines
Diff to previous 1.65 (colored)

Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".

Revision 1.65 / (download) - annotate - [select for diffs], Tue Aug 17 09:54:30 2004 UTC (16 years, 5 months ago) by drochner
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)

update to 1.2.6 (first official release after the recent
 security fixes)
changes:
version 1.2.6rc3 [August 9, 2004]
  Eliminated use of "abs()" in testing cHRM and gAMA values, to avoid
  trouble with some 64-bit compilers.  Created PNG_OUT_OF_RANGE() macro.
  Revised documentation of png_set_keep_unknown_chunks().
  Check handle_as_unknown status in pngpread.c, as in pngread.c previously.
  Moved  "PNG_HANDLE_CHUNK_*" macros out of PNG_INTERNAL section of png.h
  Added "rim" definitions for CONST4 and CONST6 in pnggccrd.c
version 1.2.6rc4 [August 10, 2004]
  Fixed mistake in pngtest.c introduced in 1.2.6rc2 (declaration of
  "pinfo" was out of place).
version 1.2.6rc5 [August 10, 2004]
  Moved  "PNG_HANDLE_CHUNK_*" macros out of PNG_ASSEMBLER_CODE_SUPPORTED
  section of png.h where they were inadvertently placed in version rc3.
version 1.2.6rc6 [August 15, 2004]
  Revised pngtest so memory allocation testing is only done when PNG_DEBUG==1.

Revision 1.64 / (download) - annotate - [select for diffs], Mon Aug 9 07:37:35 2004 UTC (16 years, 5 months ago) by recht
Branch: MAIN
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored)

update to libpng-1.2.6rc2

changes:
version 1.2.6rc2 [August 8, 2004]
  Revised makefile.darwin and makefile.solaris.  Removed makefile.macosx.
  Revised pngtest's png_debug_malloc() to use png_malloc() instead of
     png_malloc_default() which is not supposed to be exported.
  Fixed off-by-one error in one of the conversions to PNG_ROWBYTES() in
     pngpread.c.  Bug was introduced in 1.2.6rc1.
  Fixed bug in RGB to RGBX transformation introduced in 1.2.6rc1.
  Fixed old bug in RGB to Gray transformation.
  Fixed problem with 64-bit compilers by casting arguments to abs()
    to png_int_32.
  Changed "ln -sf" to "ln -f -s" in three makefiles (solaris, sco, so9).
  Changed "HANDLE_CHUNK_*" to "PNG_HANDLE_CHUNK_*" (Cosmin)
  Added "-@/bin/rm -f $(DL)/$(LIBNAME).so.$(PNGMAJ)" to 15 *NIX makefiles.
  Added code to update the row_info->colortype in png_do_read_filler() (MSB).

Revision 1.63 / (download) - annotate - [select for diffs], Fri Aug 6 09:25:18 2004 UTC (16 years, 5 months ago) by drochner
Branch: MAIN
Changes since 1.62: +2 -3 lines
Diff to previous 1.62 (colored)

update to 1.2.6rc1,
fixes some security issues, see
http://scary.beasts.org/security/CESA-2004-001.txt

Revision 1.62 / (download) - annotate - [select for diffs], Sat Jul 10 01:11:18 2004 UTC (16 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

Fix path to pkgconfig file in PKGCONFIG_OVERRIDE.
Bump PKGREVISION, since now the pkgconfig file contains the right rpath.

Revision 1.61 / (download) - annotate - [select for diffs], Mon May 10 01:15:14 2004 UTC (16 years, 8 months ago) by fredb
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored)

Don't read past the end of the error message string. This patch was
posted to png-implement by Glenn Randers-Pherson, libpng's maintainer.

This error was widely reported as "security issue",

    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0421

even though there is no security issue. The most the error could do is
SIGSEGV, and that only with some fairly uncommon circumstances. The patch
posted with the advisory is in fact flawed, in that it calls strlen() on
presumably arbitrary data.

Bump PKGREVISION.

Revision 1.60 / (download) - annotate - [select for diffs], Tue Apr 27 19:36:27 2004 UTC (16 years, 8 months ago) by tv
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

Shared objects must be installed as executable on some platforms.  Convert
BSD_INSTALL_DATA to BSD_INSTALL_SCRIPT.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Mar 30 15:52:09 2004 UTC (16 years, 9 months ago) by minskim
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored)

Create pkgconfig directory before installing libpng12.pc.  Noted by
Cesar Catrian C. in PR pkg/24974.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Mar 29 17:11:46 2004 UTC (16 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

Bump PKGREVISION for pkgconfig file addition.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Mar 29 16:02:08 2004 UTC (16 years, 9 months ago) by ben
Branch: MAIN
Changes since 1.56: +11 -1 lines
Diff to previous 1.56 (colored)

Install lib/pkgconfig/libpng12.pc, otherwise "pkg-config --list-all" will
fail with an error if imlib2 is installed.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Mar 19 18:36:46 2004 UTC (16 years, 10 months ago) by ben
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.55: +1 -6 lines
Diff to previous 1.55 (colored)

Backing out PNG patch that installed lib/pkgconfig/libpng12.pc because it
was done incorrectly and because it was disruptive to the pkgsrc freeze.
Will fix this correctly after the freeze is finished.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Mar 18 22:40:40 2004 UTC (16 years, 10 months ago) by ben
Branch: MAIN
Changes since 1.54: +6 -1 lines
Diff to previous 1.54 (colored)

Install lib/pkgconfig/libpng12.pc, otherwise "pkgconfig --list-all" will
fail with an error if imlib2 is installed.

Revision 1.54 / (download) - annotate - [select for diffs], Sun Feb 8 04:03:15 2004 UTC (16 years, 11 months ago) by jlam
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

We no longer need to explicitly call ${BUILDLINK_*} for CC, CXX, LIBTOOL,
etc. because the bare variables will point to the correct executables.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Jan 15 21:07:42 2004 UTC (17 years ago) by jlam
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

Packages converted to use buildlink should think that the "real" CC is
BUILDLINK_CC.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Jan 5 20:38:35 2004 UTC (17 years ago) by jlam
Branch: MAIN
Changes since 1.51: +7 -3 lines
Diff to previous 1.51 (colored)

bl3ify

Revision 1.51 / (download) - annotate - [select for diffs], Fri Aug 29 20:49:30 2003 UTC (17 years, 4 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.50: +1 -6 lines
Diff to previous 1.50 (colored)

The checks for MIPSPro and including gcc.buildlink3.mk have moved to
bsd.pkg.mk, so no need for the same logic here.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jul 17 21:42:20 2003 UTC (17 years, 6 months ago) by grant
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

s/netbsd.org/NetBSD.org/

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jun 12 15:40:31 2003 UTC (17 years, 7 months ago) by jschauma
Branch: MAIN
Changes since 1.48: +4 -1 lines
Diff to previous 1.48 (colored)

Under IRIX, we don't need gcc's buildlink.  MIPSPro does just fine.

Revision 1.48 / (download) - annotate - [select for diffs], Wed May 28 12:51:29 2003 UTC (17 years, 7 months ago) by grant
Branch: MAIN
Changes since 1.47: +3 -1 lines
Diff to previous 1.47 (colored)

include gcc.buildlink2.mk, allows this to build on NetBSD with gcc 3.3.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Feb 17 15:28:00 2003 UTC (17 years, 11 months ago) by dillo
Branch: MAIN
Changes since 1.46: +2 -4 lines
Diff to previous 1.46 (colored)

convert to use test target from bsd.pkg.mk
addresses PR pkg/19416

Revision 1.46 / (download) - annotate - [select for diffs], Fri Dec 20 17:54:27 2002 UTC (18 years, 1 month ago) by fredb
Branch: MAIN
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Fix another bug in png_do_read_filler() regarding 16-big *grayscale*
images (and bump package to 1.2.5nb2). The following is taken directly
from the png-implement mailing list...


    Date: Fri, 20 Dec 2002 11:26:31 -0500
    From: Glenn Randers-Pehrson <glennrp@comcast.net>
    Reply-To: png-implement@ccrc.wustl.edu
    To: png-implement@ccrc.wustl.edu
    Subject: Re: [png-implement] bug in png_read_filler() with 16-bit  samples

    At 01:01 AM 12/5/02 -0500, Glenn Randers-Pehrson wrote:
    >A bug has turned up in png_read_filler() with 16-bit samples.
    >The starting offsets for the loops are calculated incorrectly
    >which causes a buffer overrun beyond the beginning of the row
    >buffer.
    >
    >To fix, at lines 1968 and 1990,
    >change "row_width * 3" to "row_width * 6"
    >and at lines 1969 and 1991,
    >change "row_width;" to "row_width * 2;"

    This is only half of the story.  Adding an alpha channel to
    16-bit *grayscale* images with png_do_read_filler() exhibits
    the same bug, and pngcrush crashes if I try to do it.

    To fix, at lines 1892, 1893, 1910, and 1911 of pngrtran.c
    change "row_width" to "row_width * 2"

    Note that applications that do not add an alpha channel via
    png_set_filler(), and any applications that do, but reduce 16-bit
    samples to 8 bit via png_set_strip_16() are invulnerable to
    the bug.  Pngcrush is the only application that I know of
    that uses png_set_filler() without also using png_set_strip_16().

    Glenn


    --
    Send the message body "help" to png-implement-request@ccrc.wustl.edu

Revision 1.45 / (download) - annotate - [select for diffs], Thu Dec 19 21:25:09 2002 UTC (18 years, 1 month ago) by fredb
Branch: MAIN
Changes since 1.44: +2 -1 lines
Diff to previous 1.44 (colored)

Fix a buffer overrun in png_do_read_filler() with 16-bit samples, as
reported to the png-implement mailing list by Glenn Randers-Pehrson:

ftp://swrinde.nde.swri.edu/pub/png-group/archives/png-implement.200212

[Glenn Randers-Pehrson is the original author and chief maintainer of
libpng.]

From the discussion in the archive, it appears to be unlikely that the
bug could be exploited by a malicious web-server, chiefly because the
operation that triggers it is more likely to be carried out by an image
manipulation program (i.e. pngcrush), than by a web browser.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Nov 6 21:30:20 2002 UTC (18 years, 2 months ago) by fredb
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

Update to png 1.2.5:

* Changed png_error() to png_warning() about
  "Too much data" in pngpread.c and about
  "Extra compressed data" in pngrutil.c.
* Prevent png_ptr->pass from exceeding 7 in
  png_push_finish_row().
* Updated png.c and pnggccrd.c handling of return from
  png_mmx_support() [Doesn't apply to the package.]
* Only issue png_warning() about "Too much data" in
  pngpread.c when avail_in is nonzero.
* Relocated two misplaced PNGAPI lines in pngtest.c

Update submitted by Stefan Kr├╝ger in PR/18926.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Aug 25 18:39:20 2002 UTC (18 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.42: +4 -4 lines
Diff to previous 1.42 (colored)

Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.

Revision 1.39.2.4 / (download) - annotate - [select for diffs], Thu Aug 22 11:11:36 2002 UTC (18 years, 4 months ago) by jlam
Branch: buildlink2
Changes since 1.39.2.3: +13 -3 lines
Diff to previous 1.39.2.3 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

Merge changes from pkgsrc-current into the buildlink2 branch for the
packages that have buildlink2.mk files.

Revision 1.42 / (download) - annotate - [select for diffs], Fri Jul 19 14:33:08 2002 UTC (18 years, 6 months ago) by fredb
Branch: MAIN
CVS Tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base, netbsd-1-6, buildlink2-base
Changes since 1.41: +14 -5 lines
Diff to previous 1.41 (colored)

Update to version 1.2.4. Two new functions since 1.2.1, png_malloc_warn()
and png_set_text_2(), call for a minor version bump in the shared library.
Update "BUILDLINK_DEPENDS" to current level. Also make the shared library
versions visible in the top-level "Makefile", and add a top-level "test"
target to invoke "pngtest" in ${WRKSRC}.

The following is culled from the extensive "CHANGES" file, ommitting
all make system and doc changes, and some bug fixes for bugs that weren't
present in 1.2.1. See "CHANGES" for complete details:

  Added setjmp() at the end of png_create_*_struct_2() in case user forgets
    to put one in their application.
  Exported png_zalloc(), png_zfree(), png_default_read(), png_default_write(),
    png_default_flush(), and png_push_fill_buffer() and included them in
    module definition files.
  Revised prototype for png_default_flush()
  Typos in *.def files (png_default_read|write -> png_default_read|write_data)
  Once more restored png_zalloc and png_zfree to regular nonexported form.
  Restored png_default_read|write_data, png_default_flush, png_read_fill_buffer
    to nonexported form, but with PNGAPI, and removed them from module def files.
  Removed "PNGAPI" from png_zalloc() and png_zfree() in png.c
  Plugged various memory leaks; added png_malloc_warn() and png_set_text_2()
    functions.
  Plugged memory leak of png_ptr->current_text (Matt Holgate).
  Check for buffer overflow before reading CRC in pngpread.c (Warwick Allison)
  Plugged memory leak of row_buf in pngtest.c when there is a png_error().
  Detect buffer overflow in pngpread.c when IDAT is corrupted with extra data.
  Changed png_warning() to png_error() when width is too large to process.

Revision 1.39.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 18:46:58 2002 UTC (18 years, 6 months ago) by jlam
Branch: buildlink2
Changes since 1.39.2.2: +3 -2 lines
Diff to previous 1.39.2.2 (colored) to branchpoint 1.39 (colored)

Merge from pkgsrc-current to buildlink2 branch.

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Fri Jun 21 23:05:25 2002 UTC (18 years, 7 months ago) by jlam
Branch: buildlink2
Changes since 1.39.2.1: +4 -4 lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored)

Rename USE_BUILDLINK2_ONLY to USE_BUILDLINK2 for less verbosity.  Also
convert a few more packages to use the buildlink2 framework.

Revision 1.41 / (download) - annotate - [select for diffs], Thu May 16 06:08:09 2002 UTC (18 years, 8 months ago) by tron
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Frederick Bruckman maintains this package at the moment.

Revision 1.40 / (download) - annotate - [select for diffs], Thu May 16 03:00:02 2002 UTC (18 years, 8 months ago) by grant
Branch: MAIN
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (colored)

use .tar.bz2 distfile

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Sat May 11 02:09:14 2002 UTC (18 years, 8 months ago) by jlam
Branch: buildlink2
Changes since 1.39: +5 -6 lines
Diff to previous 1.39 (colored)

First pass at conversion of various packages to use the buildlink2
framework.  Add many buildlink2.mk files to add to the framework.  Please
see buildlink2.txt for more details.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Mar 13 17:43:38 2002 UTC (18 years, 10 months ago) by fredb
Branch: MAIN
CVS Tags: netbsd-1-5-PATCH003
Branch point for: buildlink2
Changes since 1.38: +5 -4 lines
Diff to previous 1.38 (colored)

Update png to 1.2.1. Includes an ABI change and a concommittent bump in the
shared library version, and in the dependendency information for hundreds of
other packages. [Update to png itself was supplied by Thomas Wizner.]

Relevant changes since 1.0.12, extracted from the "CHANGES" file:

  Re-enabled PNG_MNG_FEATURES_SUPPORTED and enabled PNG_ASSEMBLER_CODE_SUPPORTED
    by default.
  Added runtime selection of MMX features.
  Added png_set_strip_error_numbers function and related macros.
  Added a check for attempts to read or write PLTE in grayscale PNG datastreams.
  Enabled user memory function by default.
  Modified png_create_struct so it passes user mem_ptr to user memory allocator.
  Increased png_mng_features flag from png_byte to png_uint_32.
  Check for missing profile length field in iCCP chunk and free chunk_data
     in case of truncated iCCP chunk.
  Revised contrib/gregbook/rpng*-x.c to avoid a memory leak and to exit cleanly
     if user attempts to run it on an 8-bit display.
  Updated contrib/gregbook
  Use png_malloc instead of png_zalloc to allocate palette in pngset.c
  Added some typecasts to eliminate gcc 3.0 warnings.  Changed prototypes
     of png_write_oFFS width and height from png_uint_32 to png_int_32.
  Updated example.c
  Revised prototypes for png_debug_malloc and png_debug_free in pngtest.c
  Revised contrib/gregbook
  Revised pnggccrd.c to conditionally compile some thread-unsafe code only
     when PNG_THREAD_UNSAFE_OK is defined.
  Added tests to prevent pngwutil.c from writing a bKGD or tRNS chunk with
     value exceeding 2^bit_depth-1
  Replaced calls to fprintf(stderr,...) with png_warning() in pnggccrd.c
  Removed restriction that do_invert_mono only operate on 1-bit opaque files
  Changed a png_warning() to png_debug() in pnggccrd.c
  Fixed contrib/gregbook/rpng-x.c, rpng2-x.c to avoid crash with XFreeGC().
  Include background_1 in png_struct regardless of gamma support.
  Revised example.c to provide more details about using row_callback().
  Added type cast to each NULL appearing in a function call, except for
    WINCE functions.
  Removed type casts from all NULLs.
  Simplified png_create_struct_2().
  Revised png_create_info_struct() and png_creat_struct_2().
  Added error message if png_write_info() was omitted.
  Type cast NULLs appearing in function calls when _NO_PROTO or
    PNG_TYPECAST_NULL is defined.
  Type cast NULLs appearing in function calls except when PNG_NO_TYPECAST_NULL
    is defined.
  Changed typecast of "size" argument to png_size_t in pngmem.c calls to
    the user malloc_fn, to agree with the prototype in png.h
  Added a pop/push operation to pnggccrd.c, to preserve Eflag (Maxim Sobolev)
  Added a pop/push operation to pngvcrd.c, to preserve Eflag.
  Always allocate 256-entry internal palette, hist, and trans arrays, to
    avoid out-of-bounds memory reference caused by invalid PNG datastreams.
  Added a check for prefix_length > data_length in iCCP chunk handler.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Aug 3 23:19:25 2001 UTC (19 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

Update to 1.0.12. Extract of changes since 1.0.11:
. Added some never-to-be-executed code in pnggccrd.c to quiet compiler
  warnings.
. Added a check for attempts to read or write PLTE in grayscale PNG
  datastreams.
. Eliminated the png_error about apps using png_read|write_init().  Instead,
  libpng will reallocate the png_struct and info_struct if they are too small.
  This achieves future binary compatibility for old applications written for
  libpng-0.88 and earlier.  Expanded the warnings about incompatible library
  and application.
. Modified png_create_struct so it passes user mem_ptr to user memory
  allocator.
. Check for missing profile length field in iCCP chunk and free the chunk_data
  in case of truncated iCCP chunk.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Jul 14 03:16:50 2001 UTC (19 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.36: +2 -3 lines
Diff to previous 1.36 (colored)

Move inclusion of buildlink.mk files to end of Makefile.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Jun 19 04:03:42 2001 UTC (19 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.35: +3 -1 lines
Diff to previous 1.35 (colored)

Mark as USE_BUILDLINK_ONLY.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Jun 11 02:05:11 2001 UTC (19 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.34: +1 -4 lines
Diff to previous 1.34 (colored)

The buildlink include and lib directories are added to CFLAGS, CPPFLAGS,
CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra
definitions to add them from the package Makefiles.  As advised by the
bsd.buildlink.mk file, also ensure that the buildlink.mk files are
included prior to defining any package-specific CFLAGS/LDFLAGS to ensure
that the buildlink directories are at the head of the compiler search
paths.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jun 10 00:08:44 2001 UTC (19 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.33: +1 -3 lines
Diff to previous 1.33 (colored)

Remove dependency on ${BUILDLINK_TARGETS} in pre-configure and pre-build
targets as the buildlink.mk files now add the dependency automatically.
Remove any NO_CONFIGURE definitions as they seem to be useless.

Revision 1.33 / (download) - annotate - [select for diffs], Mon May 28 02:41:54 2001 UTC (19 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.32: +8 -1 lines
Diff to previous 1.32 (colored)

png depends on zlib, so add dependency on zlib for those platforms without
in the base system.  Make sure that libz.so is found during the build.

Revision 1.32 / (download) - annotate - [select for diffs], Mon May 21 21:39:13 2001 UTC (19 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored)

Update libpng to 1.0.11.
pkgsrc change: bump shared library major like it happened in libpng some
time ago -- our libtool'ified build didn't reflect this. Fixes pkg/12856
by Thor Simon. Note necessity of manual major/minor handling in Makefile,
to decrease chance that this will repeat in the future.
Changes since 1.0.10:
  Added type casts on several png_malloc() calls (Dimitri Papadapoulos).
  Removed a no-longer needed AIX work-around from pngconf.h
  Changed several "//" single-line comments to C-style in pnggccrd.c
  Removed PNGAPI from several functions whose prototypes did not have PNGAPI.
  Updated scripts/pngos2.def
  Added a check for NULL return from user's malloc_fn().
  Removed some useless type casts of the NULL pointer.
  Added makefile.netbsd [not used, since we're using libtool instead]

Revision 1.31 / (download) - annotate - [select for diffs], Mon Apr 2 02:23:48 2001 UTC (19 years, 9 months ago) by mjl
Branch: MAIN
CVS Tags: netbsd-1-5-PATCH001
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Update to 1.0.10. Updates are bug fixes and MMX support.

  Moved some error checking from png_handle_IHDR to png_set_IHDR.
  Added PNG_NO_READ_SUPPORTED and PNG_NO_WRITE_SUPPORTED macros.
  Revised png_mmx_support() function in pnggccrd.c
  Restored version 1.0.8 PNG_WRITE_EMPTY_PLTE_SUPPORTED behavior in pngwutil.c
  Fixed memory leak in contrib/visupng/PngFile.c
  Fixed bugs in png_combine_row() in pnggccrd.c and pngvcrd.c (C version)
  Added warnings when retrieving or setting gamma=0.
  Increased the first part of msg buffer from 16 to 18 in png_chunk_warning().
  Fixed bug in progressive reading (pngpread.c) with small images (height < 8).

Revision 1.30 / (download) - annotate - [select for diffs], Fri Mar 30 12:57:38 2001 UTC (19 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

Fix quoting problems.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Mar 4 07:53:34 2001 UTC (19 years, 10 months ago) by tron
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

As point by Johnny C. Lam in private e-mail a new function was added in
this release of the PNG library. So increase the shared library minor
number and bump the package version to "1.0.9nb1".

Revision 1.28 / (download) - annotate - [select for diffs], Sat Mar 3 22:24:01 2001 UTC (19 years, 10 months ago) by tron
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

Update "png" package to version 1.0.9. This update fixes several bugs
found in version 1.0.8. Patches contributed by Nathan Ahlstrom
in PR pkg/12317.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Feb 16 15:22:31 2001 UTC (19 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jan 13 03:24:26 2001 UTC (20 years ago) by jlam
Branch: MAIN
Changes since 1.25: +7 -7 lines
Diff to previous 1.25 (colored)

Replace spaces with tabs.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jan 13 03:20:54 2001 UTC (20 years ago) by jlam
Branch: MAIN
Changes since 1.24: +4 -3 lines
Diff to previous 1.24 (colored)

HOMEPAGE and primary FTP site have moved.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jan 13 01:33:20 2001 UTC (20 years ago) by tron
Branch: MAIN
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

Make this build if "${CC}" is not "cc".

Revision 1.23 / (download) - annotate - [select for diffs], Wed Aug 2 15:43:49 2000 UTC (20 years, 5 months ago) by tron
Branch: MAIN
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-4-PATCH003
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Evalute package name from distribution file name.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Aug 1 15:58:23 2000 UTC (20 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

Update to libpng-1.0.8. Changes since 1.0.7:
o Added png_free(png_ptr, key) two places in pngpread.c to stop memory
  leaks.
o Changed PNG_NO_STDIO to PNG_NO_CONSOLE_IO, several places in
  pngrutil.c and pngwutil.c.
o Changed PNG_EXPORT_VAR to use PNG_IMPEXP, in pngconf.h.
o Removed unused "#include <assert.h>" from png.c
o Added WindowsCE support.
o Revised pnggccrd.c to work with gcc-2.95.2 and in the Cygwin environment.
o Only set the PNG_FLAG_FREE_TRNS or PNG_FREE_TRNS flag in
  png_handle_tRNS() for indexed-color input files to avoid potential
  double-freeing trans array under some unusual conditions; problem
  was introduced in version 1.0.7.
o Added the files pngbar.png and pngbar.jpg to the distribution.
o Added cygwin subdirectory, makefile.cygwin, and cygwin support in pngconf.h
o Added PNG_NO_ZALLOC_ZERO macro (makes png_zalloc skip zeroing memory)
o Revised png_debug() macros and statements to eliminate compiler warnings.
o Updated makefile.hpux to build a shared library.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 3 12:06:47 2000 UTC (20 years, 6 months ago) by rh
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Update png to 1.0.7.

Changes are:
  Changed sprintf() to strcpy() in png_write_sCAL_s() to work without STDIO
  Added data_length parameter to png_decompress_chunk() function
  Revised documentation to remove reference to abandoned png_free_chnk functions
  Fixed an error in png_rgb_to_gray_fixed()
  Revised example.c, usage of png_destroy_write_struct().
  Renamed makefile.ibmvac3 to makefile.ibmc, added libpng.icc IBM project file
  Added a check for info_ptr->free_me&PNG_FREE_TEXT when free'ing text in png.c
  Simplify png_sig_bytes() function to remove use of non-ISO-C strdup().
  Added png_data_freer() function.
  In the code that checks for over-length tRNS chunks, added check of
    info_ptr->num_trans as well as png_ptr->num_trans (Matthias Benckmann)
  Check for existing data and free it if the free_me flag is set, in png_set_*()
    and png_handle_*().
  Only define PNG_WEIGHTED_FILTERS_SUPPORTED when PNG_FLOATING_POINT_SUPPORTED
    is defined.
  Changed several instances of PNG_NO_CONSOLE_ID to PNG_NO_STDIO in pngrutil.c
    and mentioned the purposes of the two macros in libpng.txt/libpng.3.
  Revised png_set_iCCP() and png_set_rows() to avoid prematurely freeing data.
  Add checks in png_set_text() for NULL members of the input text structure.
  Removed superfluous prototype for png_set_itxt from png.h
  Removed "else" from pngread.c, after png_error(), and changed "0" to "length".
  Changed several png_errors about malformed ancillary chunks to png_warnings.
  Added png_pass-* arrays to pnggccrd.c when PNG_USE_LOCAL_ARRAYS is defined.
  Relocated paragraph about png_set_background() in libpng.3/libpng.txt
    and other revisions (Matthias Benckmann)
  Relocated info_ptr->free_me to restore binary compatibility with libpng-1.0.5
    (breaks compatibility with libpng-1.0.6).
  Relocated info_ptr->free_me, png_ptr->free_me, and other info_ptr and
    png_ptr members to restore binary compatibility with libpng-1.0.5
    (breaks compatibility with libpng-1.0.6).
  Rearranged some members at the end of png_info and png_struct, to put
    unknown_chunks_num and free_me within the original size of the png_structs
    and free_me, png_read_user_fn, and png_free_fn within the original png_info,
    because some old applications allocate the structs directly instead of
    using png_create_*().
  Added documentation of user memory functions in libpng.txt/libpng.3
  Modified png_read_png so that it will use user_allocated row_pointers
    if present, unless free_me directs that it be freed, and added description
    of the use of png_set_rows() and png_get_rows() in libpng.txt/libpng.3.
  Added PNG_LEGACY_SUPPORTED macro, and #ifdef out all new (since version
    1.00) members of png_struct and png_info, to regain binary compatibility
    when you define this macro.  Capabilities lost in this event
    are user transforms (new in version 1.0.0),the user transform pointer
    (new in version 1.0.2), rgb_to_gray (new in 1.0.5), iCCP, sCAL, sPLT,
    the high-level interface, and unknown chunks support (all new in 1.0.6).
    This was necessary because of old applications that allocate the structs
    directly as authors were instructed to do in libpng-0.88 and earlier,
    instead of using png_create_*().
  Added makefile.intel and updated makefile.watcom (Pawel Mrochen)
  Overloaded png_read_init() and png_write_init() with macros that convert
    calls to png_read_init_2() or png_write_init_2() that check the version
    and structure sizes.
  Made PNG_NO_ITXT_SUPPORTED the default setting, to avoid memory overrun
    when old applications fill the info_ptr->text structure directly.
  Added PNGAPI macro, and added it to the definitions of all exported functions.
  Relocated version macro definitions ahead of the includes of zlib.h and
    pngconf.h in png.h.
  Made PNG_NO_CONSOLE_IO the default condition when PNG_BUILD_DLL is defined.
  Use MSC _RPTn debugging instead of fprintf if _MSC_VER is defined.
  Added png_access_version_number() function.
  Check for mask&PNG_FREE_CHNK (for TEXT, SCAL, PCAL) in png_free_data().
  Expanded libpng.3/libpng.txt information about png_data_freer().
  Changed pnggccrd.c and pngvcrd.c to handle bad adaptive filter types as
    warnings instead of errors, as pngrutil.c does.
  Set the PNG_INFO_IDAT valid flag in png_set_rows() so png_write_png()
    will actually write IDATs.
  Made the default PNG_USE_LOCAL_ARRAYS depend on PNG_DLL instead of WIN32.
  Make png_free_data() ignore its final parameter when freeing data that can
    have multiple instances (text, sPLT, unknowns).
  Removed info_ptr->valid tests from png_free_data(), as in version 1.0.5.
  Added png_set_invalid() function.
  Fixed incorrect illustrations of png_destroy_write_struct() in example.c.
  Revised the deliberately erroneous Linux setjmp code in pngconf.h to produce
    fewer error messages.
  Set each pointer to NULL after freeing it in png_free_data().
  Worked around a problem in pngconf.h; AIX's strings.h defines an "index"
    macro that conflicts with libpng's png_color_16.index. (Dimitri Papadapoulos)
  Added PNG_NO_POINTER_INDEXING macro to use array-indexing instead of pointer
    indexing in pngrutil.c and pngwutil.c to accommodate a buggy compiler.
  Added a check for overlength PLTE chunk in pngrutil.c.
  Added PNG_NO_POINTER_INDEXING macro to use array-indexing instead of pointer
    indexing in pngrutil.c and pngwutil.c to accommodate a buggy compiler.
  Added a warning in png_decompress_chunk() when it runs out of data.
  Revised the copyright/disclaimer/license notice.
  Corrected the definition of PNG_TRANSFORM_INVERT_ALPHA  (0x0400 not 0x0200)
  Added PNG_USE_DLL macro.
  Added "msvc" and contrib/msvctest directories with MSVC++ project files
    (Simon-Pierre Cadieux) and contrib/visupng directory (Willem van Schaik).
  Removed leading underscores from "_PNG_H" and "_PNG_SAVE_BSD_SOURCE" macros.
  Fixed bugs in pngwrite.c and pngwutil.c that prevented writing iCCP chunks.
  Revised the definition of "trans_values" in libpng.3/libpng.txt

Revision 1.20 / (download) - annotate - [select for diffs], Sat Jun 3 19:46:42 2000 UTC (20 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Fix library dependencies (on libm and libz).
USE_LIBTOOL instead of USE_PKGLIBTOOL.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jun 1 11:23:31 2000 UTC (20 years, 7 months ago) by rh
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Apr 20 02:11:46 2000 UTC (20 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.17: +6 -1 lines
Diff to previous 1.17 (colored)

install man pages for libpng, as requested in pkg/9937.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Mar 21 23:24:24 2000 UTC (20 years, 10 months ago) by tron
Branch: MAIN
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored)

Use official site and official mirror in master site list.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Mar 21 22:07:57 2000 UTC (20 years, 10 months ago) by tron
Branch: MAIN
Changes since 1.15: +3 -4 lines
Diff to previous 1.15 (colored)

Update "png" package to version 1.0.6. Changes since version 1.0.5:
- Added contrib/pngsuite and contrib/pngminus (Willem van Schaik)
- Fixed a typo in the png_set_sRGB() function call in example.c (Jan Nijtmans)
- Further optimization and bugfix of pngvcrd.c
- Revised pngset.c so that it does not allocate or free memory in the user's
  text_ptr structure.- Instead, it makes its own copy.
- Added code in pngwrite.c to free info_ptr->text[i].key to stop a memory leak.
- Created separate write_end_info_struct in pngtest.c for a more severe test.
- Moved PNG_FLAG_HAVE_CHUNK_HEADER, PNG_FLAG_BACKGROUND_IS_GRAY and
  PNG_FLAG_WROTE_tIME from flags to mode.
- Added png_write_info_before_PLTE() function.
- Fixed some typecasting in contrib/gregbook/*.c
- Updated scripts/makevms.com (Martin Zinser)
- Moved png_get_header_version from png.h to png.c, to accomodate ansi2knr.
- Removed all global arrays (according to PNG_NO_GLOBAL_ARRAYS macro), to
  accomodate making DLL's: Moved usr_png_ver from global variable to function
  png_get_header_ver() in png.c.- Moved png_sig to png_sig_bytes in png.c and
  eliminated use of png_sig in pngwutil.c.- Moved the various png_CHNK arrays
  into local arrays.- Eliminated use of global png_pass arrays.- Declared the
  png_CHNK and png_pass arrays to be "const".- Made the global arrays
  available to applications when PNG_NO_GLOBAL_ARRAYS is not defined or
  when PNG_USE_GLOBAL_ARRAYS is defined.- Made available to applications a
  macro "PNG_USE_LOCAL_ARRAYS".
- Changed the PNG_sRGB_INTENT macros in png.h to be consistent with PNG-1.2.
- Change PNG_SRGB_INTENT to PNG_sRGB_INTENT in libpng.txt and libpng.3
- Added PNG_EXPORT_VAR macro to accommodate making DLL's.
- Refactored the inflate/deflate support to make adding new chunks with
  trailing compressed parts easier in the future (Eric S. Raymond).
- Added iCCP, iTXt, sCAL, and sPLT support; added "lang", "lang_key", and
  itxt_length" members to the png_text structure (Eric S. Raymond, Glenn R-P)
- Changed png_get_oFFs() and png_set_oFFs() to use signed rather than unsigned
  offsets (Eric S. Raymond).
- Combined PNG_READ_cHNK_SUPPORTED and PNG_WRITE_cHNK_SUPPORTED macros into
  PNG_cHNK_SUPPORTED and combined the three types of PNG_text_SUPPORTED
  macros, leaving the separate macros also available.
- Removed comments on #endifs at the end of many short, non-nested #if-blocks.
- Changed makefile.solaris to issue a warning about potential problems when
  the ucb "ld" is in the path ahead of the ccs "ld".
- Removed "- [date]" from the "synopsis" line in libpng.3 and libpngpf.3.
- Added code in pngwrite.c to work around a newly discovered zlib bug.
- Unknown chunk handling is now supported (Eric S. Raymond).
- Option to eliminate all floating point support was added.- Some new
  fixed-point functions such as png_set_gAMA_fixed() were added.
- Added new type "png_fixed_point" for integers that hold float*100000 values
- Added many parentheses, e.g., "if (a && b & c)" becomes "if (a && (b & c))"
- Added png_handle_as_unknown()
- Added chunk_list and num_chunk_list members of png_ptr.
- Define png_get_int_32 when oFFs chunk is supported as well as when pCAL is.
- Added functions png_set_read_user_chunk_fn() and png_get_user_chunk_ptr()
  for setting a callback function to handle unknown chunks and for
  retrieving the associated user pointer (Glenn).
- Added png_free_data() function.
- Added high-level functions png_read_png() and png_write_png() (ESR).
- Renamed pngdll.mak to makefile.bd32
- Cosmetic changes in pngtest.c
- Fixed pngvcrd.c bug by pushing/popping registers in mmxsupport (Bruce Oberg)
- Revised makefile.gcmmx
- Fixed a bug in pngrtran.c that improperly expanded the background color.
- Return *num_text=0 from png_get_text() when appropriate, and fix
  documentation of png_get_text() in libpng.txt/libpng.3.
- Added PNG_SETJMP_SUPPORTED, PNG_SETJMP_NOT_SUPPORTED, and PNG_ABORT() and
  "png_jmpbuf()" macros to pngconf.h, to help people migrate to the new error
  handler that's planned for the next libpng release, and changed example.c,
  pngtest.c, and contrib programs to use this macro.
- Revised some of the DLL-export macros in pngconf.h (Greg Roelofs)
- Fixed some mistakes in the unused and undocumented INCH_CONVERSIONS functions
  in pngget.c
- Updated makefile.linux and makefile.gccmmx to make directories conditionally.
- Increased precision of rgb_to_gray calculations from 8 to 15 bits and
  added png_set_rgb_to_gray_fixed() function.
- Added makefile.bc32 (32-bit Borland C++, C mode)
- Updated references to the zlib home page, which has moved to
  freesoftware.com.
- Corrected bugs in documentation regarding png_read_row() and png_write_row().
- Renamed makefile.borland,turboc3 back to makefile.bor,tc3 as in version
  1.0.3, revised borland makefiles; added makefile.ibmvac3 and makefile.gcc
  (Cosmin)
- Added makefile.sggcc (SGI IRIX with gcc)

Revision 1.15 / (download) - annotate - [select for diffs], Wed Feb 9 22:13:34 2000 UTC (20 years, 11 months ago) by tron
Branch: MAIN
CVS Tags: netbsd-1-4-PATCH002
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

Add mirror on "ftp.fu-berlin.de".

Revision 1.14 / (download) - annotate - [select for diffs], Wed Feb 9 15:22:31 2000 UTC (20 years, 11 months ago) by tron
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Update "png" package to version 1.0.5. This version mostly fixes bugs
discovered since version 1.0.3. A complete list of the changes can be
found under "ftp://ftp.uu.net/graphics/png/src/libpng-1.0.5-README.txt".

Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 4 13:50:48 1999 UTC (21 years, 10 months ago) by tron
Branch: MAIN
CVS Tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH001, comdex-fall-1999
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Update "png" package to version 1.0.3.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Feb 20 22:48:31 1999 UTC (21 years, 11 months ago) by hubertf
Branch: MAIN
Changes since 1.11: +1 -3 lines
Diff to previous 1.11 (colored)

Fix CONFLICTS (remove redundancy, mostly)

Revision 1.11 / (download) - annotate - [select for diffs], Thu Aug 20 15:17:01 1998 UTC (22 years, 5 months ago) by tsarna
Branch: MAIN
CVS Tags: netbsd-1-3-PATCH003
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

The Grand Homepagification:
	- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jul 24 01:57:00 1998 UTC (22 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.9: +2 -3 lines
Diff to previous 1.9 (colored)

Update to use USE_LIBTOOL.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jul 15 11:45:54 1998 UTC (22 years, 6 months ago) by tv
Branch: MAIN
Changes since 1.8: +9 -5 lines
Diff to previous 1.8 (colored)

Update libpng to 1.0.2.  Works with all dependent pkgs I have tested
(everything but ImageMagick, gs5, and xemacs20).  The API hasn't changed
much, say the install instructions, but it isn't binary compatible--bump
shlib version to 1.0.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jul 15 11:29:21 1998 UTC (22 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.7: +1 -4 lines
Diff to previous 1.7 (colored)

Use automatic shared object handling

Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 20 11:56:24 1998 UTC (22 years, 9 months ago) by frueauf
Branch: MAIN
CVS Tags: netbsd-1-3-PATCH002
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Substitute all obvious FreeBSD ppl as MAINTAINER with packages@netbsd.org.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Apr 15 10:38:26 1998 UTC (22 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.5: +2 -7 lines
Diff to previous 1.5 (colored)

Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Feb 2 08:59:21 1998 UTC (22 years, 11 months ago) by hubertf
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Remove -m argument from ldconfig calls, require the system to
have ${PREFIX}/lib in ld.so.conf instead. This ensures things
even work after a reboot.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Feb 2 08:10:56 1998 UTC (22 years, 11 months ago) by hubertf
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Introduce TRUE?=/usr/bin/true, and use it.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jan 24 05:27:26 1998 UTC (22 years, 11 months ago) by hubertf
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

portlint: fix RCS Id, ldconfig||true

Revision 1.2 / (download) - annotate - [select for diffs], Mon Oct 6 13:42:02 1997 UTC (23 years, 3 months ago) by agc
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

Add NetBSD RCS Ids.

Attempt to make the target directories ${PREFIX}-dependent.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Mon Oct 6 13:29:38 1997 UTC (23 years, 3 months ago) by agc
Branch: FREEBSD
CVS Tags: FreeBSD-current-1997-10-05
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Initial import of FreeBSD graphics ports into the NetBSD packages
system.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Oct 6 13:29:38 1997 UTC (23 years, 3 months ago) by agc
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>