Package: autogen
Version: 1:5.9.7-1
Severity: normal

Hi,

autogen currently fails to build on Debian GNU/Hurd. The attached quilt patch will resolve that.

Thank you,

Barry deFreese


Index: autogen-5.9.7/compat/compat.h
===================================================================
--- autogen-5.9.7.orig/compat/compat.h  2009-06-11 12:17:49.370000000 -0400
+++ autogen-5.9.7/compat/compat.h       2009-06-11 12:18:11.710000000 -0400
@@ -244,7 +244,7 @@
 #endif
 
 #if !defined (MAXPATHLEN)
-#  define MAXPATHLEN ((size_t)4096)
+#  define MAXPATHLEN 4096
 #endif /* MAXPATHLEN */
 
 #define AG_PATH_MAX  ((size_t)MAXPATHLEN)
Index: autogen-5.9.7/autoopts/autoopts.h
===================================================================
--- autogen-5.9.7.orig/autoopts/autoopts.h      2009-06-11 12:19:10.510000000 
-0400
+++ autogen-5.9.7/autoopts/autoopts.h   2009-06-11 12:19:26.780000000 -0400
@@ -42,7 +42,7 @@
 #  ifdef PATH_MAX
 #    define AG_PATH_MAX         ((size_t)PATH_MAX)
 #  else
-#    define AG_PATH_MAX         ((size_t)4096)
+#    define AG_PATH_MAX         4096
 #  endif
 #else
 #  if defined(PATH_MAX) && (PATH_MAX > MAXPATHLEN)

Reply via email to