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
commit6d0b837b9a4b318dd8b50d0a3feb233e12848488 (patch)
treef46de78529e3e21fcc466489739da0c73c38d035 /databases
parentb8ad88d1e5ceb805a72d885c80c5053ec5f0713b (diff)
downloadpkgsrc-6d0b837b9a4b318dd8b50d0a3feb233e12848488.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 );