diff options
author | Sam James <sam@gentoo.org> | 2022-04-21 23:03:14 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-21 23:03:14 +0100 |
commit | cf0839e62df9f24422111150f0ccb5bf82a6e7bf (patch) | |
tree | 53f4b816b091f55160c0d209219fd83f528fdc69 /media-video/pipewire | |
parent | media-video/pipewire: add 0.3.50-r2 to fix issues with weird CFLAGS (diff) | |
download | gentoo-cf0839e62df9f24422111150f0ccb5bf82a6e7bf.tar.gz gentoo-cf0839e62df9f24422111150f0ccb5bf82a6e7bf.tar.bz2 gentoo-cf0839e62df9f24422111150f0ccb5bf82a6e7bf.zip |
media-video/pipewire: backport x86 fix
Bug: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2271
Bug: https://bugs.gentoo.org/827546
Bug: https://bugs.gentoo.org/839525
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-video/pipewire')
-rw-r--r-- | media-video/pipewire/files/pipewire-0.3.49-x86-cast.patch | 20 | ||||
-rw-r--r-- | media-video/pipewire/pipewire-0.3.49-r1.ebuild (renamed from media-video/pipewire/pipewire-0.3.49.ebuild) | 2 | ||||
-rw-r--r-- | media-video/pipewire/pipewire-0.3.50-r3.ebuild (renamed from media-video/pipewire/pipewire-0.3.50-r2.ebuild) | 2 |
3 files changed, 24 insertions, 0 deletions
diff --git a/media-video/pipewire/files/pipewire-0.3.49-x86-cast.patch b/media-video/pipewire/files/pipewire-0.3.49-x86-cast.patch new file mode 100644 index 000000000000..58b4b331e03e --- /dev/null +++ b/media-video/pipewire/files/pipewire-0.3.49-x86-cast.patch @@ -0,0 +1,20 @@ +https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/5a023c8c84fb053d452983a64a33a41b931fc99b +https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2271 + +From: Wim Taymans <wtaymans@redhat.com> +Date: Thu, 21 Apr 2022 22:12:38 +0200 +Subject: [PATCH] alsa: fix argument type for Long + +Fixes #2271 +--- a/spa/plugins/alsa/alsa-pcm.c ++++ b/spa/plugins/alsa/alsa-pcm.c +@@ -311,7 +311,7 @@ struct spa_pod *spa_alsa_enum_propinfo(struct state *state, + SPA_PROP_INFO_name, SPA_POD_String("latency.internal.ns"), + SPA_PROP_INFO_description, SPA_POD_String("Internal latency in nanoseconds"), + SPA_PROP_INFO_type, SPA_POD_CHOICE_RANGE_Long(state->process_latency.ns, +- 0, 2 * SPA_NSEC_PER_SEC), ++ 0LL, 2 * SPA_NSEC_PER_SEC), + SPA_PROP_INFO_params, SPA_POD_Bool(true)); + break; + case 15: +GitLab diff --git a/media-video/pipewire/pipewire-0.3.49.ebuild b/media-video/pipewire/pipewire-0.3.49-r1.ebuild index 2c5d7c42cf3d..72a8b570d996 100644 --- a/media-video/pipewire/pipewire-0.3.49.ebuild +++ b/media-video/pipewire/pipewire-0.3.49-r1.ebuild @@ -124,6 +124,8 @@ DOCS=( {README,INSTALL}.md NEWS ) PATCHES=( "${FILESDIR}"/${PN}-0.3.25-enable-failed-mlock-warning.patch + + "${FILESDIR}"/${PN}-0.3.49-x86-cast.patch ) # limitsdfile related code taken from =sys-auth/realtime-base-0.1 diff --git a/media-video/pipewire/pipewire-0.3.50-r2.ebuild b/media-video/pipewire/pipewire-0.3.50-r3.ebuild index 19259baf68c8..2e5d0001fa23 100644 --- a/media-video/pipewire/pipewire-0.3.50-r2.ebuild +++ b/media-video/pipewire/pipewire-0.3.50-r3.ebuild @@ -124,8 +124,10 @@ DOCS=( {README,INSTALL}.md NEWS ) PATCHES=( "${FILESDIR}"/${PN}-0.3.25-enable-failed-mlock-warning.patch + "${FILESDIR}"/${P}-fix-spa-header.patch "${FILESDIR}"/${P}-treewide-retain-sections-to.patch + "${FILESDIR}"/${PN}-0.3.49-x86-cast.patch ) # limitsdfile related code taken from =sys-auth/realtime-base-0.1 |