[iostreams] Cannot compile against zlib 1.2.4

Hi list. zlib 1.2.4 was released in mid-March, reorganzing the sources a bit. They removed gzio.c and added in a bunch of new source files, something the Jamfile for iostreams does not particularly appreciate. I submitted a ticket [1] with a somewhat tested solution (remove gzio from the list of sources), but I have no idea whether it's the right way to solve it as I'm not aware of how the guts of zlib_compressor and friends work. How does one go forward with something like this, as I don't think I've seen much activity from the iostreams camp at all lately? It would be awfully nice to get some kind of fix into 1.43.0, as it currently prevents anyone interested in building zlib automagically via bjam from doing so. One thing I guess might get in the way is whether this should support older versions of zlib sources. In my opinon no, as this only applies to people who want to build from their own freshly unpacked zlib source tree, not affecting people who use prebuilt binaries from their distro or downloads. [1] https://svn.boost.org/trac/boost/ticket/4091 -- Lars Viklund | zao@acc.umu.se

Lars Viklund wrote:
Hi list.
zlib 1.2.4 was released in mid-March, reorganzing the sources a bit. They removed gzio.c and added in a bunch of new source files, something the Jamfile for iostreams does not particularly appreciate.
I submitted a ticket [1] with a somewhat tested solution (remove gzio from the list of sources), but I have no idea whether it's the right way to solve it as I'm not aware of how the guts of zlib_compressor and friends work.
How does one go forward with something like this, as I don't think I've seen much activity from the iostreams camp at all lately?
I guess this one is pretty easy. Ping me on IRC until I commit the fix ;-) I plan to do this tonight, but some friendly nudging won't hurt.
It would be awfully nice to get some kind of fix into 1.43.0, as it currently prevents anyone interested in building zlib automagically via bjam from doing so.
One thing I guess might get in the way is whether this should support older versions of zlib sources. In my opinon no, as this only applies to people who want to build from their own freshly unpacked zlib source tree, not affecting people who use prebuilt binaries from their distro or downloads.
Seems reasonable. - Volodya
participants (2)
-
Lars Viklund
-
Vladimir Prus