summaryrefslogtreecommitdiffstats
path: root/audio/xmms2/xmms2.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2012-09-06 09:37:56 +0200
committer Robby Workman2012-09-07 16:20:53 +0200
commit9cb99b50d72f2a1918b3ba3a9631c67abbf025a8 (patch)
tree45ec79d790a4d1aa6ee9dae91eadaf1a2933dcc4 /audio/xmms2/xmms2.SlackBuild
parent6bba9d3bbf68ce1f23f20b7c85c60c7d06258715 (diff)
downloadslackbuilds-9cb99b50d72f2a1918b3ba3a9631c67abbf025a8.tar.gz
audio/xmms2: Fixed build with ffmpeg and noted it as an opt. dep.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/xmms2/xmms2.SlackBuild')
-rw-r--r--audio/xmms2/xmms2.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/xmms2/xmms2.SlackBuild b/audio/xmms2/xmms2.SlackBuild
index f68d7261ab..2dbe56fadf 100644
--- a/audio/xmms2/xmms2.SlackBuild
+++ b/audio/xmms2/xmms2.SlackBuild
@@ -52,6 +52,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# This fixes building over the newer ffmpeg
+sed -i "s|^\ \ \ \ flags\.enable_c_error.*||" wscript
+
export CCFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"