git: 9db3c8c3e0f5 - 2022Q1 - multimedia/pipewire: Unbreak build on recent 13-STABLE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Feb 2022 18:05:07 UTC
The branch 2022Q1 has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=9db3c8c3e0f5fc8de6883e1fa916f9383226238b commit 9db3c8c3e0f5fc8de6883e1fa916f9383226238b Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2022-01-26 11:25:17 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2022-02-13 18:04:51 +0000 multimedia/pipewire: Unbreak build on recent 13-STABLE. PR: 261428 MFH: 2022Q1 (cherry picked from commit f29517ee35ea13f839933f0cbcb8943395ae6db9) --- .../pipewire/files/patch-spa_tests_stress-ringbuffer.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/multimedia/pipewire/files/patch-spa_tests_stress-ringbuffer.c b/multimedia/pipewire/files/patch-spa_tests_stress-ringbuffer.c new file mode 100644 index 000000000000..7302c91e2c6b --- /dev/null +++ b/multimedia/pipewire/files/patch-spa_tests_stress-ringbuffer.c @@ -0,0 +1,12 @@ +--- spa/tests/stress-ringbuffer.c.orig 2022-01-05 10:25:04 UTC ++++ spa/tests/stress-ringbuffer.c +@@ -13,7 +13,8 @@ + + #ifdef __FreeBSD__ + #include <sys/param.h> +-#if __FreeBSD_version < 1400043 ++#if (__FreeBSD_version >= 1400000 && __FreeBSD_version < 1400043) \ ++ || (__FreeBSD_version < 1300523) + static int sched_getcpu(void) { return -1; }; + #endif + #endif