summaryrefslogtreecommitdiffstats
path: root/games/stella
diff options
context:
space:
mode:
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 \