diff options
author | B. Watson <yalhcru@gmail.com> | 2020-04-26 04:05:27 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-05-03 08:48:50 +0700 |
commit | 0ce644acc46cc9a428753bb94b0158786f3dd253 (patch) | |
tree | 153b9c607889360ca6d2e504525d2edef3346bf7 /games/gzdoom-legacy | |
parent | af6e84dac24b81c1cf95e946052b80c03635a2ce (diff) |
games/gzdoom-legacy: Fix window title.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/gzdoom-legacy')
-rw-r--r-- | games/gzdoom-legacy/gzdoom-legacy.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/games/gzdoom-legacy/gzdoom-legacy.SlackBuild b/games/gzdoom-legacy/gzdoom-legacy.SlackBuild index 295f2dcc18ca4..34b01f39f188e 100644 --- a/games/gzdoom-legacy/gzdoom-legacy.SlackBuild +++ b/games/gzdoom-legacy/gzdoom-legacy.SlackBuild @@ -6,6 +6,9 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20200426 bkw: +# - Fix <unknown version> in window title for real this time, BUILD=2. + # 20170610 bkw: # - Renamed to gzdoom-legacy. Too much effort to keep testing old # gzdoom versions every time there's a new release, so the regular @@ -33,7 +36,7 @@ PRGNAM=gzdoom-legacy SRCNAM=gzdoom VERSION=${VERSION:-2.4.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -75,11 +78,8 @@ tar xvf $CWD/$SRCNAM-g$VERSION.tar.gz || \ tar xvf $CWD/$VERSION.tar.gz cd $SRCNAM-g$VERSION || cd $SRCNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \+ -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \+ +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ # fmodapi support tries to find its lib in the current dir, fix it: sed -i \ @@ -95,7 +95,7 @@ patch -p1 < $CWD/window_title_version.diff # Sometimes upstream forgets to bump the version number, so the window # title will read 1.8.08 for version 1.8.09, eg. -sed -i "/#define *VERSIONSTR/s,\"[^\"]*\",\"$VERSION\"," src/version.h +sed -i "/#define *VERSIONSTR/s,[^ ]*$,\"$VERSION\"," src/version.h # This isn't currently used, but was in the past, and will be again I'm sure. [ -e $CWD/compilefix.$VERSION.diff ] && \ |