From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/, media-video/pipewire/
Date: Tue, 26 Oct 2021 08:59:59 +0000 (UTC) [thread overview]
Message-ID: <1635238791.0d5a3a7b354d34e05c92a2a8dba66510122d8b0a.sam@gentoo> (raw)
commit: 0d5a3a7b354d34e05c92a2a8dba66510122d8b0a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 26 08:59:41 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 26 08:59:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d5a3a7b
media-video/pipewire: add build fixes for some arches
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../pipewire-0.3.39-fix-build-some-arches.patch | 35 ++++++++++++++++++++++
media-video/pipewire/pipewire-0.3.39-r1.ebuild | 2 ++
2 files changed, 37 insertions(+)
diff --git a/media-video/pipewire/files/pipewire-0.3.39-fix-build-some-arches.patch b/media-video/pipewire/files/pipewire-0.3.39-fix-build-some-arches.patch
new file mode 100644
index 00000000000..fe5392e29a3
--- /dev/null
+++ b/media-video/pipewire/files/pipewire-0.3.39-fix-build-some-arches.patch
@@ -0,0 +1,35 @@
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/651f0decea5f83730c271e9bed03cdd0048fcd49.patch
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/2cddd4a775c145570f4a8a30d28b57f551d43206.patch
+
+From: Wim Taymans <wtaymans@redhat.com>
+Date: Thu, 21 Oct 2021 11:09:48 +0200
+Subject: [PATCH] cpu: fix compilation on some architectures
+
+--- a/spa/plugins/support/cpu.c
++++ b/spa/plugins/support/cpu.c
+@@ -270,7 +270,7 @@ impl_init(const struct spa_handle_factory *factory,
+ if ((str = spa_dict_lookup(info, SPA_KEY_CPU_VM_TYPE)) != NULL)
+ this->vm_type = atoi(str);
+ if ((str = spa_dict_lookup(info, SPA_KEY_CPU_ZERO_DENORMALS)) != NULL)
+- impl_cpu_zero_denormals(this, spa_atob(str));
++ spa_cpu_zero_denormals(&this->cpu, spa_atob(str));
+ }
+
+ spa_log_debug(this->log, "%p: count:%d align:%d flags:%08x",
+
+From: Wim Taymans <wtaymans@redhat.com>
+Date: Mon, 25 Oct 2021 16:32:16 +0200
+Subject: [PATCH] cpu: disable VFP asm when not available
+
+Fixes #1746
+--- a/spa/plugins/support/cpu-arm.c
++++ b/spa/plugins/support/cpu-arm.c
+@@ -143,7 +143,7 @@ static int arm_zero_denormals(void *object, bool enable)
+ "msr fpcr, %0 \n"
+ "isb \n"
+ : "=r"(cw)::"memory");
+-#else
++#elif (defined(__VFP_FP__) && !defined(__SOFTFP__))
+ uint32_t cw;
+ if (enable)
+ __asm__ __volatile__(
diff --git a/media-video/pipewire/pipewire-0.3.39-r1.ebuild b/media-video/pipewire/pipewire-0.3.39-r1.ebuild
index 3c425733a52..0b9ee48f090 100644
--- a/media-video/pipewire/pipewire-0.3.39-r1.ebuild
+++ b/media-video/pipewire/pipewire-0.3.39-r1.ebuild
@@ -100,6 +100,8 @@ DOCS=( {README,INSTALL}.md NEWS )
PATCHES=(
"${FILESDIR}"/${PN}-0.3.25-enable-failed-mlock-warning.patch
+ # Upstream
+ "${FILESDIR}"/${P}-fix-build-some-arches.patch
)
# limitsdfile related code taken from =sys-auth/realtime-base-0.1
next reply other threads:[~2021-10-26 9:00 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-26 8:59 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-17 20:00 [gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/files/, media-video/pipewire/ Andreas Sturmlechner
2024-07-01 8:19 Sam James
2023-08-24 19:42 Sam James
2023-06-17 2:49 Sam James
2023-06-07 9:52 Sam James
2023-06-07 9:52 Sam James
2023-05-05 8:35 Sam James
2022-12-30 6:59 Sam James
2022-12-27 14:17 Sam James
2022-12-16 4:56 Sam James
2022-12-10 4:35 Sam James
2022-11-11 4:25 Sam James
2022-11-11 4:25 Sam James
2022-07-19 21:18 Sam James
2022-07-10 20:23 Sam James
2022-07-09 1:12 Sam James
2022-07-04 23:53 Sam James
2022-06-15 21:56 Sam James
2022-06-10 0:38 Sam James
2022-04-21 22:03 Sam James
2022-04-21 21:57 Sam James
2022-04-17 16:44 Sam James
2022-04-15 7:59 Sam James
2022-01-29 0:49 Sam James
2022-01-06 20:53 Sam James
2021-12-18 6:39 Sam James
2021-11-11 22:09 Sam James
2021-10-26 9:03 Sam James
2021-10-25 17:12 Patrick McLean
2021-09-21 6:32 Miroslav Šulc
2021-09-19 1:18 Sam James
2021-08-27 10:50 Lars Wendler
2021-08-24 13:17 Thomas Deutschmann
2021-06-30 20:40 Lars Wendler
2021-06-30 20:16 Lars Wendler
2021-06-04 7:33 Thomas Deutschmann
2021-05-21 23:05 Thomas Deutschmann
2021-04-24 21:15 Thomas Deutschmann
2019-10-21 23:38 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1635238791.0d5a3a7b354d34e05c92a2a8dba66510122d8b0a.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox