FreeBSD Port: pipewire-0.3.43 error build on latest 13-stable

From: Alex V. Petrov <alexvpetrov_at_gmail.com>
Date: Tue, 25 Jan 2022 15:21:00 UTC
[ 31% 180/575] cc -Ispa/tests/spa-stress-ringbuffer.p -Ispa/tests 
-I../spa/tests -Ispa/include -I../spa/include -I/usr/local/include 
-fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch 
-Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare 
-Wpointer-arith -Wpointer-sign -Wformat -Wformat-security 
-Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros 
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic 
-Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe 
-fstack-protector-strong -isystem /usr/local/include 
-fno-strict-aliasing -isystem /usr/local/include -fPIE -pthread -MD -MQ 
spa/tests/spa-stress-ringbuffer.p/stress-ringbuffer.c.o -MF 
spa/tests/spa-stress-ringbuffer.p/stress-ringbuffer.c.o.d -o 
spa/tests/spa-stress-ringbuffer.p/stress-ringbuffer.c.o -c 
../spa/tests/stress-ringbuffer.c
FAILED: spa/tests/spa-stress-ringbuffer.p/stress-ringbuffer.c.o
cc -Ispa/tests/spa-stress-ringbuffer.p -Ispa/tests -I../spa/tests 
-Ispa/include -I../spa/include -I/usr/local/include 
-fno-color-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch 
-Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Wsign-compare 
-Wpointer-arith -Wpointer-sign -Wformat -Wformat-security 
-Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros 
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic 
-Wunused-result -D_GNU_SOURCE -DFASTPATH -O2 -pipe 
-fstack-protector-strong -isystem /usr/local/include 
-fno-strict-aliasing -isystem /usr/local/include -fPIE -pthread -MD -MQ 
spa/tests/spa-stress-ringbuffer.p/stress-ringbuffer.c.o -MF 
spa/tests/spa-stress-ringbuffer.p/stress-ringbuffer.c.o.d -o 
spa/tests/spa-stress-ringbuffer.p/stress-ringbuffer.c.o -c 
../spa/tests/stress-ringbuffer.c
../spa/tests/stress-ringbuffer.c:17:12: error: static declaration of 
'sched_getcpu' follows non-static declaration
static int sched_getcpu(void) { return -1; };
            ^
/usr/include/sched.h:45:5: note: previous declaration is here
int sched_getcpu(void);
     ^
1 error generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
-- 
-----
Alex.