The following patch results in a clean build. I will work to get the patch
uploaded.  (I am not a Debian Developer)

Index: libnet-ldapapi-perl/Makefile.PL
===================================================================
--- libnet-ldapapi-perl.orig/Makefile.PL 2024-03-29 07:00:25.037139644 +0000
+++ libnet-ldapapi-perl/Makefile.PL     2024-04-02 07:07:21.401195313 +0000
@@ -124,7 +124,7 @@
        'DEFINE'        =>      '-DMOZILLA_LDAP',
        ) : (
        'LIBS'          =>      ["-L$lib_ldap $ldap_lib"],
-       'DEFINE'        =>      '-DOPENLDAP',
+       'DEFINE'        =>      '-DOPENLDAP -DLDAP_DEPRECATED=1',
        )),
        'depend'        =>      { 'LDAPapi.c' => 'constant.h' },
        'clean'         =>      { 'FILES'     => 'constant.h' },

The patch is from Quanah Gibson-Mount <qua...@fast-mail.org>.  Thanks.

Bill

Reply via email to