From 9ee41aa9a42f50046ad5d4c59f765dfa3035d7d9 Mon Sep 17 00:00:00 2001 From: Jan Vcelak Date: Wed, 24 Aug 2011 19:24:49 +0200 Subject: [PATCH] manpage fix: wrong ldap_sync_destroy() prototype in ldap_sync(3) manpage Resolves: #717722 --- openldap-man-ldap-sync.patch | 25 +++++++++++++++++++++++++ openldap.spec | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 openldap-man-ldap-sync.patch diff --git a/openldap-man-ldap-sync.patch b/openldap-man-ldap-sync.patch new file mode 100644 index 0000000..78d7501 --- /dev/null +++ b/openldap-man-ldap-sync.patch @@ -0,0 +1,25 @@ +wrong ldap_sync_destroy() prototype in ldap_sync(3) manpage + +Author: Jan Vcelak +Resolves: #717722 + +--- + doc/man/man3/ldap_sync.3 | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/doc/man/man3/ldap_sync.3 b/doc/man/man3/ldap_sync.3 +index ef15085..e2c0880 100644 +--- a/doc/man/man3/ldap_sync.3 ++++ b/doc/man/man3/ldap_sync.3 +@@ -20,7 +20,7 @@ OpenLDAP LDAP (libldap, \-lldap) + .LP + .BI "ldap_sync_t * ldap_sync_initialize(ldap_sync_t *" ls ");" + .LP +-.BI "int ldap_sync_destroy(ldap_sync_t *" ls ", int " freeit ");" ++.BI "void ldap_sync_destroy(ldap_sync_t *" ls ", int " freeit ");" + .LP + .BI "typedef int (*" ldap_sync_search_entry_f ")(ldap_sync_t *" ls "," + .RS +-- +1.7.6 + diff --git a/openldap.spec b/openldap.spec index 2411455..452fb45 100644 --- a/openldap.spec +++ b/openldap.spec @@ -39,6 +39,7 @@ Patch13: openldap-dds-overlay-tolerance.patch Patch14: openldap-man-slapo-unique.patch Patch15: openldap-nss-wildcards.patch Patch16: openldap-dns-priority.patch +Patch17: openldap-man-ldap-sync.patch # patches for the evolution library (see README.evolution) Patch200: openldap-evolution-ntlm.patch @@ -148,6 +149,7 @@ pushd openldap-%{version} %patch14 -p1 -b .man-slapo-unique %patch15 -p1 -b .nss-wildcards %patch16 -p1 -b .dns-priority +%patch17 -p1 -b .man-ldap-sync cp %{_datadir}/libtool/config/config.{sub,guess} build/ @@ -681,6 +683,7 @@ exit 0 - manpage fix: errors in manual page slapo-unique (#733070) - fix: matching wildcard hostnames in certificate Subject field does not work (#733073) - new feature: honor priority/weight with ldap_domain2hostlist (#733078) +- manpage fix: wrong ldap_sync_destroy() prototype in ldap_sync(3) manpage (#717722) * Sun Aug 14 2011 Rex Dieter - 2.4.26-1.1 - Rebuilt for rpm (#728707)