diff options
Diffstat (limited to 'media-libs/gavl/files/1.4.0-gnu_source.patch')
-rw-r--r-- | media-libs/gavl/files/1.4.0-gnu_source.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media-libs/gavl/files/1.4.0-gnu_source.patch b/media-libs/gavl/files/1.4.0-gnu_source.patch new file mode 100644 index 000000000000..bdd48d5352cd --- /dev/null +++ b/media-libs/gavl/files/1.4.0-gnu_source.patch @@ -0,0 +1,22 @@ +https://bugs.gentoo.org/715780 + +musl #ifdef:s most of the defines in sched.h with _GNU_SOURCE +https://elixir.bootlin.com/musl/latest/source/include/sched.h#L13. + +--- + +diff --git a/src/benchmark.c b/src/benchmark.c +index eb96b2a..18fc2d2 100644 +--- a/src/benchmark.c ++++ b/src/benchmark.c +@@ -40,6 +40,7 @@ + #endif + + #ifdef HAVE_SCHED_SETAFFINITY ++#define _GNU_SOURCE + #define __USE_GNU + #include <sched.h> + #endif +-- +2.35.1 + |