File: hurd.patch

package info (click to toggle)
metview 5.26.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 614,356 kB
  • sloc: cpp: 560,586; ansic: 44,641; xml: 19,933; f90: 17,984; sh: 7,454; python: 5,565; yacc: 2,318; lex: 1,372; perl: 701; makefile: 88
file content (19 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Fix for FTBFS on Hurd
Last-Updated: 2016-01-02
Forwarded: no

--- a/mars-client/src/mars.h
+++ b/mars-client/src/mars.h
@@ -12,6 +12,11 @@
 
 #ifndef _H_MARS
 
+/* Needed for Hurd */
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 /* For empress <c.h>  header file */
 #define SYSTEM_BOOLEAN
 #define _H_MARS