debian/patches/hurd.patch
raw| 1 | Index: id-utils-4.6.28/lib/pathmax.h |
| 2 | =================================================================== |
| 3 | --- id-utils-4.6.28.orig/lib/pathmax.h |
| 4 | +++ id-utils-4.6.28/lib/pathmax.h |
| 5 | @@ -39,6 +39,11 @@ |
| 6 | #endif |
| 7 | */ |
| 8 | |
| 9 | +/* Workaround for GNU/Hurd */ |
| 10 | +#ifndef PATH_MAX |
| 11 | +# define PATH_MAX 4096 |
| 12 | +#endif |
| 13 | + |
| 14 | # include <unistd.h> |
| 15 | |
| 16 | # include <limits.h> |