Package: metview / 5.10.2-1

hurd.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Fix for FTBFS on Hurd
Last-Updated: 2016-01-02
Forwarded: no

Index: metview-5.10.0/mars-client/src/mars.h
===================================================================
--- metview-5.10.0.orig/mars-client/src/mars.h
+++ metview-5.10.0/mars-client/src/mars.h
@@ -65,6 +65,11 @@
 #endif
 
 
+/* Needed for Hurd */
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 #include <errno.h>
 #if !defined(__linux__) && !defined(CYGWIN)
 #ifdef VMS