summaryrefslogtreecommitdiff
path: root/desktop/xfce4-mailwatch-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/xfce4-mailwatch-plugin')
-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