From 55dddac6338b28be70759437ae46649fc31b7678dfabe5f72485144c5f3adfe1 Mon Sep 17 00:00:00 2001 From: Antonio Larrosa Date: Wed, 13 Oct 2021 09:44:25 +0000 Subject: [PATCH] Accepting request 925057 from home:alarrosa:branches:multimedia:libs - Add patch from upstream to fix compilation on ARM (boo#1191600): * 0001-fix-compilation-on-ARM.patch OBS-URL: https://build.opensuse.org/request/show/925057 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pipewire?expand=0&rev=21 --- 0001-fix-compilation-on-ARM.patch | 22 ++++++++++++++++++++++ pipewire.changes | 6 ++++++ pipewire.spec | 1 + 3 files changed, 29 insertions(+) create mode 100644 0001-fix-compilation-on-ARM.patch diff --git a/0001-fix-compilation-on-ARM.patch b/0001-fix-compilation-on-ARM.patch new file mode 100644 index 0000000..f32bf6c --- /dev/null +++ b/0001-fix-compilation-on-ARM.patch @@ -0,0 +1,22 @@ +From f8817b439433798bd7217dc4ae72197887b0fc96 Mon Sep 17 00:00:00 2001 +From: Wim Taymans +Date: Thu, 30 Sep 2021 11:12:27 +0200 +Subject: [PATCH] cpu: fix compilation on ARM + +--- + spa/plugins/support/cpu-arm.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/spa/plugins/support/cpu-arm.c b/spa/plugins/support/cpu-arm.c +index d80b8ad87..de07ebf41 100644 +--- a/spa/plugins/support/cpu-arm.c ++++ b/spa/plugins/support/cpu-arm.c +@@ -80,7 +80,7 @@ arm_init(struct impl *impl) + int arch; + + if (!(cpuinfo = get_cpuinfo())) { +- spa_log_warn(impl->log, NAME " %p: Can't read cpuinfo", impl); ++ spa_log_warn(impl->log, "%p: Can't read cpuinfo", impl); + return 1; + } + diff --git a/pipewire.changes b/pipewire.changes index a6de1a4..0dfc379 100644 --- a/pipewire.changes +++ b/pipewire.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 13 09:10:51 UTC 2021 - Antonio Larrosa + +- Add patch from upstream to fix compilation on ARM (boo#1191600): + * 0001-fix-compilation-on-ARM.patch + ------------------------------------------------------------------- Thu Sep 30 10:03:37 UTC 2021 - Antonio Larrosa diff --git a/pipewire.spec b/pipewire.spec index ad81119..30808e0 100644 --- a/pipewire.spec +++ b/pipewire.spec @@ -53,6 +53,7 @@ URL: https://pipewire.org/ Source0: %{name}-%{version}.tar.xz Source1: %{name}-rpmlintrc Source99: baselibs.conf +Patch0: 0001-fix-compilation-on-ARM.patch BuildRequires: docutils BuildRequires: doxygen