git: f29517ee35ea - main - multimedia/pipewire: Unbreak build on recent 13-STABLE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Jan 2022 11:26:23 UTC
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=f29517ee35ea13f839933f0cbcb8943395ae6db9 commit f29517ee35ea13f839933f0cbcb8943395ae6db9 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2022-01-26 11:25:17 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2022-01-26 11:26:03 +0000 multimedia/pipewire: Unbreak build on recent 13-STABLE. PR: 261428 MFH: 2022Q1 --- .../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