From b122656d9fa3fd305434f5bdfd28a096773c30ca Mon Sep 17 00:00:00 2001 From: Xin LI Date: Mon, 15 May 2023 22:51:50 -0700 Subject: [PATCH] www/mod_cfg_ldap: Fix build. --- www/mod_cfg_ldap/Makefile | 2 +- www/mod_cfg_ldap/files/patch-mod__cfg__ldap.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 www/mod_cfg_ldap/files/patch-mod__cfg__ldap.c diff --git a/www/mod_cfg_ldap/Makefile b/www/mod_cfg_ldap/Makefile index a81385179b3b..ac44b4102027 100644 --- a/www/mod_cfg_ldap/Makefile +++ b/www/mod_cfg_ldap/Makefile @@ -1,6 +1,6 @@ PORTNAME= mod_cfg_ldap PORTVERSION= 1.2 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= www MASTER_SITES= SF/modcfgldap/${PORTNAME}/${PORTVERSION} DIST_SUBDIR= apache2 diff --git a/www/mod_cfg_ldap/files/patch-mod__cfg__ldap.c b/www/mod_cfg_ldap/files/patch-mod__cfg__ldap.c new file mode 100644 index 000000000000..536a6b57f6b6 --- /dev/null +++ b/www/mod_cfg_ldap/files/patch-mod__cfg__ldap.c @@ -0,0 +1,10 @@ +--- mod_cfg_ldap.c.orig 2004-09-16 17:02:15 UTC ++++ mod_cfg_ldap.c +@@ -45,6 +45,7 @@ + #include "http_log.h" + #include "http_request.h" + #include "apr_strings.h" ++#define LDAP_DEPRECATED 1 + #include "ldap.h" + + #define CFG_LDAP_NO_SUCH_VHOST "cfg_ldap_no_such_vhost"