Package: libdaemon
Version: 0.10-1
Severity: important

Hi,

libdaemon currently FTBFS on hurd-i386 because it uses PATH_MAX with
checking first that it is defined. Here is a patch for those systems
that don't have a PATH_MAX limit.

Samuel

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
--- libdaemon-0.10/libdaemon/dpid.c.orig        2007-01-21 23:45:23.000000000 
+0100
+++ libdaemon-0.10/libdaemon/dpid.c     2007-01-21 23:45:40.000000000 +0100
@@ -46,6 +46,10 @@
 
 #define VARRUN "/var/run"
 
+#ifndef PATH_MAX
+#define PATH_MAX 128
+#endif
+
 const char *daemon_pid_file_ident = NULL;
 daemon_pid_file_proc_t daemon_pid_file_proc = daemon_pid_file_proc_default;
 

Reply via email to