diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /media-libs/gavl/files/1.4.0-gnu_source.patch | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
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 + |