Source: icecast2
Version: 2.4.0-1
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd

Hi,

Currently  icecast2 FTBFS on GNU/Hurd due to usage of PATH_MAX, which is
not defined. It did build previously, latest Hurd version is 2.3.3-2. The
attached patch defines PATH_MAX to 4096 in the unix part if not defined.

Thanks!


--- a/src/source.c	2014-05-04 08:23:40.000000000 +0200
+++ b/src/source.c	2014-10-31 18:15:35.000000000 +0100
@@ -28,6 +28,9 @@
 #include <sys/socket.h>
 #include <sys/wait.h>
 #include <limits.h>
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
 #else
 #include <winsock2.h>
 #include <windows.h>

Reply via email to