curl-library
Re: LDAP
Date: Sun, 12 Aug 2007 16:57:33 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Aug 11, 2007, at 4:57 PM, Daniel Stenberg wrote:
> On Fri, 10 Aug 2007, Patrick Monnerat wrote:
>
>> Daniel, I know you want to insert a tag, so I prefer you commit it
>> your way. Remember file lib/ldap.h is renamed by this patch, so
>> the (empty) lib/ldap.h after patch should removed from CVS.
>
> Thanks. I committed it right now, the CVS tag set just before my
> commit is named curl-7_17_0-preldapfix.
This patch broke building on Mac OS X and several other autobuilds.
The problem is that ldap.c has '#define LDAP_DEPRECATED' but /usr/
include/ldap.h uses '#if LDAP_DEPRECATED' several times which creates
an empty expression. Using '#define LDAP_DEPRECATED 1' instead builds
correctly on my system with OpenLDAP 2.2.19.
Daniel Johnson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: http://homepage.mac.com/danielj7/publickey.txt
iD8DBQFGv3Q94sDFGYouOqARAstxAJ4hyZit+WpQ14Jtbrp7/k4FdU4A1QCbBAVM
fkEtXkRZ41EWcHKcLYqRCcE=
=DPWv
-----END PGP SIGNATURE-----
Received on 2007-08-12