From c1c6b2e4722d73829c48e2e3a9c6778707264941 Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Tue, 28 Jan 2020 05:58:26 +0000 Subject: [PATCH] Fix the build of HDSPMixer in alsa-tools git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22608 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- introduction/welcome/changelog.xml | 4 ++++ multimedia/libdriv/alsa-tools.xml | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index e96e6a2758..adae019c24 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -44,6 +44,10 @@ January 27th, 2020 + + [renodr] - Fix a FTBS in HDSPMixer in alsa-tools due to + Linux-5.4 kernel API changes. + [ken] - Update to mutt-1.13.3. Fixes #13016. diff --git a/multimedia/libdriv/alsa-tools.xml b/multimedia/libdriv/alsa-tools.xml index c639bae060..d687954dbf 100644 --- a/multimedia/libdriv/alsa-tools.xml +++ b/multimedia/libdriv/alsa-tools.xml @@ -121,7 +121,9 @@ sed -i -e "/#include/i #define __user" \ hdspconf/src/*.cxx \ hdspmixer/src/*.cxx \ - hdsploader/hdsploader.c + hdsploader/hdsploader.c && +sed -i -e '39 s/uint32_t/__u32/' hdspmixer/src/HDSPMixerWindow.cxx && +sed -i -e '40 s/uint64_t/__u64/' hdspmixer/src/HDSPMixerWindow.cxx The ALSA Tools package is only needed by those