mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
audio/clam: Fix jack2 build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
68c5ea2fc3
commit
173b69c30b
1 changed files with 12 additions and 0 deletions
|
@ -66,6 +66,18 @@ if [ "$LIBDIRSUFFIX" != "" ]; then
|
|||
sed -i "s,/lib\>,/lib$LIBDIRSUFFIX," scons/libs/clam_build_helpers.py
|
||||
fi
|
||||
|
||||
# 20200118 bkw: as part of its configure process, scons compiles and runs
|
||||
# a sample jack program. With jack2, if jackd isn't already running,
|
||||
# this creates root-owned files in /dev/shm/jack_db that don't get
|
||||
# deleted afterwards. No problem, except that the next time the user
|
||||
# tries to start jackd, it will be unable to write to jack_db. Which
|
||||
# makes jackd segfault. Even if it didn't segfault, it would presumably
|
||||
# still not start (with an error message). The workaround is to NOT
|
||||
# compile/run the jack test program (just assume the test succeeds).
|
||||
# Whew. The explanation is *way* more complex than the fix.
|
||||
sed -i '/CheckLibrarySample.*jack_test_code/,+1d' \
|
||||
scons/libs/clam_dependent_libs_checks.py
|
||||
|
||||
CCFLAGS="$SLKCFLAGS" \
|
||||
CPPFLAGS="$SLKCFLAGS" \
|
||||
scons configure \
|
||||
|
|
Loading…
Reference in a new issue