diff options
Diffstat (limited to 'mail/mail-notification')
-rw-r--r-- | mail/mail-notification/Makefile | 2 | ||||
-rw-r--r-- | mail/mail-notification/files/patch-src_mn-imap-mailbox.c | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/mail/mail-notification/Makefile b/mail/mail-notification/Makefile index 025ca7a4c959..8b829a150c79 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 000000000000..7856dd51e208 --- /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); |