summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-01-25 18:42:33 +0000
committerjylefort <jylefort@FreeBSD.org>2006-01-25 18:42:33 +0000
commitb6925162343e8e6f806624926cd8697f663bb646 (patch)
treec783605e26962b914670063704ceaf2bb6d46fb0 /mail
parent87445aae78b89820090ffb0746a2bcaf7bdc0277 (diff)
downloadFreeBSD-ports-b6925162343e8e6f806624926cd8697f663bb646.zip
FreeBSD-ports-b6925162343e8e6f806624926cd8697f663bb646.tar.gz
Fix an IMAP authentication problem.
Diffstat (limited to 'mail')
-rw-r--r--mail/mail-notification/Makefile2
-rw-r--r--mail/mail-notification/files/patch-src_mn-imap-mailbox.c16
2 files changed, 17 insertions, 1 deletions
diff --git a/mail/mail-notification/Makefile b/mail/mail-notification/Makefile
index 025ca7a..8b829a1 100644
--- a/mail/mail-notification/Makefile
+++ b/mail/mail-notification/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mail-notification
PORTVERSION= 2.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= mail ipv6
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= mailnotify
diff --git a/mail/mail-notification/files/patch-src_mn-imap-mailbox.c b/mail/mail-notification/files/patch-src_mn-imap-mailbox.c
new file mode 100644
index 0000000..7856dd5
--- /dev/null
+++ b/mail/mail-notification/files/patch-src_mn-imap-mailbox.c
@@ -0,0 +1,16 @@
+--- src/mn-imap-mailbox.c.orig Tue Aug 9 22:01:56 2005
++++ src/mn-imap-mailbox.c Wed Jan 25 19:22:48 2006
+@@ -1646,7 +1646,12 @@
+ */
+ if (mn_ascii_validate(input))
+ {
+- if (g_str_has_prefix(input, "+ "))
++ if (! strcmp(input, "+"))
++ {
++ response = g_new0(MNClientSessionResponse, 1);
++ response->continuation = g_strdup("");
++ }
++ else if (g_str_has_prefix(input, "+ "))
+ {
+ response = g_new0(MNClientSessionResponse, 1);
+ response->continuation = g_strdup(input + 2);
OpenPOWER on IntegriCloud