[pkg-ntp-maintainers] Bug#418913: Bug#418913: FTBFS on GNU/Hurd

Samuel Thibault samuel.thibault at ens-lyon.org
Sun Dec 23 00:02:27 UTC 2007


Oh, I forgot BTW this patch which is needed with more recent versions.
That is needed because MAXPATHLEN is use for #ifdef elsewhere in the
code.  POSIX says that MAXPATHLEN should be just an number anyway.

Samuel

--- libopts/compat/compat.h.orig	2007-12-23 00:15:56.572492000 +0100
+++ libopts/compat/compat.h	2007-12-23 00:16:01.582492000 +0100
@@ -205,7 +205,7 @@
 #endif
 
 #if !defined (MAXPATHLEN)
-#  define MAXPATHLEN ((size_t)4096)
+#  define MAXPATHLEN 4096
 #endif /* MAXPATHLEN */
 
 #define AG_PATH_MAX  ((size_t)MAXPATHLEN)





More information about the pkg-ntp-maintainers mailing list