diff options
Diffstat (limited to 'games/zsnes/zsnes.SlackBuild')
-rw-r--r-- | games/zsnes/zsnes.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/games/zsnes/zsnes.SlackBuild b/games/zsnes/zsnes.SlackBuild index ba5dad0440124..089a46a2d7a12 100644 --- a/games/zsnes/zsnes.SlackBuild +++ b/games/zsnes/zsnes.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for zsnes # Copyright (c) 2008, Antonio Hernández Blas <hba.nihilismus@gmail.com> +# Copyright (c) 2010, 2012, Carlos Corbacho <carlos@strangeworlds.co.uk> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -23,7 +24,7 @@ PRGNAM=zsnes VERSION=1.51b -BUILD=${BUILD:-1} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} ZSNESSRC="$(echo $VERSION | tr -d .)src" @@ -64,6 +65,10 @@ tar xvf $CWD/$PRGNAM$ZSNESSRC.tar.bz2 mv $PRGNAM$ZSNESDIR $PRGNAM-$VERSION mv $PRGNAM-$VERSION/src/* $PRGNAM-$VERSION cd $PRGNAM-$VERSION + +# GCC 4.7 fixes from Debian +cat $CWD/0012-Fix-build-with-gcc-4.7.patch | patch -p2 --verbose + chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ |