diff options
Diffstat (limited to 'games/snes9x/snes9x.SlackBuild')
-rw-r--r-- | games/snes9x/snes9x.SlackBuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/games/snes9x/snes9x.SlackBuild b/games/snes9x/snes9x.SlackBuild index 48fafca1a35d2..1f54a101800e0 100644 --- a/games/snes9x/snes9x.SlackBuild +++ b/games/snes9x/snes9x.SlackBuild @@ -8,7 +8,7 @@ PRGNAM=snes9x VERSION=${VERSION:-1.53} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -53,6 +53,15 @@ 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 {} \; +# Patch avoids crashes caused by the 'open recent' UI menu. Not been +# able to reproduce the crash myself, but all the patch does is check +# a pointer to make sure it's not null, before using it (can't see how +# that could hurt anything). +# Patch came from here: +# https://git.archlinux.org/svntogit/community.git/plain/snes9x/repos/community-i686/snes9x-fix-crash.patch + +patch -p1 < $CWD/snes9x-fix-crash.patch + cd gtk CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |