Subject: CVS commit: pkgsrc/devel/zlib
From: Thomas Klausner
Date: 2022-03-30 00:09:41
Message id: 20220329220941.D8E86FB24@cvs.NetBSD.org

Log Message:
zlib: update to 1.2.12

pkgsrc change:
Add unistd.h to gzguts.h to fix warning on NetBSD.

Changes in 1.2.12 (27 Mar 2022)
- Cygwin does not have _wopen(), so do not create gzopen_w() there
- Permit a deflateParams() parameter change as soon as possible
- Limit hash table inserts after switch from stored deflate
- Fix bug when window full in deflate_stored()
- Fix CLEAR_HASH macro to be usable as a single statement
- Avoid a conversion error in gzseek when off_t type too small
- Have Makefile return non-zero error code on test failure
- Avoid some conversion warnings in gzread.c and gzwrite.c
- Update use of errno for newer Windows CE versions
- Small speedup to inflate [psumbera]
- Return an error if the gzputs string length can't fit in an int
- Add address checking in clang to -w option of configure
- Don't compute check value for raw inflate if asked to validate
- Handle case where inflateSync used when header never processed
- Avoid the use of ptrdiff_t
- Avoid an undefined behavior of memcpy() in gzappend()
- Avoid undefined behaviors of memcpy() in gz*printf()
- Avoid an undefined behavior of memcpy() in _tr_stored_block()
- Make the names in functions declarations identical to definitions
- Remove old assembler code in which bugs have manifested
- Fix deflateEnd() to not report an error at start of raw deflate
- Add legal disclaimer to README
- Emphasize the need to continue decompressing gzip members
- Correct the initialization requirements for deflateInit2()
- Fix a bug that can crash deflate on some input when using Z_FIXED
- Assure that the number of bits for deflatePrime() is valid
- Use a structure to make globals in enough.c evident
- Use a macro for the printf format of big_t in enough.c
- Clean up code style in enough.c, update version
- Use inline function instead of macro for index in enough.c
- Clarify that prefix codes are counted in enough.c
- Show all the codes for the maximum tables size in enough.c
- Add gznorm.c example, which normalizes gzip files
- Fix the zran.c example to work on a multiple-member gzip file
- Add tables for crc32_combine(), to speed it up by a factor of 200
- Add crc32_combine_gen() and crc32_combine_op() for fast combines
- Speed up software CRC-32 computation by a factor of 1.5 to 3
- Use atomic test and set, if available, for dynamic CRC tables
- Don't bother computing check value after successful inflateSync()
- Correct comment in crc32.c
- Add use of the ARMv8 crc32 instructions when requested
- Use ARM crc32 instructions if the ARM architecture has them
- Explicitly note that the 32-bit check values are 32 bits
- Avoid adding empty gzip member after gzflush with Z_FINISH
- Fix memory leak on error in gzlog.c
- Fix error in comment on the polynomial representation of a byte
- Clarify gz* function interfaces, referring to parameter names
- Change macro name in inflate.c to avoid collision in VxWorks
- Correct typo in blast.c
- Improve portability of contrib/minizip
- Fix indentation in minizip's zip.c
- Replace black/white with allow/block. (theresa-m)
- minizip warning fix if MAXU32 already defined. (gvollant)
- Fix unztell64() in minizip to work past 4GB. (Daniël Hörchner)
- Clean up minizip to reduce warnings for testing
- Add fallthrough comments for gcc
- Eliminate use of ULL constants
- Separate out address sanitizing from warnings in configure
- Remove destructive aspects of make distclean
- Check for cc masquerading as gcc or clang in configure
- Fix crc32.c to compile local functions only if used

Files:
RevisionActionfile
1.6modifypkgsrc/devel/zlib/files/zutil.h
1.6modifypkgsrc/devel/zlib/files/zutil.c
1.6modifypkgsrc/devel/zlib/files/zlib.h
1.6modifypkgsrc/devel/zlib/files/zlib.3
1.6modifypkgsrc/devel/zlib/files/zconf.h
1.6modifypkgsrc/devel/zlib/files/uncompr.c
1.7modifypkgsrc/devel/zlib/files/trees.c
1.6modifypkgsrc/devel/zlib/files/inftrees.c
1.4modifypkgsrc/devel/zlib/files/inflate.h
1.6modifypkgsrc/devel/zlib/files/inflate.c
1.5modifypkgsrc/devel/zlib/files/inffast.c
1.5modifypkgsrc/devel/zlib/files/infback.c
1.5modifypkgsrc/devel/zlib/files/gzwrite.c
1.5modifypkgsrc/devel/zlib/files/gzread.c
1.5modifypkgsrc/devel/zlib/files/gzlib.c
1.5modifypkgsrc/devel/zlib/files/gzguts.h
1.7modifypkgsrc/devel/zlib/files/deflate.h
1.7modifypkgsrc/devel/zlib/files/deflate.c
1.4modifypkgsrc/devel/zlib/files/crc32.h
1.5modifypkgsrc/devel/zlib/files/crc32.c
1.6modifypkgsrc/devel/zlib/files/compress.c
1.5modifypkgsrc/devel/zlib/files/adler32.c
1.6modifypkgsrc/devel/zlib/files/README
1.6modifypkgsrc/devel/zlib/files/ChangeLog
1.58modifypkgsrc/devel/zlib/Makefile