From 3ce834737de2c4404a7198af2561ca1c4bb10e1a Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 6 Jul 2023 17:27:17 -0400 Subject: audio/alsa-tools: Fix build. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- audio/alsa-tools/alsa-tools.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'audio') diff --git a/audio/alsa-tools/alsa-tools.SlackBuild b/audio/alsa-tools/alsa-tools.SlackBuild index 2be189199d..8cf85cecd2 100644 --- a/audio/alsa-tools/alsa-tools.SlackBuild +++ b/audio/alsa-tools/alsa-tools.SlackBuild @@ -13,6 +13,7 @@ # the firmware is being included in the package as well. # *** I agree. --rworkman :-) +# 20230706 bkw: fix build (heisenbug) # 20220402 bkw: BUILD=2, remove broken symlinks, empty /etc dir # 20210804 bkw: update for 1.2.5 (firmware 1.2.4) # 20200224 bkw: update for 1.2.2 (firmware 1.2.1) @@ -138,7 +139,10 @@ fi # one loop to build them all. The -include stddef.h fixes qlo10k1 'ptrdiff_t doesn't # name a type' errors, and doesn't hurt anything else. -for subdir in $( find . -name configure | sed -e 's,^\./,,' -e 's,/configure,,' ); do +# 20230706 bkw: add '| sort', so we don't depend on the order 'find' lists +# things. specifically, lo10k1 must come before qlo10k1. +for subdir in $( find . -name configure | sed -e 's,^\./,,' -e 's,/configure,,' | sort ); do + echo "===> $subdir" cd $subdir LDFLAGS="-L/usr/lib$LIBDIRSUFFIX" \ -- cgit v1.2.3