Package: magicrescue / 1.1.9-4

10_fix-FTBFS-Hurd.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: define PATH_MAX variable to fix a FTBFS in Hurd.
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2014-11-04
Index: magicrescue-1.1.9/src/recur.h
===================================================================
--- magicrescue-1.1.9.orig/src/recur.h
+++ magicrescue-1.1.9/src/recur.h
@@ -1,3 +1,7 @@
+#if defined(__GNU__) && !defined(PATH_MAX)
+#define PATH_MAX 1024
+#endif
+
 #ifndef _RECUR_H
 
 #include <sys/stat.h>