Source: id-utils
Version: 4.6+git20120811-4
Severity: important
Tags: patch
User: [email protected]
Usertags: hurd

Hi,

id-utils fails to build from source due to PATH_MAX not being defined
for GNU/Hurd. The inlined patch below fixes the builds. (Not much idea
to operate out all occurrences, they are too many, and latest upstream
was from 2012.

#cat path_max.patch 
--- a/lib/pathmax.h     2013-07-07 23:39:22.000000000 +0200
+++ b/lib/pathmax.h     2014-01-28 10:18:54.000000000 +0100
@@ -40,6 +40,11 @@
          #endif
  */
 
+/* Workaround for GNU/Hurd */
+#ifndef PATH_MAX
+# define PATH_MAX 4096
+#endif
+
 # include <unistd.h>
 
 # include <limits.h>


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to