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-res_n.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-res_n.patch')
-rw-r--r-- | experimental/slurm/musl-res_n.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/experimental/slurm/musl-res_n.patch b/experimental/slurm/musl-res_n.patch new file mode 100644 index 000000000..4eb99a60e --- /dev/null +++ b/experimental/slurm/musl-res_n.patch @@ -0,0 +1,22 @@ +diff -ur a/src/common/slurm_resolv.c b/src/common/slurm_resolv.c +--- a/src/common/slurm_resolv.c 2024-12-26 19:55:15.785564425 +0000 ++++ b/src/common/slurm_resolv.c 2024-12-26 19:57:09.764381591 +0000 +@@ -56,6 +56,18 @@ + return slurm_sort_uint16_list_asc(&ctl1->priority, &ctl2->priority); + } + ++#ifndef res_ninit ++#define res_ninit(X) (X) ++#endif ++ ++#ifndef res_nsearch ++#define res_nsearch(X,D,I,S,B,L) res_search(D,I,S,B,L) ++#endif ++ ++#ifndef res_nclose ++#define res_nclose(X) (X) ++#endif ++ + extern list_t *resolve_ctls_from_dns_srv(void) + { + struct __res_state res; |