summaryrefslogtreecommitdiff
path: root/multimedia/gnash/gnash.SlackBuild
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2012-09-25 23:51:26 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-26 21:56:27 -0500
commitc3cfc78762631f5ae565dff80cc9c1031d1ec7b8 (patch)
treef3d484bd3ee713308181d50c70378abdbe34cffa /multimedia/gnash/gnash.SlackBuild
parent22d19b2fdbee44006878eb6c9855fc0e76b27ad1 (diff)
downloadslackbuilds-c3cfc78762631f5ae565dff80cc9c1031d1ec7b8.tar.gz
multimedia/gnash: Patched for gcc 4.7
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/gnash/gnash.SlackBuild')
-rw-r--r--multimedia/gnash/gnash.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/gnash/gnash.SlackBuild b/multimedia/gnash/gnash.SlackBuild
index 6cd548e10c..11f1a0f0b9 100644
--- a/multimedia/gnash/gnash.SlackBuild
+++ b/multimedia/gnash/gnash.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=gnash
VERSION=${VERSION:-0.8.10}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -67,6 +67,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-st .
+# Fix compilation with GCC 4.7.
+patch -p1 < $CWD/patch/gcc47.patch
+
# Fix paths for kde plugin and a cve patch.
# Ripped from gentoo
patch -p1 < $CWD/patch/gnash-0.8.10-klash.patch