From 4f07f165caa8a498572958e16f4797495ef5c4f3 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 3 Jan 2021 14:55:36 -0500 Subject: games/hatari: Updated for version 2.3.1. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/hatari/hatari.SlackBuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'games/hatari/hatari.SlackBuild') diff --git a/games/hatari/hatari.SlackBuild b/games/hatari/hatari.SlackBuild index aad63b65a6..9f0904c9ca 100644 --- a/games/hatari/hatari.SlackBuild +++ b/games/hatari/hatari.SlackBuild @@ -6,6 +6,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20210102 bkw: update for v2.3.1. # 20201218 bkw: # - update for v2.3.0. Can't build older versions, sorry. # - add new dep, python3. @@ -63,7 +64,7 @@ # - add mime type and auto-associate ST disk images and executables. PRGNAM=hatari -VERSION=${VERSION:-2.3.0} +VERSION=${VERSION:-2.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -114,7 +115,9 @@ patch -p1 < $CWD/hatariui-create-cfg-if-missing.diff # Man pages go in section 6, fix .TH and see-also refs. Also fix a few # typos and formatting issues. -patch -p1 < $CWD/manpage.diff +P="$CWD/manpage.$VERSION.diff" +[ -e "$P" ] || P="$CWD/manpage.diff" +patch -p1 < $P # cmake doesn't support anything like --bindir, --mandir, --docdir. cheat # a little. -- cgit v1.2.3