diff options
author | David Spencer <baildon.research@googlemail.com> | 2016-06-08 00:47:50 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-06-08 08:33:37 +0700 |
commit | cd466c87ec47ba8a62f64d29aa3c14ce05428049 (patch) | |
tree | 5e0070bb07b2de32a639733ebf7145dbf58eb625 /games/jfsw/jfsw.SlackBuild | |
parent | 4136928a177d2fd29c739348674cf4994ee9757f (diff) |
games/jfsw: Fix build with gcc-5.3.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'games/jfsw/jfsw.SlackBuild')
-rw-r--r-- | games/jfsw/jfsw.SlackBuild | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/games/jfsw/jfsw.SlackBuild b/games/jfsw/jfsw.SlackBuild index a061b0bb4d611..12890491f8aec 100644 --- a/games/jfsw/jfsw.SlackBuild +++ b/games/jfsw/jfsw.SlackBuild @@ -44,18 +44,16 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -for TARNAM in \ - jfsw-54912c4964a5d68d4fd68dba1d3affcfe2062766.tar.gz \ - jfaudiolib-ea5613edadcf691a4867a750546f33ef84885fbf.tar.gz \ - jfbuild-b129b7ee9ce468022610dc8194786c0bac1f66ef.tar.gz \ - jfmact-f915216973de73c42c326fdd3b1734ac12316427.tar.gz \ +for SRCNAM in \ + jfsw-54912c4964a5d68d4fd68dba1d3affcfe2062766 \ + jfaudiolib-ea5613edadcf691a4867a750546f33ef84885fbf \ + jfbuild-b129b7ee9ce468022610dc8194786c0bac1f66ef \ + jfmact-f915216973de73c42c326fdd3b1734ac12316427 \ ; do - SRCNAM=$(echo $TARNAM | sed -e 's/-.*//') - DERPY_TARNAM=$(echo $TARNAM | sed -e 's/.*-//') - COMMIT=$(basename $DERPY_TARNAM .tar.gz) - rm -rf $SRCNAM - tar xvf $CWD/$TARNAM || tar xvf $CWD/$DERPY_TARNAM - mv $SRCNAM-$COMMIT $SRCNAM + PNAM=$(echo $SRCNAM | sed -e 's/-.*//') + rm -rf $SRCNAM $PNAM + tar xvf $CWD/$SRCNAM.tar.gz + mv $SRCNAM $PNAM done cd $PRGNAM @@ -71,6 +69,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +patch -p1 < $CWD/jfsw-use-me.patch + make \ RELEASE=1 \ PREFIX=/usr/share/games/$PRGNAM \ |