[libdevel-bt-perl] 01/02: Add patch to fix FTBFS on hurd
Daniel Lintott
dlintott-guest at moszumanska.debian.org
Tue Mar 25 11:37:27 UTC 2014
This is an automated email from the git hooks/post-receive script.
dlintott-guest pushed a commit to branch master
in repository libdevel-bt-perl.
commit 72cb3fb7b11292e1cde7f62c61500e1787e2256f
Author: Daniel Lintott <daniel at serverb.co.uk>
Date: Tue Mar 25 11:31:54 2014 +0000
Add patch to fix FTBFS on hurd
Closes: #721420
---
debian/patches/hurd_path_max.patch | 19 +++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 20 insertions(+)
diff --git a/debian/patches/hurd_path_max.patch b/debian/patches/hurd_path_max.patch
new file mode 100644
index 0000000..853b645
--- /dev/null
+++ b/debian/patches/hurd_path_max.patch
@@ -0,0 +1,19 @@
+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 at serverb.co.uk>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721420
+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
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..4b84ffa
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+hurd_path_max.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdevel-bt-perl.git
More information about the Pkg-perl-cvs-commits
mailing list