summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Hansen <bassmadrigal@users.noreply.github.com>2020-10-12 04:04:39 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-17 08:19:20 +0700
commit243010069b9514151a5a9ff12190a55857315693 (patch)
treeafdef5ba2650f693e9cafb1f3b7cb30251d20004
parent4ef60ef656d1e5f3977d7c33056748a4f516f801 (diff)
downloadslackbuilds-243010069b9514151a5a9ff12190a55857315693.tar.gz
games/stuntrally: rm file that causes segfault on 64bit
Should've checked before I committed... libstdc++.so.6 causes a segfault on 64bit... unsure if the same happens on 32bit. Removed the 64bit version, unable to test 32bit. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/stuntrally/stuntrally.SlackBuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/games/stuntrally/stuntrally.SlackBuild b/games/stuntrally/stuntrally.SlackBuild
index c3a8131f99..0850ac5fbb 100644
--- a/games/stuntrally/stuntrally.SlackBuild
+++ b/games/stuntrally/stuntrally.SlackBuild
@@ -77,6 +77,7 @@ cd $PKG
ln -s /opt/$PRGNAM/stuntrally usr/bin/
ln -s /opt/$PRGNAM/sr-editor usr/bin/
mv opt/$PRGNAM/share usr/
+rm -f $PKG/opt/$PRGNAM/lib/{32,64}/libstdc++.so.6
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