Package: openldap2.3 Version: 2.4.7-6.1 Severity: important Tags: patch Hello,
openldap2.3 currently FTBFS on hurd-i386 because of unconditional use of the optional PATH_MAX macro. The attached patch fixes this by using MAXPATHLEN, defined more portably in include/ac/param.h Samuel -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.24.1 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash -- Samuel <T> csp.tar.gz: ascii text -+- #ens-mim - vive les browsers qui prennent des initiatives à la con -+-
--- ./servers/slapd/back-bdb/monitor.c.orig 2008-04-12 11:08:22.540562000 -0400 +++ ./servers/slapd/back-bdb/monitor.c 2008-04-12 11:08:18.580562000 -0400 @@ -395,7 +395,7 @@ { struct berval bv, nbv; ber_len_t pathlen = 0, len = 0; - char path[ PATH_MAX ] = { '\0' }; + char path[ MAXPATHLEN ] = { '\0' }; char *fname = bdb->bi_dbenv_home, *ptr;