diff options
author | Sam James <sam@gentoo.org> | 2022-01-29 00:49:12 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-01-29 00:49:12 +0000 |
commit | 96be3828c908677f4e839d1aca7c75f7019d3408 (patch) | |
tree | cf2da2adea1ce919740119f76bebf471ff055b87 /media-video/pipewire | |
parent | sys-cluster/openmpi: Stabilize 4.1.2 ppc, #832203 (diff) | |
download | gentoo-96be3828c908677f4e839d1aca7c75f7019d3408.tar.gz gentoo-96be3828c908677f4e839d1aca7c75f7019d3408.tar.bz2 gentoo-96be3828c908677f4e839d1aca7c75f7019d3408.zip |
media-video/pipewire: backport musl patch for 0.3.44
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/pipewire')
-rw-r--r-- | media-video/pipewire/files/pipewire-0.3.44-musl-build.patch | 33 | ||||
-rw-r--r-- | media-video/pipewire/pipewire-0.3.44-r1.ebuild | 2 |
2 files changed, 35 insertions, 0 deletions
diff --git a/media-video/pipewire/files/pipewire-0.3.44-musl-build.patch b/media-video/pipewire/files/pipewire-0.3.44-musl-build.patch new file mode 100644 index 000000000000..6ebcc5db8feb --- /dev/null +++ b/media-video/pipewire/files/pipewire-0.3.44-musl-build.patch @@ -0,0 +1,33 @@ +https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/3256c6e5e7e2cef1f765dc05a001114359cc3134 + +From: Wim Taymans <wtaymans@redhat.com> +Date: Thu, 27 Jan 2022 14:59:11 +0100 +Subject: [PATCH] tools: fix compilation with musl + +--- a/src/tools/pw-cli.c ++++ b/src/tools/pw-cli.c +@@ -36,6 +36,10 @@ + #include <readline/readline.h> + #include <readline/history.h> + ++#if !defined(FNM_EXTMATCH) ++#define FNM_EXTMATCH 0 ++#endif ++ + #define spa_debug(...) fprintf(stdout,__VA_ARGS__);fputc('\n', stdout) + + #include <spa/utils/result.h> +--- a/src/tools/pw-dump.c ++++ b/src/tools/pw-dump.c +@@ -32,6 +32,10 @@ + #include <math.h> + #include <fnmatch.h> + ++#if !defined(FNM_EXTMATCH) ++#define FNM_EXTMATCH 0 ++#endif ++ + #include <spa/utils/result.h> + #include <spa/utils/string.h> + #include <spa/pod/iter.h> +GitLab diff --git a/media-video/pipewire/pipewire-0.3.44-r1.ebuild b/media-video/pipewire/pipewire-0.3.44-r1.ebuild index 033d3614a241..14762acb4998 100644 --- a/media-video/pipewire/pipewire-0.3.44-r1.ebuild +++ b/media-video/pipewire/pipewire-0.3.44-r1.ebuild @@ -109,6 +109,8 @@ DOCS=( {README,INSTALL}.md NEWS ) PATCHES=( "${FILESDIR}"/${PN}-0.3.25-enable-failed-mlock-warning.patch + + "${FILESDIR}"/${PN}-0.3.44-musl-build.patch ) # limitsdfile related code taken from =sys-auth/realtime-base-0.1 |