diff --git a/mail/neomutt/Makefile b/mail/neomutt/Makefile index 32a0979f5d1e..be75d7cd85fe 100644 --- a/mail/neomutt/Makefile +++ b/mail/neomutt/Makefile @@ -2,6 +2,7 @@ PORTNAME= neomutt PORTVERSION= 20200925 +PORTREVISION= 1 CATEGORIES= mail MAINTAINER= bapt@FreeBSD.org diff --git a/mail/neomutt/files/patch-sidebar_functions.c b/mail/neomutt/files/patch-sidebar_functions.c new file mode 100644 index 000000000000..590c88b6f8ef --- /dev/null +++ b/mail/neomutt/files/patch-sidebar_functions.c @@ -0,0 +1,20 @@ +--- sidebar/functions.c.orig 2020-10-04 15:20:02 UTC ++++ sidebar/functions.c +@@ -72,7 +72,7 @@ static struct SbEntry **next_new(struct + struct SbEntry **sbep = NULL; + ARRAY_FOREACH_FROM_TO(sbep, &wdata->entries, begin, end) + { +- if ((*sbep)->mailbox->has_new && (*sbep)->mailbox->msg_unread != 0) ++ if ((*sbep)->mailbox->has_new || (*sbep)->mailbox->msg_unread != 0) + return sbep; + } + return NULL; +@@ -143,7 +143,7 @@ static struct SbEntry **prev_new(struct + struct SbEntry **sbep = NULL, **prev = NULL; + ARRAY_FOREACH_FROM_TO(sbep, &wdata->entries, begin, end) + { +- if ((*sbep)->mailbox->has_new && (*sbep)->mailbox->msg_unread != 0) ++ if ((*sbep)->mailbox->has_new || (*sbep)->mailbox->msg_unread != 0) + prev = sbep; + } +