diff options
author | taca <taca@pkgsrc.org> | 2006-08-06 09:14:46 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2006-08-06 09:14:46 +0000 |
commit | 25801ec0778c299550d650c7c4083168face3b9d (patch) | |
tree | a41e34d3d3bea95b652ea8a7b80618d244f67eb3 /databases/openldap | |
parent | 4cad18b6a54df5e78459fe99991d96f44c19469f (diff) | |
download | pkgsrc-25801ec0778c299550d650c7c4083168face3b9d.tar.gz |
Improve patches/patch-ah to remove C99'ism in any case.
Diffstat (limited to 'databases/openldap')
-rw-r--r-- | databases/openldap/distinfo | 4 | ||||
-rw-r--r-- | databases/openldap/patches/patch-ah | 9 |
2 files changed, 8 insertions, 5 deletions
diff --git a/databases/openldap/distinfo b/databases/openldap/distinfo index dd1868a9686..a4cea3b6b98 100644 --- a/databases/openldap/distinfo +++ b/databases/openldap/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.48 2006/06/07 15:48:29 ghen Exp $ +$NetBSD: distinfo,v 1.49 2006/08/06 09:14:46 taca Exp $ SHA1 (openldap-2.3.24.tgz) = e00f7a017d9223708b77b0df3a612d236789b380 RMD160 (openldap-2.3.24.tgz) = 8b4be685de2c2a7ace1debe97d5bda2354b57a06 @@ -7,7 +7,7 @@ SHA1 (patch-ac) = 905b08c4dea8c61e044ccf66d6af22cc685a3ccc SHA1 (patch-ad) = 24e7ec27d592dd76bdec1e4805801c5304951daf SHA1 (patch-af) = 1ae9137e76e885e03d0f44727197a444893ec7c5 SHA1 (patch-ag) = 8c936e930454e3ae39997c83910eeffb4ad29523 -SHA1 (patch-ah) = 4e20f5b9c7e680cc84938747eccc5be60cd2a03c +SHA1 (patch-ah) = a4978e4981f79768b1840f4cc2b57d9bd6696412 SHA1 (patch-aj) = 6425a7bf08fa35861d0ea71d893836e177b0b29a SHA1 (patch-ak) = 80685a7b46ded94722ea91c2842db424572d6513 SHA1 (patch-am) = 06c17b10bb8cc091461b82fca2b5d6032b613c78 diff --git a/databases/openldap/patches/patch-ah b/databases/openldap/patches/patch-ah index 0f46f25df94..91924fff8e8 100644 --- a/databases/openldap/patches/patch-ah +++ b/databases/openldap/patches/patch-ah @@ -1,14 +1,17 @@ -$NetBSD: patch-ah,v 1.5 2006/05/15 19:01:23 ghen Exp $ +$NetBSD: patch-ah,v 1.6 2006/08/06 09:14:47 taca Exp $ --- libraries/libldap/init.c.orig 2006-05-13 11:47:50.000000000 +0200 +++ libraries/libldap/init.c -@@ -544,6 +544,9 @@ void ldap_int_initialize( struct ldapopt +@@ -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 - char *name = ldap_int_hostname; ++ name = ldap_int_hostname; ldap_int_hostname = ldap_pvt_get_fqdn( name ); + |