File: hurd.patch

package info (click to toggle)
ecflow 5.15.2-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 51,872 kB
  • sloc: cpp: 269,341; python: 22,756; sh: 3,609; perl: 770; xml: 333; f90: 204; ansic: 141; makefile: 63
file content (19 lines) | stat: -rw-r--r-- 415 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: PATH_MAX not defined on Hurd :-(. Fix FTBFS
Author: Alastair McKinstry <mckinstry@debian.org>
Last-Updated: 2018-11-17
Forwarded: no

--- a/tools/ecflow_standalone.c
+++ b/tools/ecflow_standalone.c
@@ -74,6 +74,11 @@
 #  define FALSE 0
 #endif
 
+#ifndef PATH_MAX /* Hurd */
+#define PATH_MAX 1024
+#endif
+
+
 #define MAXLEN 1024                /* Maximum line length */
 
 char *nameof(char *name) {