diff options
author | Cy Schubert <cy@FreeBSD.org> | 2021-11-23 12:23:32 -0800 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2021-11-23 13:39:04 -0800 |
commit | e2521329169c2867009b66984bc2988c9631f00f (patch) | |
tree | 35bd28df2392b620addfff6574444fbfb2887f18 | |
parent | graphics/photoflare: fix build on armv7 (diff) |
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
-rw-r--r-- | lang/guile2/files/patch-libguile_posix.c | 10 |
1 files changed, 10 insertions, 0 deletions
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 <uniconv.h> + + #ifdef HAVE_SCHED_H ++#define _WITH_CPU_SET_T + # include <sched.h> + #endif + |