summaryrefslogtreecommitdiff
path: root/external/openldap
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2021-11-10 13:36:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-11-10 15:54:29 +0100
commit34b586dc84b810eece7ae08b4028caba78db319f (patch)
tree9bde80dc85e2299b465149668c88d8aa8663e84b /external/openldap
parent373b27e7038cf4010a04163861ebec48984b4353 (diff)
Add forward declaration to openldap to fix compilation with current Xcode
For some reason the warning about this undeclared function is treated as an error by the Clang version in current Xcode, at least for me, even if openldap isn't compiled with -Werror. Change-Id: Ic8479ca63031319ce55c6fb9d95132019ae82cae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124959 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external/openldap')
-rw-r--r--external/openldap/openldap-2.4.44.patch.112
1 files changed, 12 insertions, 0 deletions
diff --git a/external/openldap/openldap-2.4.44.patch.1 b/external/openldap/openldap-2.4.44.patch.1
index 0d3cf5b70c3f..317ef9a62e56 100644
--- a/external/openldap/openldap-2.4.44.patch.1
+++ b/external/openldap/openldap-2.4.44.patch.1
@@ -1,3 +1,4 @@
+-*- Mode: diff -*-
--- openldap.org/configure
+++ openldap/configure
@@ -15735,7 +15735,7 @@
@@ -52,6 +53,17 @@
#undef NSS_VERSION_INT
#define NSS_VERSION_INT ((NSS_VMAJOR << 24) | (NSS_VMINOR << 16) | \
+--- openldap.org/libraries/libldap/tls2.c
++++ openldap.org/libraries/libldap/tls2.c
+@@ -80,6 +80,8 @@
+ { BER_BVNULL, BER_BVNULL }
+ };
+
++int ldap_pvt_tls_check_hostname( LDAP *ld, void *s, const char *name_in );
++
+ #ifdef HAVE_TLS
+
+ void
--- openldap.org/Makefile.in
+++ openldap/Makefile.in
@@ -13,7 +13,7 @@