DragonFlyBSD - Revision 353d2754 (dragonflybsd): stand: Fix zf_open() by providing 'zalloc' and '...
When Z_SOLO is defined, zlib is built for a standalone environment,where there is no host memory management, so the caller must providesthe 'zalloc' and 'zfree' hooks. Otherwise, inflateInit2() would return-2 (Z_STREAM_ERROR). This fixes th…