aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2008-11-12 20:40:55 +0800
committerwxs <wxs@FreeBSD.org>2008-11-12 20:40:55 +0800
commitfcfd71a9525e03365de6c68e416ef407c0c74a4f (patch)
treeaae9a37a1765b0be0b1d7c9bf763e7c439d304aa /mail
parent2b71583060f4dfc4fbb07586c3de9841139145f7 (diff)
downloadfreebsd-ports-gnome-fcfd71a9525e03365de6c68e416ef407c0c74a4f.tar.gz
freebsd-ports-gnome-fcfd71a9525e03365de6c68e416ef407c0c74a4f.tar.zst
freebsd-ports-gnome-fcfd71a9525e03365de6c68e416ef407c0c74a4f.zip
Add a patch that fixes a crash (http://dev.mutt.org/trac/ticket/3057).
PR: ports/128637 Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru> Reviewed by: Udo.Schweigert@siemens.com (maintainer)
Diffstat (limited to 'mail')
-rw-r--r--mail/mutt-devel/Makefile2
-rw-r--r--mail/mutt-devel/files/patch-imap-browse.c13
2 files changed, 14 insertions, 1 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index b62e1e91ca72..8c2889bd69d5 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -117,7 +117,7 @@
PORTNAME= mutt-devel
PORTVERSION= 1.5.18
-PORTREVISION?= 3
+PORTREVISION?= 4
CATEGORIES+= mail ipv6
.if defined(WITH_MUTT_NNTP)
CATEGORIES+= news
diff --git a/mail/mutt-devel/files/patch-imap-browse.c b/mail/mutt-devel/files/patch-imap-browse.c
new file mode 100644
index 000000000000..f46df88d3e80
--- /dev/null
+++ b/mail/mutt-devel/files/patch-imap-browse.c
@@ -0,0 +1,13 @@
+Index: imap/browse.c
+Obtained from: http://dev.mutt.org/trac/changeset/5401%3Abba92e401440/imap/browse.c?old=5378%3Aac00273b3a88&old_path=imap%2Fbrowse.c
+Bug description: http://dev.mutt.org/trac/ticket/3057
+===================================================================
+--- imap/browse.c
++++ imap/browse.c
+@@ -229,5 +229,5 @@
+ }
+
+- if (!imap_mxcmp(mx.mbox, idata->mailbox))
++ if (idata->ctx && !imap_mxcmp(mx.mbox, idata->mailbox))
+ {
+ state->new = idata->ctx->new;