python/isort: update to 6.0.0
[oi-userland.git] / components / library / ptlib / patches / 01_ldap.patch
blob58fd26643554eea848da93ffa9df71fe45abc0d9
1 --- ptlib-2.16.2/src/ptclib/pldap.cxx 2016-05-12 11:53:04.000000000 +0200
2 +++ ptlib-2.16.2/src/ptclib/pldap.cxx.orig 2023-09-09 21:11:52.400305692 +0200
3 @@ -141,7 +141,7 @@
4 else
5 whoPtr = who;
7 -#ifdef SOLARIS
8 +#ifdef SOLARIS_ORIG
9 static const int AuthMethodCode[NumAuthenticationMethod2] = {
10 LDAP_AUTH_SIMPLE, LDAP_AUTH_SASL, LDAP_AUTH_KRBV41_30, LDAP_AUTH_KRBV42_30
11 #else
12 --- ptlib-2.16.2/include/ptclib/pldap.h 2016-05-12 11:53:07.000000000 +0200
13 +++ ptlib-2.16.2/include/ptclib/pldap.h.orig 2023-09-09 21:28:37.016974899 +0200
14 @@ -103,7 +103,7 @@
15 AuthSimple,
16 AuthSASL,
17 AuthKerberos,
18 -#ifdef SOLARIS
19 +#ifdef SOLARIS_ORIG
20 NumAuthenticationMethod1,
21 NumAuthenticationMethod2
22 #else
23 --- ptlib-2.16.2/configure.ac 2016-05-12 11:53:04.000000000 +0200
24 +++ ptlib-2.16.2/configure.ac.orig 2024-12-25 20:24:53.918899132 +0100
25 @@ -1462,8 +1462,8 @@
26 [Open LDAP support],
27 [ldap],
28 [],
29 - [-lldap -llber],
30 - [#include <ldap.h>],
31 + [-lldap-2.6 -llber-2.6],
32 + [#include <openldap/ldap.h>],
33 [ldap_init("localhost", 1234)],
34 [],
35 [],