summaryrefslogtreecommitdiffstats
path: root/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
diff options
context:
space:
mode:
author Robby Workman <rworkman@slackbuilds.org>2012-02-19 11:45:31 -0600
committer Robby Workman <rworkman@slackbuilds.org>2012-02-20 12:20:45 -0600
commit4fc8040b016a18ca00747853a48e045963a86859 (patch)
treec900ea5dac2479c9098766eebbc2c476262b0874 /desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
parent0505d75629095b0d7f6b7c9630740bbd12c8e825 (diff)
downloadslackbuilds-4fc8040b016a18ca00747853a48e045963a86859.tar.gz
slackbuilds-4fc8040b016a18ca00747853a48e045963a86859.tar.xz
desktop/xfce4-screenshooter: Fix a crash bug (xfce bz #6460)
Thanks to Marc Dix for the heads-up. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild')
-rw-r--r--desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild b/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
index f7bba3185f..c173e694b6 100644
--- a/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
+++ b/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=xfce4-screenshooter
VERSION=1.7.9
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
SOUPFORME=${SOUPFORME:-no}
@@ -73,9 +73,12 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix http://bugzilla.xfce.org/show_bug.cgi?id=6460
+patch -p1 < $CWD/patches/fix_crash_when_config_is_not_yet_present.diff
+
if [ "$SOUPFORME" = "no" ]; then
# Strip out the libsoup requirement, which will disable uploads to zimagez
- patch -p1 < $CWD/xfce4-screenshooter-1.7.9-no_libsoup.diff
+ patch -p1 < $CWD/patches/xfce4-screenshooter-1.7.9-no_libsoup.diff
fi
CFLAGS="$SLKCFLAGS" \