From ef94ef33fc2729b6340fa22abbd500b4728049da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 3 Dec 2018 21:11:10 +0100 Subject: openldap: try to add symbol versions --- net-nds/openldap/files/openldap-2.4.15-ppolicy.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 net-nds/openldap/files/openldap-2.4.15-ppolicy.patch (limited to 'net-nds/openldap/files/openldap-2.4.15-ppolicy.patch') diff --git a/net-nds/openldap/files/openldap-2.4.15-ppolicy.patch b/net-nds/openldap/files/openldap-2.4.15-ppolicy.patch new file mode 100644 index 0000000..3195ee5 --- /dev/null +++ b/net-nds/openldap/files/openldap-2.4.15-ppolicy.patch @@ -0,0 +1,12 @@ +--- openldap-2.4.15/clients/tools/common.c.orig 2009-02-05 15:05:03.000000000 -0800 ++++ openldap-2.4.15/clients/tools/common.c 2009-03-21 01:45:14.000000000 -0700 +@@ -1315,8 +1315,8 @@ + int nsctrls = 0; + + #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST ++ LDAPControl c; + if ( ppolicy ) { +- LDAPControl c; + c.ldctl_oid = LDAP_CONTROL_PASSWORDPOLICYREQUEST; + c.ldctl_value.bv_val = NULL; + c.ldctl_value.bv_len = 0; -- cgit v1.2.3