ldap_init implicitly converted to pointer
Our automated buildd log filterr1 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 r2.
Function `ldap_init' implicitly converted to pointer at mod_auth.c:545
Function `ldap_init' implicitly converted to pointer at http_auth.c:785
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
This patch implements the lazy solution.
--- lighttpd-1.4.18.orig/src/http_auth.h 2007-01-14 02:40:02.000000000 -0700
+++ lighttpd-1.4.18/src/http_auth.h 2008-01-30 23:40:53.000000000 -0700
@ -6,6 +6,7 @
- define USE_LDAP
+# define LDAP_DEPRECATED 1
- include <ldap.h>
Also available in: Atom