summaryrefslogtreecommitdiff
path: root/games/stella
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-06-20 22:55:41 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-24 08:32:46 +0700
commit430e2cfd4c225ace6f9e1289bb8b4bb710ec59fb (patch)
tree5329fbe5a7f1bd4845344be74e8ad93b5cb6c5b2 /games/stella
parent3a16383979728f1b3f0b56d8b5731650bcefa5fe (diff)
downloadslackbuilds-430e2cfd4c225ace6f9e1289bb8b4bb710ec59fb.tar.gz
games/stella: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/stella')
-rw-r--r--games/stella/stella.SlackBuild33
1 files changed, 21 insertions, 12 deletions
diff --git a/games/stella/stella.SlackBuild b/games/stella/stella.SlackBuild
index e60f8186c2..cefead0f66 100644
--- a/games/stella/stella.SlackBuild
+++ b/games/stella/stella.SlackBuild
@@ -6,7 +6,23 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
-# Modified by B. Watson <yalhcru@gmail.com>
+# Now maintained by B. Watson <yalhcru@gmail.com>
+
+# 20170620 bkw:
+# - fix for -current (does no harm on 14.2).
+# - invert changelog so oldest entries are at bottom.
+
+# 20170122 bkw: update for 4.7.3
+
+# 20160804 bkw: update for 4.7.2
+
+# 20150509 bkw: update for 4.6.1
+
+# 20150322 bkw:
+# - update for 4.6
+# - replace stale stella 3.8 man page from Debian with updated one for 4.6.
+# - get rid of unused --libdir configure option
+
# 20140915 bkw:
# - took over maintenance
# - update for 4.1.1
@@ -17,17 +33,6 @@
# - add MIME type for .a26
# - StartupNotify=false in .desktop
-# 20150322 bkw:
-# - update for 4.6
-# - replace stale stella 3.8 man page from Debian with updated one for 4.6.
-# - get rid of unused --libdir configure option
-
-# 20150509 bkw: update for 4.6.1
-
-# 20160804 bkw: update for 4.7.2
-
-# 20170122 bkw: update for 4.7.3
-
PRGNAM=stella
VERSION=${VERSION:-4.7.3}
BUILD=${BUILD:-1}
@@ -75,6 +80,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# 20170620 bkw: configure checks for gcc 4.7, 5.x, or 6.x. Fails on -current
+# because we have 7.x.
+sed -i 's,\[5-6\],[5-9],g' configure
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \