Package: python-gevent / 1.3.7-1

fix-Hurd-FTBFS.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: define PATH_MAX if needed
 Fix FTBFS for Hurd/i386.
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Last-Update: 2018-07-22

---

--- python-gevent-1.3.5.orig/deps/libuv/src/unix/internal.h
+++ python-gevent-1.3.5/deps/libuv/src/unix/internal.h
@@ -31,6 +31,10 @@
 #include <stdio.h>
 #include <errno.h>
 
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 #if defined(__STRICT_ANSI__)
 # define inline __inline
 #endif