aboutsummaryrefslogtreecommitdiff
path: root/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-04-01 22:15:08 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-04-03 09:34:02 -0500
commit6d70d239bcdd2422a1117b5d5d55c8d715ce2d79 (patch)
tree89a917e5b30593c34427ed988ae90123d98e8a75 /multimedia/subtitlecomposer/subtitlecomposer.SlackBuild
parent1279f8e909197f81bf0bebe53014167a8288af8f (diff)
multimedia/subtitlecomposer: Patched to build with gcc 4.5.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia/subtitlecomposer/subtitlecomposer.SlackBuild')
-rw-r--r--multimedia/subtitlecomposer/subtitlecomposer.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild b/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild
index 4f6acc05e58c6..0c522eb954c16 100644
--- a/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild
+++ b/multimedia/subtitlecomposer/subtitlecomposer.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=subtitlecomposer
VERSION=${VERSION:-0.5.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -53,6 +53,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Patch to build with gcc 4.5.
+patch -p0 < $CWD/subtitlecomposer-0.5.3-gcc45.patch
+
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \