]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update geom_uzip to use new zlib:
authordelphij <delphij@FreeBSD.org>
Thu, 8 Aug 2019 06:27:39 +0000 (06:27 +0000)
committerdelphij <delphij@FreeBSD.org>
Thu, 8 Aug 2019 06:27:39 +0000 (06:27 +0000)
commitccb04b5cd26c81907fae75a9061bc0f87e0f5602
tree09681899a0ab0e504e1ce2315c719522c1f53579
parent6632123aeacc2a3a0f1db1dfd656f7d0fbeba109
Update geom_uzip to use new zlib:

 - Use new zlib headers;
 - Removed z_alloc and z_free to use the common sys/dev/zlib version.
 - Replace z_compressBound with compressBound from zlib.

While there, limit LZMA CFLAGS to apply only for g_uzip_lzma.c.

PR: 229763
Submitted by: Yoshihiro Ota <ota j email ne jp> (with changes,
bugs are mine)
Differential Revision: https://reviews.freebsd.org/D20271
sys/geom/uzip/g_uzip_zlib.c
sys/modules/geom/geom_uzip/Makefile