aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-07-26 19:29:00 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit746a0e3d9ba070ffcf7cd1bd543b57ef13107deb (patch)
tree369f9f4e1b0afbb685ba81c9ea2c8be3858c77e3
parentffaee7a5244d9ba5130b404fb1c59f79261489fe (diff)
audio/python-audiotools: Updated SlackBuild.
Fixed build with libcdio-0.93 (-current). Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--audio/python-audiotools/python-audiotools.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/python-audiotools/python-audiotools.SlackBuild b/audio/python-audiotools/python-audiotools.SlackBuild
index 8f3c02cc1bfb8..275d3a66d0e1e 100644
--- a/audio/python-audiotools/python-audiotools.SlackBuild
+++ b/audio/python-audiotools/python-audiotools.SlackBuild
@@ -73,6 +73,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix for libcdio-0.9 and libcdio-paranoia-10.2+0.93 (-current)
+sed -i -e 's:#include <cdio/:#include <cdio/paranoia/:' src/cdiomodule.h
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
python setup.py install --root=$PKG