diff options
author | Carlos Corbacho <carlos@strangeworlds.co.uk> | 2012-09-10 10:25:32 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-10 16:35:35 -0500 |
commit | 7f036bc82204eb5089f3aaf41776caef94b93c3f (patch) | |
tree | 9ecc40d01044b4c35fc2c73669eb5ddbef9e2001 /games/zsnes/zsnes.SlackBuild | |
parent | 9a00e9a66c012dd41d186480d46761ada6b48a8d (diff) | |
download | slackbuilds-7f036bc82204eb5089f3aaf41776caef94b93c3f.tar.gz |
games/zsnes: Added a patch for gcc and fixed the desktop categories.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 ba5dad0440..089a46a2d7 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 \) \ |