The zlib code in the src/lib/libz tree does not appear to have this patch applied:
https://github.com/madler/zlib/commit/9aaec95e82117c1cb0f9624264c3618fc380cecb The patch that follows would also likely be a good idea: https://github.com/madler/zlib/commit/6a043145ca6e9c55184013841a67b2fef87e44c0 HTH
