aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gnash/gnash.SlackBuild
diff options
context:
space:
mode:
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 6cd548e10ce5a..11f1a0f0b9ffb 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