Hello community, here is the log from the commit of package alsa-tools for openSUSE:Factory checked in at 2020-01-03 17:33:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/alsa-tools (Old) and /work/SRC/openSUSE:Factory/.alsa-tools.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "alsa-tools" Fri Jan 3 17:33:55 2020 rev:77 rq:758571 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/alsa-tools/alsa-tools.changes 2019-11-27 13:57:20.972248730 +0100 +++ /work/SRC/openSUSE:Factory/.alsa-tools.new.6675/alsa-tools.changes 2020-01-03 17:33:58.379204091 +0100 @@ -1,0 +2,6 @@ +Fri Dec 20 16:56:52 CET 2019 - [email protected] + +- Fix hdspmixer build error with the latest alsa-lib: + 0001-hdspmixer-Use-__u32-and-__u64-for-RMS-array-types.patch + +------------------------------------------------------------------- New: ---- 0001-hdspmixer-Use-__u32-and-__u64-for-RMS-array-types.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ alsa-tools.spec ++++++ --- /var/tmp/diff_new_pack.5m0Wmq/_old 2020-01-03 17:34:00.447205095 +0100 +++ /var/tmp/diff_new_pack.5m0Wmq/_new 2020-01-03 17:34:00.479205111 +0100 @@ -37,6 +37,7 @@ Source4: rmedigicontrol.desktop Source7: rmedigicontrol.png # upstream fixes +Patch1: 0001-hdspmixer-Use-__u32-and-__u64-for-RMS-array-types.patch # build fixes Patch101: alsa-tools-no_m4_dir.dif BuildRequires: alsa-devel @@ -301,6 +302,7 @@ %setup -q -a 2 -n %{name}-%{package_version} cp %{SOURCE1} . # upstream fixes +%patch1 -p1 # build fixes #patch100 -p1 %patch101 -p1 ++++++ 0001-hdspmixer-Use-__u32-and-__u64-for-RMS-array-types.patch ++++++ >From 534e7fac808a891af0ccdd72c47cc9b1ccfde460 Mon Sep 17 00:00:00 2001 From: Takashi Iwai <[email protected]> Date: Fri, 20 Dec 2019 16:40:43 +0100 Subject: [PATCH] hdspmixer: Use __u32 and __u64 for RMS array types Some variable types are referring to the field in ioctl struct, which are actually __u32 or __u64 instead of uint32_t or uint64_t. This inconsistency may result in the compile error. Signed-off-by: Takashi Iwai <[email protected]> --- hdspmixer/src/HDSPMixerWindow.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hdspmixer/src/HDSPMixerWindow.cxx b/hdspmixer/src/HDSPMixerWindow.cxx index 342efb2b857f..9efc25d0d5c0 100644 --- a/hdspmixer/src/HDSPMixerWindow.cxx +++ b/hdspmixer/src/HDSPMixerWindow.cxx @@ -35,8 +35,8 @@ static void readregisters_cb(void *arg) hdsp_peak_rms_t hdsp_peak_rms; struct hdspm_peak_rms hdspm_peak_rms; bool isMADI = false; - uint32_t *input_peaks, *playback_peaks, *output_peaks; - uint64_t *input_rms, *playback_rms, *output_rms; + __u32 *input_peaks, *playback_peaks, *output_peaks; + __u64 *input_rms, *playback_rms, *output_rms; HDSPMixerWindow *w = (HDSPMixerWindow *)arg; -- 2.16.4
