Date: Mon, 12 Oct 2020 10:28:47 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r552116 - in head/mail/neomutt: . files Message-ID: <202010121028.09CASlX1059317@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Mon Oct 12 10:28:46 2020 New Revision: 552116 URL: https://svnweb.freebsd.org/changeset/ports/552116 Log: incorporate a side fix from upstream PR: 250097 Submitted by: Michael Bueker <m.bueker@berlin.de> Added: head/mail/neomutt/files/patch-sidebar_functions.c (contents, props changed) Modified: head/mail/neomutt/Makefile Modified: head/mail/neomutt/Makefile ============================================================================== --- head/mail/neomutt/Makefile Mon Oct 12 10:23:23 2020 (r552115) +++ head/mail/neomutt/Makefile Mon Oct 12 10:28:46 2020 (r552116) @@ -2,6 +2,7 @@ PORTNAME= neomutt PORTVERSION= 20200925 +PORTREVISION= 1 CATEGORIES= mail MAINTAINER= bapt@FreeBSD.org Added: head/mail/neomutt/files/patch-sidebar_functions.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/neomutt/files/patch-sidebar_functions.c Mon Oct 12 10:28:46 2020 (r552116) @@ -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; + } +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010121028.09CASlX1059317>