void-packages/srcpkgs/slurm-wlm/patches/musl-cpu_set_t.patch
Jürgen Buchmüller 8a40c5bab4 slurm-wlm: fix musl
2020-02-23 13:15:10 +01:00

14 lines
372 B
Diff

Source: @pullmoll
Upstream: no
Reason: Need _GNU_SOURCE defined to define cpu_set_t in sched.h
--- src/slurmd/slurmd/req.c 2019-12-20 21:43:45.000000000 +0100
+++ src/slurmd/slurmd/req.c 2020-02-23 13:07:29.257513065 +0100
@@ -49,6 +49,7 @@
#include <numa.h>
#endif
#include <poll.h>
+#define _GNU_SOURCE
#include <pthread.h>
#include <sched.h>
#include <signal.h>