Package: etpan-ng Version: 0.7.1-5 Severity: serious Tags: patch Usertags: implicit-pointer-conversion
Our automated buildd log filter[1] detected a problem that is likely to cause your package to segfault on architectures where the size of a pointer is greater than the size of an integer, such as ia64 and amd64. This is often due to a missing function prototype definition. For more information, see [2]. Function `ldap_init' implicitly converted to pointer at etpan-ldap.c:127 Function `ldap_get_values' implicitly converted to pointer at etpan-ldap.c:346 The libldap API has been updated and many functions used by the ldap plugin are now deprecated. This package should either update to the new API or define LDAP_DEPRECATED to continue using the deprecated interfaces. This patch implements the lazy solution. Due to checks in the ia64 buildd, this issues results in a practical FTBFS issue and thus warrants the serious severity. [1] http://people.debian.org/~dannf/check-implicit-pointer-functions [2] http://wiki.debian.org/ImplicitPointerConversions diff -urpN etpan-ng-0.7.1.orig/src/etpan-ldap.c etpan-ng-0.7.1/src/etpan-ldap.c --- etpan-ng-0.7.1.orig/src/etpan-ldap.c 2004-08-24 05:33:53.000000000 -0600 +++ etpan-ng-0.7.1/src/etpan-ldap.c 2008-03-31 14:21:41.000000000 -0600 @@ -45,6 +45,7 @@ #ifdef HAVE_LBER_H #include <lber.h> #endif +#define LDAP_DEPRECATED 1 #include <ldap.h> #ifndef LDAP_OPT_SUCCESS #define LDAP_OPT_SUCCESS LDAP_SUCCESS -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]