summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-02 20:52:09 +0000
committerjoerg <joerg>2006-01-02 20:52:09 +0000
commit8219a8a42ca399496375fff90e9ad48dc10ae87e (patch)
treed9e9598e0a8343ebafc26210911eee984183f7ac /www
parent75befda38c09df751850bfe73b94b43c66c3082b (diff)
downloadpkgsrc-8219a8a42ca399496375fff90e9ad48dc10ae87e.tar.gz
Fix errno.
Diffstat (limited to 'www')
-rw-r--r--www/ap-auth-ldap/distinfo3
-rw-r--r--www/ap-auth-ldap/patches/patch-aa12
2 files changed, 14 insertions, 1 deletions
diff --git a/www/ap-auth-ldap/distinfo b/www/ap-auth-ldap/distinfo
index e06a120fb10..0e163eb5c20 100644
--- a/www/ap-auth-ldap/distinfo
+++ b/www/ap-auth-ldap/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 14:08:27 wiz Exp $
+$NetBSD: distinfo,v 1.5 2006/01/02 20:52:09 joerg Exp $
SHA1 (auth_ldap-1.6.0.tar.gz) = d08c611f779db538a0a782d6512e307c0cdaf4a9
RMD160 (auth_ldap-1.6.0.tar.gz) = 1f5fc8c0f3b8c25c4d4daf20392f22fe6c679646
Size (auth_ldap-1.6.0.tar.gz) = 79296 bytes
+SHA1 (patch-aa) = bc9afa9ee7dbd5fc23c0b8200147a5d8075fc811
diff --git a/www/ap-auth-ldap/patches/patch-aa b/www/ap-auth-ldap/patches/patch-aa
new file mode 100644
index 00000000000..028cac4296b
--- /dev/null
+++ b/www/ap-auth-ldap/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2006/01/02 20:52:09 joerg Exp $
+
+--- auth_ldap.c.orig 2006-01-02 20:47:58.000000000 +0000
++++ auth_ldap.c
+@@ -169,7 +169,6 @@ auth_ldap_connect_to_server(request_rec
+ "{%d} LDAP OP: init", (int)getpid());
+
+ if ((sec->ldc->ldap = ldap_init(sec->host, sec->port)) == NULL) {
+- extern int errno;
+ auth_ldap_log_reason(r, "Could not connect to LDAP server: %s", strerror(errno));
+ return 0;
+ }