projects/guix·blob python-team · refs

18 lines · 577 B

1Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835267
2Bug-Upstream: https://github.com/google/protobuf/issues/2000
3Description: Add support for GNU/Hurd which doesn't define PATH_MAX.
4Author: Bas Couwenberg <[email protected]>
5Last-Update: 2022-03-11
6
7--- protobuf-3.9.1.orig/src/google/protobuf/compiler/command_line_interface.cc
8+++ protobuf-3.9.1/src/google/protobuf/compiler/command_line_interface.cc
9@@ -58,6 +58,9 @@
10 #include <iostream>
11
12 #include <limits.h> // For PATH_MAX
13+#if defined(__GNU__)
14+#define PATH_MAX 4096
15+#endif
16
17 #include <memory>
18