From e2521329169c2867009b66984bc2988c9631f00f Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Tue, 23 Nov 2021 12:23:32 -0800 Subject: lang/guile2: define _WITH_CPU_SET_T to fix build on -CURRENT Changes in 90fa9705d5cd hide functionality behind _WITH_CPU_SET_T, and require consumers to opt-in. posix.c:2114:29: error: unknown type name 'cpu_set_t'; did you mean 'cpuset_t'? cpu_set_to_bitvector (const cpu_set_t *cs) ^~~~~~~~~ cpuset_t /usr/include/sys/_cpuset.h:50:24: note: 'cpuset_t' declared here typedef struct _cpuset cpuset_t; ^ MFH after: 3 days --- lang/guile2/files/patch-libguile_posix.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lang/guile2/files/patch-libguile_posix.c (limited to 'lang/guile2/files/patch-libguile_posix.c') diff --git a/lang/guile2/files/patch-libguile_posix.c b/lang/guile2/files/patch-libguile_posix.c new file mode 100644 index 000000000000..adf781adf214 --- /dev/null +++ b/lang/guile2/files/patch-libguile_posix.c @@ -0,0 +1,10 @@ +--- libguile/posix.c.orig 2019-07-01 05:21:54.000000000 -0700 ++++ libguile/posix.c 2021-11-23 12:10:16.007364000 -0800 +@@ -28,6 +28,7 @@ + #include + + #ifdef HAVE_SCHED_H ++#define _WITH_CPU_SET_T + # include + #endif + -- cgit v1.2.3