Package: forensics-colorize / 1.1-3

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: 2018-09-09
--- forensics-colorize-1.1.orig/src/colorize.c
+++ forensics-colorize-1.1/src/colorize.c
@@ -12,6 +12,9 @@
 #define DEFAULT_DIRECTION       DIRECTION_UP
 #define DEFAULT_IMAGE_WIDTH     100
 
+#if defined(__GNU__) && !defined(PATH_MAX)
+#define PATH_MAX 1024
+#endif
 
 typedef struct _state 
 {