diff options
author | Alexander Verbovetsky <alik@ejik.org> | 2019-11-01 07:41:10 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-11-01 07:41:10 +0700 |
commit | dd3a27e0bd6973c0e94cffd7a636a2182a0a2914 (patch) | |
tree | fbd50999327bc36bef0c80dda51dcb4d8095b2b4 /games/pinball/pinball.SlackBuild | |
parent | 73a685477552e8a1668452c03e211bba9cd40de9 (diff) |
games/pinball: Add more patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/pinball/pinball.SlackBuild')
-rw-r--r-- | games/pinball/pinball.SlackBuild | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/games/pinball/pinball.SlackBuild b/games/pinball/pinball.SlackBuild index 88b4f3589636..967b5d1eb637 100644 --- a/games/pinball/pinball.SlackBuild +++ b/games/pinball/pinball.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pinball -# Copyright 2015-2016, 2018 Hunter Sezen California, USA +# Copyright 2015-2016, 2018-2019 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=pinball VERSION=${VERSION:-0.3.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,9 +69,17 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Use a sys version of ltdl +# https://github.com/sergiomb2/pinball/pull/23 +# https://github.com/sergiomb2/pinball/commit/e3ac2b6addf31cb350f572e24794ef9f9535d566 patch -p1 < $CWD/pinball-0.3.4-sys-ltdl.patch +# Fix build issue with gettext-0.20. +# https://github.com/sergiomb2/pinball/pull/30 +patch -p1 < $CWD/gettext-version.patch + autoreconf -fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -87,11 +95,11 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | + grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL License.txt README \ +cp -a AUTHORS COPYING ChangeLog License.txt README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |