summaryrefslogtreecommitdiffstats
path: root/games/starfighter/starfighter.SlackBuild
diff options
context:
space:
mode:
author Tim Dickson <dickson.tim@googlemail.com>2020-04-10 00:56:10 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-10 00:56:10 +0700
commit22ac1a019a0bbc05878702cff1bcfce3888e9165 (patch)
treee867f135b815deb6bcf8e375d6e65e62ade91ba0 /games/starfighter/starfighter.SlackBuild
parentdec1e9be829a5b962a89b3e4ca8620aa2dbd995e (diff)
downloadslackbuilds-22ac1a019a0bbc05878702cff1bcfce3888e9165.tar.gz
slackbuilds-22ac1a019a0bbc05878702cff1bcfce3888e9165.tar.xz
games/starfighter: Updated for version 2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/starfighter/starfighter.SlackBuild')
-rw-r--r--games/starfighter/starfighter.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/games/starfighter/starfighter.SlackBuild b/games/starfighter/starfighter.SlackBuild
index d8914e70f4..81ba01725b 100644
--- a/games/starfighter/starfighter.SlackBuild
+++ b/games/starfighter/starfighter.SlackBuild
@@ -11,9 +11,11 @@
# doc location still changed to support slackware prefered location
# updated 05/03/2017 for v1.7
# updated 22/07/2019 for v2.0 (2.0.0.3)
+# updated 09/04/2020 for v2.1 applied workrounds for compile flag updates
+# and change in source tar file.
PRGNAM=starfighter
-VERSION=${VERSION:-2.0}
+VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -49,7 +51,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION-src
-tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz
+#change tar options to remove warning.
+tar -xv --warning=no-unknown-keyword -f $CWD/$PRGNAM-$VERSION-src.tar.gz
cd $PRGNAM-$VERSION-src
chown -R root:root .
find -L . \
@@ -60,7 +63,8 @@ find -L . \
CFLAGS="$SLKFLAGS"
CXXFLAGS="$SLKCFLAGS"
-./configure \
+#add extra nowarn option for gcc versions<8
+./configure SF_NOWARN=1\
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \