git: e2521329169c - main - lang/guile2: define _WITH_CPU_SET_T to fix build on -CURRENT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Nov 2021 21:39:32 UTC
The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=e2521329169c2867009b66984bc2988c9631f00f commit e2521329169c2867009b66984bc2988c9631f00f Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2021-11-23 20:23:32 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2021-11-23 21:39:04 +0000 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(+) 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 +