diff options
author | Zach van Rijn <me@zv.io> | 2024-12-26 14:21:02 -0600 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2024-12-26 14:21:02 -0600 |
commit | 0aec696500f51285db1a2218283d6a06f0f47ee6 (patch) | |
tree | a3a7bfa51e65d5fddae5251d2811cc9f241bd46c /experimental/slurm/musl-getgrent.patch | |
parent | eb7899c3ad60ae9f12a8e201bafe3fef1597741f (diff) | |
download | packages-zv/slurm.tar.gz packages-zv/slurm.tar.bz2 packages-zv/slurm.tar.xz packages-zv/slurm.zip |
experimental/slurm: new package.zv/slurm
Diffstat (limited to 'experimental/slurm/musl-getgrent.patch')
-rw-r--r-- | experimental/slurm/musl-getgrent.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/experimental/slurm/musl-getgrent.patch b/experimental/slurm/musl-getgrent.patch new file mode 100644 index 000000000..b1c538758 --- /dev/null +++ b/experimental/slurm/musl-getgrent.patch @@ -0,0 +1,15 @@ +Source: @pullmoll +Upstream: no +Reason: Musl libc does not have getgrent_r(3) + +--- a/src/slurmctld/groups.c 2019-12-20 21:43:45.000000000 +0100 ++++ b/src/slurmctld/groups.c 2020-02-23 12:23:19.570618716 +0100 +@@ -155,7 +155,7 @@ + * databases), the rest of this function essentially does + * nothing. */ + +-#if defined (__APPLE__) ++#if defined (__APPLE__) || !defined(__GLIBC__) + setgrent(); + while (1) { + if ((grp_result = getgrent()) == NULL) |