summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJán Sučan <sucan@runbox.com>2013-10-27 21:12:13 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-10-27 23:39:07 -0500
commitabda283987c4cce0c6b024a89420f35d9d0f7623 (patch)
treed88e9bd620c40ce01b2570d16e9c3f0399baf9f6
parent132d9a314ac5ea74dd302f5053cd0db486f0d060 (diff)
downloadslackbuilds-abda283987c4cce0c6b024a89420f35d9d0f7623.tar.gz
desktop/xfce4-mailwatch-plugin: Included a bugfix patch
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--desktop/xfce4-mailwatch-plugin/mbox-save-changed-interval.patch10
-rw-r--r--desktop/xfce4-mailwatch-plugin/xfce4-mailwatch-plugin.SlackBuild5
2 files changed, 14 insertions, 1 deletions
diff --git a/desktop/xfce4-mailwatch-plugin/mbox-save-changed-interval.patch b/desktop/xfce4-mailwatch-plugin/mbox-save-changed-interval.patch
new file mode 100644
index 0000000000..190455386f
--- /dev/null
+++ b/desktop/xfce4-mailwatch-plugin/mbox-save-changed-interval.patch
@@ -0,0 +1,10 @@
+--- xfce4-mailwatch-plugin-1.1.0.orig/libmailwatch-core/mailwatch-mailbox-mbox.c 2008-09-11 06:31:50.000000000 +0200
++++ xfce4-mailwatch-plugin-1.1.0/libmailwatch-core/mailwatch-mailbox-mbox.c 2013-08-12 13:38:07.613031827 +0200
+@@ -347,6 +347,7 @@
+ g_source_remove( mbox->check_id );
+ mbox->check_id = g_timeout_add( mbox->interval * 1000, mbox_check_mail_timeout, mbox );
+ }
++ mbox->interval = val;
+ }
+
+ static GtkContainer *
diff --git a/desktop/xfce4-mailwatch-plugin/xfce4-mailwatch-plugin.SlackBuild b/desktop/xfce4-mailwatch-plugin/xfce4-mailwatch-plugin.SlackBuild
index 5e97a80d41..2e63da128e 100644
--- a/desktop/xfce4-mailwatch-plugin/xfce4-mailwatch-plugin.SlackBuild
+++ b/desktop/xfce4-mailwatch-plugin/xfce4-mailwatch-plugin.SlackBuild
@@ -28,7 +28,7 @@
PRGNAM=xfce4-mailwatch-plugin
VERSION=${VERSION:-1.1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -77,6 +77,9 @@ find . \
# Do not use a function which was removed in newer gnutls versions
patch -p1 < $CWD/gnutls-transport-set-lowat.patch
+# Fix a bug that prevents changing the time between checks of the
+# local mbox mailbox
+patch -p1 < $CWD/mbox-save-changed-interval.patch
# Add additional linker flags in order to build the plugin with the
# newer Xfce versions