From 430e2cfd4c225ace6f9e1289bb8b4bb710ec59fb Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 20 Jun 2017 22:55:41 -0400 Subject: games/stella: Fix build for -current. Signed-off-by: B. Watson --- games/stella/stella.SlackBuild | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) (limited to 'games') 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 +# Now maintained by B. Watson + +# 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 \ -- cgit v1.2.3