aboutsummaryrefslogtreecommitdiff
path: root/office/evince/evince.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-06-03 19:45:56 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-06-04 01:11:23 -0500
commit3fbfc78a072a83877ba156d68246e6956eb776b3 (patch)
tree8034a5574799b76abc972ea3bb8f45e148855644 /office/evince/evince.SlackBuild
parent1cc2be705dae61dd8e6a5c6ce41f62240f3202e6 (diff)
office/evince: Fixed segfault due to missing configdir
If $HOME/.gnome2/evince/ is not already present, then evince segfaults because it is unable to write last_settings inside that directory. The included patch should fix that up. Thanks to Morten Juhl-Johansen Zölde-Fejéfor the report. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/evince/evince.SlackBuild')
-rw-r--r--[-rwxr-xr-x]office/evince/evince.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/office/evince/evince.SlackBuild b/office/evince/evince.SlackBuild
index 89c88ad70573..b07da5cc1061 100755..100644
--- a/office/evince/evince.SlackBuild
+++ b/office/evince/evince.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=evince
VERSION=${VERSION:-2.30.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG=_SBo}
# Automatically determine the architecture we're building on:
@@ -81,6 +81,9 @@ if [ "$NLS" != "YES" ]; then
-e 's/ENABLE_NLS 1/ENABLE_NLS 0/g' configure
fi
+# Create the $HOME/.gnome2/evince/ directory before trying to write files there
+patch -p1 < $CWD/evince-2.30.1-create_dotdir_on_startup.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \