summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2007-10-19 03:45:07 +0000
committertaca <taca@pkgsrc.org>2007-10-19 03:45:07 +0000
commitf59a84c49579fae4baaff0413c59aa0d8ee0940f (patch)
treef46de78529e3e21fcc466489739da0c73c38d035 /databases
parent6e189d916cd1d06746063fce1d9790b003e8d420 (diff)
downloadpkgsrc-f59a84c49579fae4baaff0413c59aa0d8ee0940f.tar.gz
Avoid c99 ism.
Diffstat (limited to 'databases')
-rw-r--r--databases/openldap/patches/patch-aq15
1 files changed, 15 insertions, 0 deletions
diff --git a/databases/openldap/patches/patch-aq b/databases/openldap/patches/patch-aq
new file mode 100644
index 00000000000..2f08e53be6f
--- /dev/null
+++ b/databases/openldap/patches/patch-aq
@@ -0,0 +1,15 @@
+$NetBSD: patch-aq,v 1.1 2007/10/19 03:45:07 taca Exp $
+
+--- servers/slapd/backglue.c.orig Thu Jul 12 09:36:36 2007
++++ servers/slapd/backglue.c
+@@ -619,9 +619,9 @@ glue_entry_get_rw (
+ int rw,
+ Entry **e )
+ {
++ int rc;
+ BackendDB *b0 = op->o_bd;
+ op->o_bd = glue_back_select( b0, dn );
+- int rc;
+
+ if ( op->o_bd->be_fetch ) {
+ rc = op->o_bd->be_fetch( op, dn, oc, ad, rw, e );