[pmix] 10/10: FTBFS on Hurd: add patch for MAXPATHLEN

Alastair McKinstry mckinstry at moszumanska.debian.org
Sat Nov 25 11:06:13 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 85bd8af487c021beef640b2805babc762bda1dc2
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Sat Nov 25 11:04:10 2017 +0000

    FTBFS on Hurd: add patch for MAXPATHLEN
---
 debian/changelog              |  6 ++++++
 debian/patches/hurd-fix.patch | 25 ++++++++++++++++++++-----
 2 files changed, 26 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cdcd077..ee93ce3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pmix (2.1.0~rc1-2) UNRELEASED; urgency=medium
+
+  * FTBFS on Hurd: add patch for MAXPATHLEN
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Sat, 25 Nov 2017 11:03:53 +0000
+
 pmix (2.1.0~rc1-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/debian/patches/hurd-fix.patch b/debian/patches/hurd-fix.patch
index 5e5814c..f0dc0a6 100644
--- a/debian/patches/hurd-fix.patch
+++ b/debian/patches/hurd-fix.patch
@@ -1,13 +1,13 @@
 Origin-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881952
-Description: Fix for MAXHOSTNAMELEN not present on Hurd
+Description: Fix for MAXHOSTNAMELEN, MAXPATHLEN not present on Hurd
 Author: Alastair McKinstry <mckinstry at debian.org>
 Forwarded: no
-Last-Updated: 2017-11-17
+Last-Updated: 2017-11-25
 
-Index: pmix-2.0.2/src/mca/base/pmix_mca_base_component_find.c
+Index: pmix-2.1.0~rc1/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
+--- pmix-2.1.0~rc1.orig/src/mca/base/pmix_mca_base_component_find.c
++++ pmix-2.1.0~rc1/src/mca/base/pmix_mca_base_component_find.c
 @@ -339,7 +339,7 @@ static int component_find_check (pmix_mc
          }
  
@@ -17,3 +17,18 @@ Index: pmix-2.0.2/src/mca/base/pmix_mca_base_component_find.c
              gethostname(h, sizeof(h));
              pmix_show_help("help-mca-base.txt",
                             "find-available:not-valid", true,
+Index: pmix-2.1.0~rc1/src/mca/base/pmix_mca_base_var.c
+===================================================================
+--- pmix-2.1.0~rc1.orig/src/mca/base/pmix_mca_base_var.c
++++ pmix-2.1.0~rc1/src/mca/base/pmix_mca_base_var.c
+@@ -50,6 +50,10 @@
+ #include "src/util/output.h"
+ #include "src/util/pmix_environ.h"
+ 
++#ifndef MAXPATHLEN /* Hurd */
++#define MAXPATHLEN 1024
++#endif
++
+ /*
+  * local variables
+  */

-- 
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