File mingw32-zlib.changes of Package mingw32-zlib
-------------------------------------------------------------------
Mon Mar 9 08:20:35 UTC 2026 - Fridrich Strba <fstrba@suse.com>
- Upgrade to upstream version 1.3.2
* Changes in 1.3.2
+ Continued rewrite of CMake build
+ Various portability improvements
+ Various github workflow additions and improvements
+ Check for negative lengths in crc32_combine functions
+ Copy only the initialized window contents in inflateCopy
+ Prevent the use of insecure functions without an explicit
request
+ Add compressBound_z and deflateBound_z functions for large
values
+ Use atomics to build inflate fixed tables once
+ Add definition of ZLIB_INSECURE to build tests with c89 and
c94
+ Add --undefined option to ./configure for UBSan checker
+ Copy only the initialized deflate state in deflateCopy
+ Zero inflate state on allocation
+ Remove untgz from contrib
+ Add _z versions of the compress and uncompress functions
+ Vectorize the CRC-32 calculation on the s390x
+ Set bit 11 of the zip header flags in minizip if UTF-8
+ Update OS/400 support
+ Add a test to configure to check for a working compiler
+ Check for invalid NULL pointer inputs to zlib operations
+ Add --mandir to ./configure to specify manual directory
+ Add LICENSE.Info-Zip to contrib/minizip
+ Remove vstudio projects in lieu of cmake-generated projects
+ Replace strcpy() with memcpy() in contrib/minizip
* Changes in 1.3.1.2
+ Improve portability to RISC OS
+ Permit compiling contrib/minizip/unzip.c with decryption
+ Enable build of shared library on AIX
+ Make deflateBound() more conservative and handle Z_STREAM_END
+ Add zipAlreadyThere() to minizip zip.c to help avoid
duplicates
+ Make z_off_t 64 bits by default
+ Add deflateUsed() function to get the used bits in the last
byte
+ Avoid out-of-bounds pointer arithmetic in inflateCopy()
+ Add Haiku to configure for proper LDSHARED settings
+ Add Bazel targets
+ Complete rewrite of CMake build
+ Clarify the use of errnum in gzerror()
+ Note that gzseek() requests are deferred until the next
operation
+ Note the use of gzungetc() to run a deferred seek while
reading
+ Fix bug in inflatePrime() for 16-bit ints
+ Add a "G" option to force gzip, disabling transparency in
gzread()
+ Improve the discrimination between trailing garbage and bad
gzip
+ Allow gzflush() to write empty gzip members
+ Remove redundant frees of point list on error in
examples/zran.c
+ Clarify the use of inflateGetHeader()
+ Update links to the RFCs
+ Return all available uncompressed data on error in gzread.c
+ Support non-blocking devices in the gz* routines
+ Various other small improvements
* Changes in 1.3.1
+ Reject overflows of zip header fields in minizip
+ Fix bug in inflateSync() for data held in bit buffer
+ Add LIT_MEM define to use more memory for a small deflate
speedup
+ Fix decision on the emission of Zip64 end records in minizip
+ Add bounds checking to ERR_MSG() macro, used by zError()
+ Neutralize zip file traversal attacks in miniunz
+ Fix a bug in ZLIB_DEBUG compiles in check_match()
+ Various portability and appearance improvements
* Changes in 1.3
+ Remove K&R function definitions and zlib2ansi
+ Fix bug in deflateBound() for level 0 and memLevel 9
+ Fix bug when gzungetc() is used immediately after gzopen()
+ Fix bug when using gzflush() with a very small buffer
+ Fix crash when gzsetparams() attempted for transparent write
+ Fix test/example.c to work with FORCE_STORED
+ Rewrite of zran in examples (see zran.c version history)
+ Fix minizip to allow it to open an empty zip file
+ Fix reading disk number start on zip64 files in minizip
+ Fix logic error in minizip argument processing
+ Add minizip testing to Makefile
+ Read multiple bytes instead of byte-by-byte in minizip
unzip.c
+ Add memory sanitizer to configure (--memory)
+ Various portability improvements
+ Various documentation improvements
+ Various spelling and typo corrections
- Modified patches:
* 0001-cmake-Fix-pkgconfig-support-on-Windows.patch
-> cmake-Fix-pkgconfig-support-on-Windows.patch
+ Adapt to new cmake versions
* zlib-1.2.5-nostrip.patch -> zlib-1.3.2-nostrip.patch
+ Adapt to new context
- Added patch:
* zlib-1.3.2-no-static-suffix.patch
+ Do not use "z" suffix for our static library
-------------------------------------------------------------------
Mon Nov 17 20:04:42 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Consistently build with cmake
-------------------------------------------------------------------
Tue Mar 28 04:50:54 UTC 2023 - Ralf Habacker <ralf.habacker@freenet.de>
- Use absolute path to change into minizp source dir to be independent
from the current path used by mingw32-cross-cmake provided
macros
- Drop obsolete build dependencies (boo#1201119)
-------------------------------------------------------------------
Tue Mar 28 04:48:52 UTC 2023 - Ralf Habacker <ralf.habacker@freenet.de>
- Use mingw32-cross-cmake package (boo#1209611)
-------------------------------------------------------------------
Fri Mar 17 08:59:44 UTC 2023 - Ralf Habacker <ralf.habacker@freenet.de>
- Fix not finding zconf.h and libz.dll.a with autotools submodule build
- Use cmake provided macros
- Fix warning that package obsoletes itself
-------------------------------------------------------------------
Mon Jan 2 09:14:40 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.2.13:
* Fix configure issue that discarded provided CC definition
* Correct incorrect inputs provided to the CRC functions
* Repair prototypes and exporting of new CRC functions
* Fix inflateBack to detect invalid input with distances too far
* Have infback() deliver all of the available output up to any error
* Fix a bug when getting a gzip header extra field with inflate
* Fix bug in block type selection when Z_FIXED used
* Tighten deflateBound bounds
* Remove deleted assembler code references
* Various portability and appearance improvements
-------------------------------------------------------------------
Mon Apr 4 10:15:19 UTC 2022 - Ralf Habacker <ralf.habacker@freenet.de>
- Update to 1.2.12
* Fix a deflate bug when using the Z_FIXED strategy that can
result in out-of-bound accesses. (bsc#1197459)
* Fix a deflate bug when the window is full in deflate_stored().
* Speed up CRC-32 computations by a factor of 1.5 to 3.
* Use the hardware CRC-32 instruction on ARMv8 processors.
* Speed up crc32_combine() with powers of x tables.
* Add crc32_combine_gen() and crc32_combine_op() for fast combines.
-------------------------------------------------------------------
Mon Jan 10 10:36:41 UTC 2022 - Ralf Habacker <ralf.habacker@freenet.de>
- Add runtime package as dependency to development package to fix
running cross compiled application (boo#1194430)
-------------------------------------------------------------------
Thu Sep 30 15:18:37 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Modernize specfile for Factory resubmission:
* trim rpmlintrc/post-build-checks ignores to minimum
* apply descriptions from main zlib.spec
* replace old specfile constructs like %defattr
-------------------------------------------------------------------
Sun May 5 15:02:38 UTC 2019 - ralf.habacker@freenet.de
- migrate to cmake to support static library
(Adapting the custom configure script required too much effort)
- use mingw filename pattern for shared library (libz.dll) to
prevent conflicts with preinstalled z libraries on native Windows
- let zlib1.dll still be existant for compatibility