[Bug 259787] multimedia/ffmpeg: Fails to build on 14: libavutil/cpu.c:284:5: error: unknown type name 'cpu_set_t';
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Nov 2021 02:00:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259787 --- Comment #3 from tod.jackson@gmail.com --- Ah, thanks. I went ahead and subscribed. In the meantime I just patched it since I didn't have much luck messing with the headers on my own. --- libavutil/cpu.c.orig 2021-10-24 14:47:11.000000000 -0600 +++ libavutil/cpu.c 2021-11-11 18:50:52.941062000 -0700 @@ -281,7 +281,11 @@ SYSTEM_INFO sysinfo; #endif #if HAVE_SCHED_GETAFFINITY && defined(CPU_COUNT) + #ifdef __FreeBSD__ + cpuset_t cpuset; + #else cpu_set_t cpuset; + #endif CPU_ZERO(&cpuset); -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.