Package: firebird2.5 Version: 2.5.0.26074-0.ds4 Severity: normal Tags: patch
Firebird FTBFS on GNU/Hurd because MAXPATHLEN is not defined on that platform. Attached is a patch which fixes that. Please apply, it is a simple fix and it blocks php5 build on GNU/Hurd. O. -- System Information: Debian Release: 6.0.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- a/src/jrd/common.h +++ b/src/jrd/common.h @@ -545,6 +545,10 @@ extern "C" int remove(const char* path); #define SYS_ERR Arg::Unix #endif /* UNIX */ +#ifndef MAXPATHLEN +#define MAXPATHLEN 4096 +#endif + #ifndef SYS_ERR #define SYS_ERR Arg::Unix #endif