aboutsummaryrefslogtreecommitdiff
path: root/audio/bristol/bristol.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-06-21 13:29:29 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-24 08:32:52 +0700
commitf9c306688c9955be20fee6e8a9959fcedd47957f (patch)
tree0e8e49a09683fe98d26b1166e0127bbb5b4923e9 /audio/bristol/bristol.SlackBuild
parentdc6f889ba964f16d679edccc42b36715f998fb05 (diff)
audio/bristol: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio/bristol/bristol.SlackBuild')
-rw-r--r--audio/bristol/bristol.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/bristol/bristol.SlackBuild b/audio/bristol/bristol.SlackBuild
index 6f556558d79a8..568cc54b40bd2 100644
--- a/audio/bristol/bristol.SlackBuild
+++ b/audio/bristol/bristol.SlackBuild
@@ -7,6 +7,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170621 bkw: fix build on -current
# 20141030 bkw: make VERSION respect environment
PRGNAM=bristol
@@ -56,6 +57,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Patch from Debian to fix alsa-lib API breakage.
+patch -p1 < $CWD/03-rm_alsa-iatomic.h.patch
+
# Hard-coded /usr/lib and /usr/X11R6/lib sucks.
sed -i "s,/usr/lib,/usr/lib$LIBDIRSUFFIX,g" \
configure Makefile.* brighton/Makefile.* libbrightonX11/Makefile.*