1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Forwarded: not-needed
Description: Define MAXPATHLEN for Hurd-i386
lprng currently FTBFS on hurd-i386, because MAXPATHLEN is not defined
for GNU/Hurd. POSIX says it is optional when there is no hard limit.
The inlined patch below defines that value to 4096 for GNU. Since lprng
does not seen to be the Debian default, cups is, this small patch can
be used to make lprng available until all cups tests are OK for Hurd.
Author: Svante Signell <svante.signell@telia.com>
Reviewed-by: Craig Small <csmall@debian.org>
Bug-Debian: http://bugs.debian.org/671848
--- a/src/include/portable.h
+++ b/src/include/portable.h
@@ -152,6 +152,12 @@
#endif
/*************************************************************************/
+#if defined(__GNU__)
+# define IS_GNU OSVERSION
+# define MAXPATHLEN 4096
+#endif
+
+/*************************************************************************/
#if defined(__convex__) /* Convex OS 11.0 - from w_stef */
# define IS_CONVEX OSVERSION
|