libz: Use off_t instead of long.
authorPeter Avalos <pavalos@dragonflybsd.org>
Sat, 2 Apr 2011 07:43:16 +0000 (21:43 -1000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sat, 2 Apr 2011 07:53:54 +0000 (21:53 -1000)
commit5a195d4b0a2de9ce5b0e876177be4aefe1644499
tree0b1d566c17ed1ba2711d6a1dd709c7de5dd586bc
parent92734e3dc3576d68a28eb7d539dd48de730ab82d
libz:  Use off_t instead of long.

This problem was triggered by clamav.  As the comment in zconf.h states,
we'd prefer to always define Z_HAVE_UNISTD_H, but libstand has some issues
with this, which is why we originally had the change to the vendor
source to include <unistd.h> in gzguts.h.

While we're here, there's no point in defining HAVE_MEMCPY in
Makefile.stand, since it's already defined elsewhere in zconf.h.
contrib/zlib-1.2/gzguts.h
contrib/zlib-1.2/zconf.h
lib/libz/Makefile.stand