pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/courier-authlib Move variable declarations to...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9d54a8e6caff
branches: trunk
changeset: 532955:9d54a8e6caff
user: jlam <jlam%pkgsrc.org@localhost>
date: Wed Sep 05 17:06:55 2007 +0000
description:
Move variable declarations to start of block to appease older C compilers.
diffstat:
security/courier-authlib/distinfo | 3 ++-
security/courier-authlib/patches/patch-ad | 22 ++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (39 lines):
diff -r b70f894cbd15 -r 9d54a8e6caff security/courier-authlib/distinfo
--- a/security/courier-authlib/distinfo Wed Sep 05 16:44:28 2007 +0000
+++ b/security/courier-authlib/distinfo Wed Sep 05 17:06:55 2007 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.9 2007/08/10 17:57:21 jlam Exp $
+$NetBSD: distinfo,v 1.10 2007/09/05 17:06:55 jlam Exp $
SHA1 (courier-authlib-0.59.3.tar.bz2) = d82dd91bac9e51755c9da98736cff96228be4e29
RMD160 (courier-authlib-0.59.3.tar.bz2) = cd0f0868a8fc09824c590430527b07809a12b2a7
Size (courier-authlib-0.59.3.tar.bz2) = 2109183 bytes
SHA1 (patch-aa) = 81cd5a4afadd54dd0303ac9d475aa4892aec6e42
SHA1 (patch-ab) = 802b0636cddbeac782d7bdea3e0060e058cdc65f
+SHA1 (patch-ad) = d43b78dcb6b125d436508934a4fa13f6dffb0ff1
diff -r b70f894cbd15 -r 9d54a8e6caff security/courier-authlib/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/courier-authlib/patches/patch-ad Wed Sep 05 17:06:55 2007 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ad,v 1.1 2007/09/05 17:06:55 jlam Exp $
+
+--- authldaplib.c.orig 2007-01-20 12:03:22.000000000 -0500
++++ authldaplib.c
+@@ -126,7 +126,7 @@ authldap_free_config removed - no longer
+ static char **l_get_values(LDAP *ld, LDAPMessage *entry, const char *attribut)
+ {
+ struct berval **p=ldap_get_values_len(ld, entry, attribut);
+- int n;
++ int i, n;
+ char **a;
+
+ if (!p)
+@@ -144,8 +144,6 @@ static char **l_get_values(LDAP *ld, LDA
+ return NULL;
+ }
+
+- int i;
+-
+ for (i=0; i<n; i++)
+ {
+ if ((a[i]=malloc(p[i]->bv_len+1)) == NULL)
Home |
Main Index |
Thread Index |
Old Index