1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

net/mpich: fix with Slurm-23.11.1

See <https://github.com/pmodels/mpich/issues/6806>.

Patch from <https://github.com/pmodels/mpich/pull/6820>.
This commit is contained in:
Thierry Thomas 2023-12-18 22:23:19 +01:00
parent 9adb7c18c4
commit 141ef0c641
2 changed files with 12 additions and 0 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= mpich
PORTVERSION= 4.1.2
PORTREVISION= 1
CATEGORIES= net parallel
MASTER_SITES= https://www.mpich.org/static/downloads/${DISTVERSION}/

View File

@ -0,0 +1,11 @@
--- src/pm/hydra/lib/tools/bootstrap/external/slurm_query_node_list.c.orig 2023-06-06 14:38:37 UTC
+++ src/pm/hydra/lib/tools/bootstrap/external/slurm_query_node_list.c
@@ -26,7 +26,7 @@ static HYD_status list_to_nodes(char *str)
#if defined(HAVE_SLURM)
static HYD_status list_to_nodes(char *str)
{
- hostlist_t hostlist;
+ hostlist_t *hostlist;
char *host;
int k = 0;
HYD_status status = HYD_SUCCESS;