aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-05-11 07:38:36 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2010-05-11 07:38:36 +0000
commit78cadd877feffcdbf75620ac63bc8e545f73f03b (patch)
tree372b1d2dae07f1cebf9f2275e64b3f4b088b72ed
parentbf024f6801f20560c9081ea8ef3969d438744a79 (diff)
allow deprecated LDAP API calls.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2538 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog5
-rw-r--r--src/syldap.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a4eec63..1d660839 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2010-05-11
+ * src/syldap.c: allow deprecated LDAP API calls (debian BTS #463366).
+ Possibly fixes crash on 64-bit architecture.
+
+2010-05-11
+
* src/setup.c: removed debug print.
2010-05-08
diff --git a/src/syldap.c b/src/syldap.c
index 8e7bea9c..dd46b5ca 100644
--- a/src/syldap.c
+++ b/src/syldap.c
@@ -32,6 +32,7 @@
#include <gtk/gtkmain.h>
#include <sys/time.h>
#include <string.h>
+#define LDAP_DEPRECATED 1
#include <ldap.h>
#include <lber.h>
#include <pthread.h>