diff options
author | B. Watson | 2020-01-18 08:43:32 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2020-01-26 02:09:42 +0100 |
commit | 173b69c30be7039dd6b0eaa2868ab4b5d7f4cde4 (patch) | |
tree | f843c7b65e8e2fb88d32b975b4d7315c270d7f25 /audio/clam | |
parent | 68c5ea2fc3ee36d437939b35c3303b1dfc095c07 (diff) | |
download | slackbuilds-173b69c30be7039dd6b0eaa2868ab4b5d7f4cde4.tar.gz |
audio/clam: Fix jack2 build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio/clam')
-rw-r--r-- | audio/clam/clam.SlackBuild | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/clam/clam.SlackBuild b/audio/clam/clam.SlackBuild index 34c3980e71..44f7436870 100644 --- a/audio/clam/clam.SlackBuild +++ b/audio/clam/clam.SlackBuild @@ -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 \ |