Blame SOURCES/bind-96-old-api.patch

900526
diff -up bind-9.6.0b1/contrib/sdb/ldap/ldapdb.c.old-api bind-9.6.0b1/contrib/sdb/ldap/ldapdb.c
900526
--- bind-9.6.0b1/contrib/sdb/ldap/ldapdb.c.old-api	2008-11-24 13:28:13.000000000 +0100
900526
+++ bind-9.6.0b1/contrib/sdb/ldap/ldapdb.c	2008-11-24 13:28:23.000000000 +0100
900526
@@ -25,6 +25,7 @@
900526
 /* Using LDAPv3 by default, change this if you want v2 */
900526
 #ifndef LDAPDB_LDAP_VERSION
900526
 #define LDAPDB_LDAP_VERSION 3
900526
+#define LDAP_DEPRECATED 1
900526
 #endif
900526
 
900526
 #include <config.h>
900526
diff -up bind-9.6.0b1/contrib/sdb/ldap/zone2ldap.c.old-api bind-9.6.0b1/contrib/sdb/ldap/zone2ldap.c
900526
--- bind-9.6.0b1/contrib/sdb/ldap/zone2ldap.c.old-api	2008-11-24 13:29:05.000000000 +0100
900526
+++ bind-9.6.0b1/contrib/sdb/ldap/zone2ldap.c	2008-11-24 13:29:14.000000000 +0100
900526
@@ -13,6 +13,8 @@
900526
  * ditched dNSDomain2 schema support. Version 0.3-ALPHA
900526
  */
900526
 
900526
+#define LDAP_DEPRECATED 1
900526
+
900526
 #include <errno.h>
900526
 #include <string.h>
900526
 #include <stdlib.h>