Subject: CVS commit: pkgsrc/graphics/png
To: None <pkgsrc-changes@netbsd.org>
From: Frederick Bruckman <fredb@netbsd.org>
List: pkgsrc-changes
Date: 07/19/2002 17:33:09
Module Name:	pkgsrc
Committed By:	fredb
Date:		Fri Jul 19 14:33:09 UTC 2002

Modified Files:
	pkgsrc/graphics/png: Makefile PLIST buildlink.mk distinfo
	pkgsrc/graphics/png/patches: patch-aa

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


To generate a diff of this commit:
cvs rdiff -r1.41 -r1.42 pkgsrc/graphics/png/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/graphics/png/PLIST
cvs rdiff -r1.10 -r1.11 pkgsrc/graphics/png/buildlink.mk
cvs rdiff -r1.8 -r1.9 pkgsrc/graphics/png/distinfo
cvs rdiff -r1.18 -r1.19 pkgsrc/graphics/png/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.