From 72a494be68836f656d1bc06779ba165775f300de Mon Sep 17 00:00:00 2001 From: mapopa Date: Mon, 16 May 2011 14:38:06 +0000 Subject: [PATCH] Apply Patch that fixes GNU/Hurd Debian build 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. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626931 --- src/jrd/common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jrd/common.h b/src/jrd/common.h index 55bc297790..1477b32b68 100644 --- 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