File: fix-Hurd-FTBFS.patch

package info (click to toggle)
python-gevent 1.3.7-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 18,304 kB
  • sloc: python: 128,946; ansic: 66,472; sh: 12,808; makefile: 1,634; awk: 18
file content (20 lines) | stat: -rw-r--r-- 436 bytes parent folder | 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