Re: HEADSUP: zlib updated [svn commit: r205471 - in head: . lib/libz lib/libz/contrib lib/libz/doc sys/sys]

From: Michael Butler <imb_at_protected-networks.net>
Date: Sat, 27 Mar 2010 11:59:11 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/22/10 17:27, Xin LI wrote:
> Just a heads-up that zlib in base system (libz) has been updated to
> 1.2.4.  We tried to keep -HEAD as close as possible to the vendor
> version, but there is some changes in its internal data structure, and
> we did not use versioned symbols in the past, making shared library
> version bump unavoidable.

This breaks most (if not all) of the QT4-dependent ports for the lack of
a definition of "off64_t".

Adding ..

/*
 * This is hard-configured for FreeBSD.
 */
#include <sys/types.h>
#define z_off_t off_t
#define off64_t off_t 		<-----
#ifndef _FILE_OFFSET_BITS
#define _FILE_OFFSET_BITS 64
#endif

 .. to /usr/include/zconf.h seems to resolve this breakage,

	imb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkuuK08ACgkQQv9rrgRC1JLsIwCeKKG6GT60PzaB1loO78R2S9Rr
B10An3N/a8h6AZsHGQyoJQ5XBZgpFXP0
=9z9H
-----END PGP SIGNATURE-----
Received on Sat Mar 27 2010 - 14:59:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:02 UTC