diff options
author | Karel Kočí <cynerd@email.cz> | 2019-04-01 21:27:33 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2019-04-01 21:27:33 +0200 |
commit | 3949e35c52018fc4fd88a1d06cd65dfedf3a54ae (patch) | |
tree | 252d4adbe056b5e21a9ba6c56033820282a338ec /net-nds/openldap/files/openldap-2.4.47-warnings.patch | |
parent | 49d7687548d17da23c4e56bf0f25fa5d996e61e1 (diff) | |
download | gentoo-personal-overlay-3949e35c52018fc4fd88a1d06cd65dfedf3a54ae.tar.gz gentoo-personal-overlay-3949e35c52018fc4fd88a1d06cd65dfedf3a54ae.tar.bz2 gentoo-personal-overlay-3949e35c52018fc4fd88a1d06cd65dfedf3a54ae.zip |
net-nds/openldap: update to latest
Diffstat (limited to 'net-nds/openldap/files/openldap-2.4.47-warnings.patch')
-rw-r--r-- | net-nds/openldap/files/openldap-2.4.47-warnings.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/net-nds/openldap/files/openldap-2.4.47-warnings.patch b/net-nds/openldap/files/openldap-2.4.47-warnings.patch new file mode 100644 index 0000000..d75bd0d --- /dev/null +++ b/net-nds/openldap/files/openldap-2.4.47-warnings.patch @@ -0,0 +1,41 @@ +diff --git a/include/ldap.h b/include/ldap.h +index c245651c2..7f14f1051 100644 +--- a/include/ldap.h ++++ b/include/ldap.h +@@ -2041,6 +2041,10 @@ LDAP_F( int ) + ldap_is_ldapi_url LDAP_P(( + LDAP_CONST char *url )); + ++LDAP_F( int ) ++ldap_is_ldapc_url LDAP_P(( ++ LDAP_CONST char *url )); ++ + LDAP_F( int ) + ldap_url_parse LDAP_P(( + LDAP_CONST char *url, +diff --git a/include/ldap_int_thread.h b/include/ldap_int_thread.h +index e2dd8a942..bbc07c845 100644 +--- a/include/ldap_int_thread.h ++++ b/include/ldap_int_thread.h +@@ -33,7 +33,7 @@ LDAP_END_DECL + * definitions for POSIX Threads * + * * + **********************************/ +- ++#define __USE_UNIX98 + #include <pthread.h> + #ifdef HAVE_SCHED_H + #include <sched.h> +diff --git a/libraries/libldap/tls2.c b/libraries/libldap/tls2.c +index d25c190ea..639f598e7 100644 +--- a/libraries/libldap/tls2.c ++++ b/libraries/libldap/tls2.c +@@ -76,6 +76,8 @@ static oid_name oids[] = { + + #ifdef HAVE_TLS + ++int ldap_pvt_tls_check_hostname( LDAP *ld, void *s, const char *name_in ); ++ + void + ldap_pvt_tls_ctx_free ( void *c ) + { |