git: b122656d9fa3 - main - www/mod_cfg_ldap: Fix build.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 May 2023 05:53:49 UTC
The branch main has been updated by delphij:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b122656d9fa3fd305434f5bdfd28a096773c30ca
commit b122656d9fa3fd305434f5bdfd28a096773c30ca
Author: Xin LI <delphij@FreeBSD.org>
AuthorDate: 2023-05-16 05:51:50 +0000
Commit: Xin LI <delphij@FreeBSD.org>
CommitDate: 2023-05-16 05:51:50 +0000
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(-)
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"