From 8d0f9804a56f841fec25936918b66bfaebe0578e Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sun, 1 Jun 2014 11:36:52 +0000 Subject: Fix a crash, see https://github.com/geometer/FBReader/issues/232 --- fbreader/build/fbreader.SlackBuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'fbreader') diff --git a/fbreader/build/fbreader.SlackBuild b/fbreader/build/fbreader.SlackBuild index 50d6d2cf..9d0f8648 100755 --- a/fbreader/build/fbreader.SlackBuild +++ b/fbreader/build/fbreader.SlackBuild @@ -36,6 +36,10 @@ # * Add MimeType handler for common ebook formats. # 0.99.4-1: 09/feb/2014 by Eric Hameleers # * Beta version of new development. +# 0.99.4-2: 01/jun/2014 by Eric Hameleers +# * Apply a patch which fixes application crash when opening +# a book on the commandline. +# See https://github.com/geometer/FBReader/issues/232 # # Run 'sh fbreader.SlackBuild' to build a Slackware package. # The package (.tgz) and .txt file as well as build logs are created in /tmp . @@ -45,7 +49,7 @@ PRGNAM=fbreader VERSION=${VERSION:-0.99.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-alien} DOCS="ChangeLog README* fbreader/LICENSE fbreader/VERSION" @@ -161,6 +165,10 @@ echo "Extracting the source archive(s) for $PRGNAM..." tar -xvf ${SOURCE} cd ${PRGNAM}-${VERSION} +# Fix an application crash when opening a book on the commandline: +cat $SRCDIR/fbreader-0.99.4_cmdline.patch | patch -p1 --verbose \ + 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log + # Slackware does not have 'sensible-browser': cat $SRCDIR/fbreader.defaults.patch | patch -p0 --verbose \ 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log -- cgit v1.2.3