external/openldap/openldap-2.4.44.patch.1 |   12 ++++++++++++
 1 file changed, 12 insertions(+)

New commits:
commit e767ee33fe1ad0935b5293f215d5f55f6ef76943
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Wed Nov 10 13:36:43 2021 +0200
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Wed Nov 10 17:28:04 2021 +0100

    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 <sberg...@redhat.com>
    (cherry picked from commit 34b586dc84b810eece7ae08b4028caba78db319f)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124968
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

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 @@

Reply via email to