Source: lprng Version: 3.8.B Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hello, 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. Looking at the code it seems to be rather easy to write a proper patch for lprng, not using MAXPATHLEN at all to send upstream. However, I have chosen not to do this until now. No new release has been made since February 2011 and it looks like lprng is no longer developed upstream?? --- a/src/include/portable.h 2011-02-25 10:20:27.000000000 +0100 +++ b/src/include/portable.h 2012-05-04 16:55:40.000000000 +0200 @@ -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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org