[Zlib-devel] zlib version 1.2.3.8 available for testing

Philip Lowman philip at yhbt.com
Mon Feb 15 01:41:53 EST 2010


On Sat, Feb 13, 2010 at 4:08 PM, Mark Adler <madler at alumni.caltech.edu> wrote:
> All,
>
> Just in time for Valentine's Day (I know this will make your sweetie swoon), you can download the latest beta of zlib, 1.2.3.8 here:
>
>    http://zlib.net/current/beta/
>
> The changes are listed in ChangeLog.  Unless there are any significant issues, this will become zlib 1.2.4.  Please let me know if you have tested it, and on what.  Thank you for your support.

I came across some issues with CMake Cygwin builds and traced it back
to the changeover to zconf.in.h and the CMake build no longer getting
HAVE_UNISTD_H defined which was ultimately breaking example.exe (the
change in z_off_t sizes was presumably breaking zlib).

The following fix adds two #cmakedefine statements to zconf.in.h.  The
configure shell script has been modified to simply remove these
statements when writing out its zconf.h.

With this patch, CMake builds & "make test" succeed on the following platforms:
Cygwin/gcc-4.3.4
Linux-i386/gcc-4.3.3

I also tested MinGW gcc-3.4.5 and it passes.

-- 
Philip Lowman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zlib-1.2.3.8+cmake_in_fixes.diff
Type: application/octet-stream
Size: 1456 bytes
Desc: not available
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20100215/230a75cd/attachment-0001.obj>


More information about the Zlib-devel mailing list