File: fix-Hurd-FTBFS.patch

package info (click to toggle)
python-gevent 25.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 22,036 kB
  • sloc: python: 170,894; ansic: 82,360; sh: 6,265; makefile: 1,550; javascript: 108
file content (26 lines) | stat: -rw-r--r-- 779 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Date: Fri, 20 Mar 2026 15:58:47 -0400
Subject: define PATH_MAX if needed

Fix FTBFS for Hurd/i386.

Last-Update: 2026-03-20
---
 deps/libuv/src/unix/internal.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/deps/libuv/src/unix/internal.h b/deps/libuv/src/unix/internal.h
index a1d7d43..8d934fd 100644
--- a/deps/libuv/src/unix/internal.h
+++ b/deps/libuv/src/unix/internal.h
@@ -40,6 +40,10 @@
 #include <sys/event.h>
 #endif
 
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
 #define uv__msan_unpoison(p, n)                                               \
   do {                                                                        \
     (void) (p);                                                               \