summaryrefslogtreecommitdiffstats
path: root/bind-96-old-api.patch
diff options
context:
space:
mode:
authorAdam Tkac <atkac@fedoraproject.org>2008-11-24 12:59:15 +0000
committerAdam Tkac <atkac@fedoraproject.org>2008-11-24 12:59:15 +0000
commitc768d86633425310a1c73476aa6aeac556b242b9 (patch)
tree113838e9d5d4d0db4413dab0e7dd7edfbd71a733 /bind-96-old-api.patch
parenteebed2aabe39596cf613ce83001fdff293fbe679 (diff)
downloadbind-c768d86633425310a1c73476aa6aeac556b242b9.tar.gz
bind-c768d86633425310a1c73476aa6aeac556b242b9.tar.xz
bind-c768d86633425310a1c73476aa6aeac556b242b9.zip
- updates due libtool 2.2.6bind-9_6_0-0_2_1_b1_fc11
- don't pass -DLDAP_DEPRECATED to cpp, handle it directly in sources
Diffstat (limited to 'bind-96-old-api.patch')
-rw-r--r--bind-96-old-api.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/bind-96-old-api.patch b/bind-96-old-api.patch
new file mode 100644
index 0000000..d181d3e
--- /dev/null
+++ b/bind-96-old-api.patch
@@ -0,0 +1,23 @@
+diff -up bind-9.6.0b1/contrib/sdb/ldap/ldapdb.c.old-api bind-9.6.0b1/contrib/sdb/ldap/ldapdb.c
+--- bind-9.6.0b1/contrib/sdb/ldap/ldapdb.c.old-api 2008-11-24 13:28:13.000000000 +0100
++++ bind-9.6.0b1/contrib/sdb/ldap/ldapdb.c 2008-11-24 13:28:23.000000000 +0100
+@@ -25,6 +25,7 @@
+ /* Using LDAPv3 by default, change this if you want v2 */
+ #ifndef LDAPDB_LDAP_VERSION
+ #define LDAPDB_LDAP_VERSION 3
++#define LDAP_DEPRECATED 1
+ #endif
+
+ #include <config.h>
+diff -up bind-9.6.0b1/contrib/sdb/ldap/zone2ldap.c.old-api bind-9.6.0b1/contrib/sdb/ldap/zone2ldap.c
+--- bind-9.6.0b1/contrib/sdb/ldap/zone2ldap.c.old-api 2008-11-24 13:29:05.000000000 +0100
++++ bind-9.6.0b1/contrib/sdb/ldap/zone2ldap.c 2008-11-24 13:29:14.000000000 +0100
+@@ -13,6 +13,8 @@
+ * ditched dNSDomain2 schema support. Version 0.3-ALPHA
+ */
+
++#define LDAP_DEPRECATED 1
++
+ #include <errno.h>
+ #include <string.h>
+ #include <stdlib.h>