File: hurd_path_max.patch

package info (click to toggle)
libdevel-bt-perl 0.06-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 184 kB
  • ctags: 4
  • sloc: perl: 37; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 552 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Fix FTBFS on hurd-i386
 hurd does not define PATH_MAX. Fix taken from pathmax.h
 http://lists.gnu.org/archive/html/bug-gnulib/2011-08/msg00025.html
Author: Daniel Lintott <daniel@serverb.co.uk>
Bug: https://rt.cpan.org/Ticket/Display.html?id=94183
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721420
Forwarded: yes
Last-Update: 2014-03-25
--- a/bt.xs
+++ b/bt.xs
@@ -16,6 +16,10 @@
     SIGQUIT
 };
 
+#ifndef PATH_MAX
+# define PATH_MAX 8192
+#endif
+
 static char perl_path[PATH_MAX], gdb_path[PATH_MAX];
 
 static void