openbsd-ports/www/mod_auth_ldap/patches/patch-auth_ldap_h
claudio 36ed5c3290 Define LDAP_DEPRECATED because OpenLDAP wants to make sure that every older
app is subtly but totaly broken by removing API functions unless we use the
magic button. Depending on the architecture the code may work or crash horribly
without this. OK sthen@ (there are similar hacks in many other apps)
2009-05-11 19:40:58 +00:00

12 lines
300 B
Plaintext

$OpenBSD: patch-auth_ldap_h,v 1.1 2009/05/11 19:40:58 claudio Exp $
--- auth_ldap.h.orig Sun May 10 12:38:59 2009
+++ auth_ldap.h Sun May 10 12:39:12 2009
@@ -30,6 +30,7 @@
#include <http_conf_globals.h>
#include <multithread.h>
+#define LDAP_DEPRECATED 1
#include <lber.h>
#include <ldap.h>