head 1.11; access; symbols pkgsrc-2013Q2:1.11.0.8 pkgsrc-2013Q2-base:1.11 pkgsrc-2012Q4:1.11.0.6 pkgsrc-2012Q4-base:1.11 pkgsrc-2011Q4:1.11.0.4 pkgsrc-2011Q4-base:1.11 pkgsrc-2011Q2:1.11.0.2 pkgsrc-2011Q2-base:1.11 pkgsrc-2010Q4:1.10.0.4 pkgsrc-2010Q4-base:1.10 pkgsrc-2010Q3:1.10.0.2 pkgsrc-2010Q3-base:1.10 pkgsrc-2010Q2:1.9.0.10 pkgsrc-2010Q2-base:1.9 pkgsrc-2010Q1:1.9.0.8 pkgsrc-2010Q1-base:1.9 pkgsrc-2009Q4:1.9.0.6 pkgsrc-2009Q4-base:1.9 pkgsrc-2009Q3:1.9.0.4 pkgsrc-2009Q3-base:1.9 pkgsrc-2009Q2:1.9.0.2 pkgsrc-2009Q2-base:1.9 pkgsrc-2009Q1:1.8.0.14 pkgsrc-2009Q1-base:1.8 pkgsrc-2008Q4:1.8.0.12 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.8.0.10 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.8 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.6 pkgsrc-2008Q2-base:1.8 cwrapper:1.8.0.4 pkgsrc-2008Q1:1.8.0.2 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.7.0.14 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.12 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.10 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.8 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.6 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.4 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.2 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.4.0.12 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.10 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.8 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.6 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.4 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.2 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.3.0.2 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.2.0.2 pkgsrc-2004Q2-base:1.2; locks; strict; comment @# @; 1.11 date 2011.01.13.13.27.22; author wiz; state dead; branches; next 1.10; 1.10 date 2010.09.24.08.58.41; author wiz; state Exp; branches; next 1.9; 1.9 date 2009.05.13.09.56.05; author wiz; state Exp; branches; next 1.8; 1.8 date 2008.01.13.15.40.13; author wiz; state Exp; branches 1.8.14.1; next 1.7; 1.7 date 2006.05.17.21.48.57; author wiz; state Exp; branches; next 1.6; 1.6 date 2006.04.16.23.19.15; author wiz; state Exp; branches; next 1.5; 1.5 date 2006.04.16.19.39.46; author wiz; state Exp; branches; next 1.4; 1.4 date 2004.12.05.11.17.12; author wiz; state Exp; branches; next 1.3; 1.3 date 2004.08.06.09.25.18; author drochner; state Exp; branches; next 1.2; 1.2 date 2004.05.10.01.15.14; author fredb; state Exp; branches; next 1.1; 1.1 date 2004.03.30.11.09.15; author wiz; state Exp; branches; next ; 1.8.14.1 date 2009.06.07.07.59.25; author spz; state Exp; branches; next ; desc @@ 1.11 log @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. @ text @$NetBSD: patch-ae,v 1.10 2010/09/24 08:58:41 wiz Exp $ Instead of random text that may or may not make compilers error out, use #warning. --- pngconf.h.orig 2009-05-07 16:05:28.000000000 +0000 +++ pngconf.h @@@@ -332,8 +332,8 @@@@ /* If you encounter a compiler error here, see the explanation * near the end of INSTALL. */ - __pngconf.h__ in libpng already includes setjmp.h; - __dont__ include it again.; +#warning __pngconf.h__ in libpng already includes setjmp.h; +#warning __dont__ include it again.; # endif # endif /* __linux__ */ # endif /* PNG_SKIP_SETJMP_CHECK */ @ 1.10 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.9 2009/05/13 09:56:05 wiz Exp $ @ 1.9 log @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. @ text @d1 4 a4 1 $NetBSD: patch-ae,v 1.8 2008/01/13 15:40:13 wiz Exp $ @ 1.8 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.7 2006/05/17 21:48:57 wiz Exp $ d3 1 a3 1 --- pngconf.h.orig 2006-04-23 18:45:34.000000000 +0000 d5 11 a15 11 @@@@ -314,8 +314,8 @@@@ /* If you encounter a compiler error here, see the explanation * near the end of INSTALL. */ - __pngconf.h__ already includes setjmp.h; - __dont__ include it again.; +#warning __pngconf.h__ already includes setjmp.h; +#warning __dont__ include it again.; # endif # endif /* __linux__ */ @ 1.8.14.1 log @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 @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.9 2009/05/13 09:56:05 wiz Exp $ d3 1 a3 1 --- pngconf.h.orig 2009-05-07 16:05:28.000000000 +0000 d5 11 a15 11 @@@@ -332,8 +332,8 @@@@ /* If you encounter a compiler error here, see the explanation * near the end of INSTALL. */ - __pngconf.h__ in libpng already includes setjmp.h; - __dont__ include it again.; +#warning __pngconf.h__ in libpng already includes setjmp.h; +#warning __dont__ include it again.; # endif # endif /* __linux__ */ # endif /* PNG_SKIP_SETJMP_CHECK */ @ 1.7 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.6 2006/04/16 23:19:15 wiz Exp $ d9 1 a9 1 - __png.h__ already includes setjmp.h; d11 1 a11 1 +#warning __png.h__ already includes setjmp.h; @ 1.6 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.5 2006/04/16 19:39:46 wiz Exp $ d3 1 a3 1 --- pngconf.h.orig 2006-04-14 11:22:24.000000000 +0000 d5 1 a5 12 @@@@ -30,10 +30,6 @@@@ #include "pngusr.h" #endif -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - /* * Added at libpng-1.2.8 * @@@@ -311,8 +307,8 @@@@ @ 1.5 log @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 @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.4 2004/12/05 11:17:12 wiz Exp $ d5 12 a16 1 @@@@ -311,8 +311,8 @@@@ @ 1.4 log @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). @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.3 2004/08/06 09:25:18 drochner Exp $ d3 1 a3 1 --- pngconf.h.orig 2004-12-03 01:14:24.000000000 +0100 d5 1 a5 1 @@@@ -304,8 +304,8 @@@@ @ 1.3 log @update to 1.2.6rc1, fixes some security issues, see http://scary.beasts.org/security/CESA-2004-001.txt @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- pngconf.h.orig 2004-08-04 13:34:47.000000000 +0200 d5 1 a5 1 @@@@ -260,8 +260,8 @@@@ @ 1.2 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.1 2004/03/30 11:09:15 wiz Exp $ d3 1 a3 1 --- pngconf.h.orig 2002-10-03 06:32:27.000000000 -0500 d5 8 a12 8 @@@@ -252,8 +252,8 @@@@ # undef _BSD_SOURCE # endif # ifdef _SETJMP_H - __png.h__ already includes setjmp.h; - __dont__ include it again.; +#warning __png.h__ already includes setjmp.h; +#warning __dont__ include it again.; a15 16 @@@@ -1280,6 +1280,7 @@@@ # define CVT_PTR(ptr) (png_far_to_near(png_ptr,ptr,CHECK)) # define CVT_PTR_NOCHECK(ptr) (png_far_to_near(png_ptr,ptr,NOCHECK)) # define png_strcpy _fstrcpy +# define png_strncpy _fstrncpy /* Added to v 1.2.6 */ # define png_strlen _fstrlen # define png_memcmp _fmemcmp /* SJT: added */ # define png_memcpy _fmemcpy @@@@ -1288,6 +1289,7 @@@@ # define CVT_PTR(ptr) (ptr) # define CVT_PTR_NOCHECK(ptr) (ptr) # define png_strcpy strcpy +# define png_strncpy strncpy /* Added to v 1.2.6 */ # define png_strlen strlen # define png_memcmp memcmp /* SJT: added */ # define png_memcpy memcpy @ 1.1 log @Fix pngconf.h on Linux systems. From Michal Pasternak in PR 24581. Ride yesterday's PKGREVISION bump for this one. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- pngconf.h.orig Thu Oct 3 13:32:27 2002 d16 16 @