Subject: CVS commit: pkgsrc/graphics/png
From: Frederick Bruckman
Date: 2002-07-19 16:33:09
Message id: 20020719143309.D1352B004@cvs.netbsd.org

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.

Files:
RevisionActionfile
1.42modifypkgsrc/graphics/png/Makefile
1.3modifypkgsrc/graphics/png/PLIST
1.11modifypkgsrc/graphics/png/buildlink.mk
1.9modifypkgsrc/graphics/png/distinfo
1.19modifypkgsrc/graphics/png/patches/patch-aa