[pmix] 06/10: Add patch for FTBFS on Hurd: #811952
Alastair McKinstry
mckinstry at moszumanska.debian.org
Sat Nov 25 11:06:12 UTC 2017
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to branch debian/master
in repository pmix.
commit 1a22da4ce0607cab514095fbf35dc0a8e290e437
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Fri Nov 17 10:25:08 2017 +0000
Add patch for FTBFS on Hurd: #811952
---
debian/changelog | 1 +
debian/patches/hurd-fix.patch | 19 +++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 21 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 32abb33..53085cf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ pmix (2.0.2-1) UNRELEASED; urgency=medium
* New upstream release
* Standards-Version: 4.1.1
* Set libpmix-dev as Multi-Arch: same
+ * Add patch for FTBFS on Hurd: #811952
-- Alastair McKinstry <mckinstry at debian.org> Thu, 16 Nov 2017 13:22:18 +0000
diff --git a/debian/patches/hurd-fix.patch b/debian/patches/hurd-fix.patch
new file mode 100644
index 0000000..5e5814c
--- /dev/null
+++ b/debian/patches/hurd-fix.patch
@@ -0,0 +1,19 @@
+Origin-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881952
+Description: Fix for MAXHOSTNAMELEN not present on Hurd
+Author: Alastair McKinstry <mckinstry at debian.org>
+Forwarded: no
+Last-Updated: 2017-11-17
+
+Index: pmix-2.0.2/src/mca/base/pmix_mca_base_component_find.c
+===================================================================
+--- pmix-2.0.2.orig/src/mca/base/pmix_mca_base_component_find.c
++++ pmix-2.0.2/src/mca/base/pmix_mca_base_component_find.c
+@@ -339,7 +339,7 @@ static int component_find_check (pmix_mc
+ }
+
+ if (!found) {
+- char h[MAXHOSTNAMELEN];
++ char h[PMIX_MAXHOSTNAMELEN];
+ gethostname(h, sizeof(h));
+ pmix_show_help("help-mca-base.txt",
+ "find-available:not-valid", true,
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3af60ab
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+hurd-fix.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pmix.git
More information about the debian-science-commits
mailing list