From f59a84c49579fae4baaff0413c59aa0d8ee0940f Mon Sep 17 00:00:00 2001 From: taca Date: Fri, 19 Oct 2007 03:45:07 +0000 Subject: Avoid c99 ism. --- databases/openldap/patches/patch-aq | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 databases/openldap/patches/patch-aq (limited to 'databases') 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 ); -- cgit v1.2.3