Subject: Re: CVS commit: pkgsrc/graphics/tiff
To: None <pkgsrc-changes@NetBSD.org>
From: Takahiro Kambe <taca@back-street.net>
List: pkgsrc-changes
Date: 08/04/2006 00:19:16
In message <20060803142156.GA827@Xtrmntr.org>
on Thu, 3 Aug 2006 16:21:56 +0200,
Lubomir Sedlacik <salo@Xtrmntr.org> wrote:
> On Thu, Aug 03, 2006 at 06:41:52PM +0900, Takahiro Kambe wrote:
> > Here is a modified patch-av which should be used with gcc<3.
> > (Tested on unsupported NetBSD 1.6.2_STABLE...)
>
> please commit.
Done. I have similar patch for openldap...
--
Takahiro Kambe <taca@back-street.net>
----------------------------------------------------------------
$NetBSD: patch-ah,v 1.5 2006/05/15 19:01:23 ghen Exp $
--- libraries/libldap/init.c.orig 2006-05-13 11:47:50.000000000 +0200
+++ libraries/libldap/init.c
@@ -544,7 +544,11 @@
#if defined(LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND) \
|| defined(HAVE_TLS) || defined(HAVE_CYRUS_SASL)
{
- char *name = ldap_int_hostname;
+ char *name;
+#if defined(LDAP_R_COMPILE)
+ ldap_pvt_thread_initialize();
+#endif
+ name = ldap_int_hostname;
ldap_int_hostname = ldap_pvt_get_fqdn( name );