[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

FTBFS: on hurd because of undeclared PATH_MAX in rdev.c



Package: util-linux
Version: 2.16.1-3
Severity: normal
Tags: patch

Hi,

Your package fails to build from source on hurd.
Attached is a patch which fixes the issue.

Regards,
-- 
Hiroyuki Yamamoto
4096R/520304DC
 A75D B285 7050 4BF9 AEDA  91AC 3A10 59C6 5203 04DC
diff -urd util-linux-2.16.1.orig/sys-utils/rdev.c util-linux-2.16.1/sys-utils/rdev.c
--- util-linux-2.16.1.orig/sys-utils/rdev.c	2009-07-04 08:20:03.000000000 +0900
+++ util-linux-2.16.1/sys-utils/rdev.c	2009-09-22 19:11:50.000000000 +0900
@@ -69,6 +69,10 @@
 
 #include "nls.h"
 
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 /* rdev.c  -  query/set root device. */
 
 static void

Reply to: