HomeFreeBSD

graphics/libjxl: unbreak with libc++ 12

Description

graphics/libjxl: unbreak with libc++ 12

In file included from tools/cpu/os_specific.cc:60:
/usr/include/sys/cpuset.h:153:12: error: unknown type name 'cpusetid_t'
int cpuset(cpusetid_t *);

^

/usr/include/sys/cpuset.h:154:18: error: unknown type name 'cpuwhich_t'; did you mean '__cpuwhich_t'?
int cpuset_setid(cpuwhich_t, id_t, cpusetid_t);

^

/usr/include/sys/_types.h:146:14: note: 'cpuwhich_t' declared here
typedef int
cpuwhich_t; /* which parameter for cpuset. */

^

In file included from tools/cpu/os_specific.cc:60:
/usr/include/sys/cpuset.h:154:30: error: unknown type name 'id_t'; did you mean 'pid_t'?
int cpuset_setid(cpuwhich_t, id_t, cpusetid_t);

^

/usr/include/time.h:95:18: note: 'pid_t' declared here
typedef __pid_t pid_t;

^

In file included from tools/cpu/os_specific.cc:60:
/usr/include/sys/cpuset.h:154:36: error: unknown type name 'cpusetid_t'
int cpuset_setid(cpuwhich_t, id_t, cpusetid_t);

^

/usr/include/sys/cpuset.h:155:18: error: unknown type name 'cpulevel_t'; did you mean '__cpulevel_t'?
int cpuset_getid(cpulevel_t, cpuwhich_t, id_t, cpusetid_t *);

^

/usr/include/sys/_types.h:147:14: note: 'cpulevel_t' declared here
typedef int
cpulevel_t; /* level parameter for cpuset. */

^

In file included from tools/cpu/os_specific.cc:60:
/usr/include/sys/cpuset.h:155:30: error: unknown type name 'cpuwhich_t'; did you mean '__cpuwhich_t'?
int cpuset_getid(cpulevel_t, cpuwhich_t, id_t, cpusetid_t *);

^

/usr/include/sys/_types.h:146:14: note: 'cpuwhich_t' declared here
typedef int
cpuwhich_t; /* which parameter for cpuset. */

^

In file included from tools/cpu/os_specific.cc:60:
/usr/include/sys/cpuset.h:155:42: error: unknown type name 'id_t'; did you mean 'pid_t'?
int cpuset_getid(cpulevel_t, cpuwhich_t, id_t, cpusetid_t *);

^

/usr/include/time.h:95:18: note: 'pid_t' declared here
typedef __pid_t pid_t;

^

In file included from tools/cpu/os_specific.cc:60:
/usr/include/sys/cpuset.h:155:48: error: unknown type name 'cpusetid_t'
int cpuset_getid(cpulevel_t, cpuwhich_t, id_t, cpusetid_t *);

^

/usr/include/sys/cpuset.h:156:24: error: unknown type name 'cpulevel_t'; did you mean '__cpulevel_t'?
int cpuset_getaffinity(cpulevel_t, cpuwhich_t, id_t, size_t, cpuset_t *);

^

/usr/include/sys/_types.h:147:14: note: 'cpulevel_t' declared here
typedef int
cpulevel_t; /* level parameter for cpuset. */

^

In file included from tools/cpu/os_specific.cc:60:
/usr/include/sys/cpuset.h:156:36: error: unknown type name 'cpuwhich_t'; did you mean '__cpuwhich_t'?
int cpuset_getaffinity(cpulevel_t, cpuwhich_t, id_t, size_t, cpuset_t *);

^

/usr/include/sys/_types.h:146:14: note: 'cpuwhich_t' declared here
typedef int
cpuwhich_t; /* which parameter for cpuset. */

^

In file included from tools/cpu/os_specific.cc:60:
/usr/include/sys/cpuset.h:156:48: error: unknown type name 'id_t'; did you mean 'pid_t'?
int cpuset_getaffinity(cpulevel_t, cpuwhich_t, id_t, size_t, cpuset_t *);

^

/usr/include/time.h:95:18: note: 'pid_t' declared here
typedef __pid_t pid_t;

^

In file included from tools/cpu/os_specific.cc:60:
/usr/include/sys/cpuset.h:157:24: error: unknown type name 'cpulevel_t'; did you mean '__cpulevel_t'?
int cpuset_setaffinity(cpulevel_t, cpuwhich_t, id_t, size_t, const cpuset_t *);

^

/usr/include/sys/_types.h:147:14: note: 'cpulevel_t' declared here
typedef int
cpulevel_t; /* level parameter for cpuset. */

^

In file included from tools/cpu/os_specific.cc:60:
/usr/include/sys/cpuset.h:157:36: error: unknown type name 'cpuwhich_t'; did you mean '__cpuwhich_t'?
int cpuset_setaffinity(cpulevel_t, cpuwhich_t, id_t, size_t, const cpuset_t *);

^

/usr/include/sys/_types.h:146:14: note: 'cpuwhich_t' declared here
typedef int
cpuwhich_t; /* which parameter for cpuset. */

^

In file included from tools/cpu/os_specific.cc:60:
/usr/include/sys/cpuset.h:157:48: error: unknown type name 'id_t'; did you mean 'pid_t'?
int cpuset_setaffinity(cpulevel_t, cpuwhich_t, id_t, size_t, const cpuset_t *);

^

/usr/include/time.h:95:18: note: 'pid_t' declared here
typedef __pid_t pid_t;

^

Reported by: pkg-fallout

Details

Provenance
jbeichAuthored on Jun 16 2021, 11:46 PM
Parents
R11:5c3f345f3798: graphics/jpeg-xl: chase project rename/move
Branches
Unknown
Tags
Unknown