Skip to content

Commit

Permalink
multimedia/pipewire: Unbreak build on recent 13-STABLE.
Browse files Browse the repository at this point in the history
PR:		261428
MFH:		2022Q1
  • Loading branch information
arrowd committed Jan 26, 2022
1 parent b2d4a9a commit f29517e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions 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

0 comments on commit f29517e

Please sign in to comment.