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
|