Hello community, here is the log from the commit of package pipewire for openSUSE:Factory checked in at 2019-04-27 21:27:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pipewire (Old) and /work/SRC/openSUSE:Factory/.pipewire.new.5536 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pipewire" Sat Apr 27 21:27:34 2019 rev:4 rq:696525 version:0.2.5 Changes: -------- --- /work/SRC/openSUSE:Factory/pipewire/pipewire.changes 2019-04-01 12:30:45.357752986 +0200 +++ /work/SRC/openSUSE:Factory/.pipewire.new.5536/pipewire.changes 2019-04-27 21:27:35.495270679 +0200 @@ -1,0 +2,6 @@ +Fri Apr 19 14:27:04 UTC 2019 - Fabian Vogt <[email protected]> + +- Add patch to fix use of headers from C++: + * avoid-invalid-conversion-error-with-C++.patch + +------------------------------------------------------------------- New: ---- avoid-invalid-conversion-error-with-C++.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pipewire.spec ++++++ --- /var/tmp/diff_new_pack.OToat4/_old 2019-04-27 21:27:36.015270228 +0200 +++ /var/tmp/diff_new_pack.OToat4/_new 2019-04-27 21:27:36.019270224 +0200 @@ -29,6 +29,8 @@ Group: Development/Libraries/C and C++ URL: https://pipewire.org/ Source0: https://github.com/PipeWire/pipewire/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM +Patch1: avoid-invalid-conversion-error-with-C++.patch BuildRequires: meson BuildRequires: pkgconfig ++++++ avoid-invalid-conversion-error-with-C++.patch ++++++ >From 371da358d1580dc06218d18a12a99611cac39e4e Mon Sep 17 00:00:00 2001 From: Jan Grulich <[email protected]> Date: Wed, 2 Jan 2019 10:05:40 +0100 Subject: [PATCH] Avoid invalid conversion error with C++ compilators --- src/pipewire/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipewire/utils.h b/src/pipewire/utils.h index 2ce9fdde..7262ff42 100644 --- a/src/pipewire/utils.h +++ b/src/pipewire/utils.h @@ -58,7 +58,7 @@ pw_spa_pod_copy(const struct spa_pod *pod) return NULL; size = SPA_POD_SIZE(pod); - if ((c = malloc(size)) == NULL) + if ((c = (struct spa_pod *) malloc(size)) == NULL) return NULL; return (struct spa_pod *) memcpy(c, pod, size);
