mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 21:20:31 -04:00
Fix missing lib depends with libgpg-errors and libassuan Move Header Cache to a BSD ports single radio Remove redundent sidebar var VVV updated to 1.8.0 GREETING updated to 1.7.2 extra-patch-parent-child-match converted to a makepatch Changes: https://dev.mutt.org/hg/mutt/file/stable/UPDATING#l11 Differential Revision: https://reviews.freebsd.org/D9819 Submitted by: maintainer (dereks lifeofadishwasher com)
37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
--- mutt.h.orig 2017-02-27 01:20:29 UTC
|
|
+++ mutt.h
|
|
@@ -201,6 +201,7 @@ enum
|
|
MUTT_EXPIRED,
|
|
MUTT_SUPERSEDED,
|
|
MUTT_TRASH,
|
|
+ MUTT_THREADCOMPLETE,
|
|
|
|
/* actions for mutt_pattern_comp/mutt_pattern_exec */
|
|
MUTT_AND,
|
|
--- pattern.c.orig 2017-02-27 01:20:06 UTC
|
|
+++ pattern.c
|
|
@@ -56,6 +56,7 @@ static const struct pattern_flags
|
|
}
|
|
Flags[] =
|
|
{
|
|
+ { 'a', MUTT_THREADCOMPLETE, 0, NULL },
|
|
{ 'A', MUTT_ALL, 0, NULL },
|
|
{ 'b', MUTT_BODY, MUTT_FULL_MSG, eat_regexp },
|
|
{ 'B', MUTT_WHOLE_MSG, MUTT_FULL_MSG, eat_regexp },
|
|
@@ -1236,6 +1237,16 @@ mutt_pattern_exec (struct pattern_t *pat
|
|
else
|
|
result = mutt_is_list_cc (pat->alladdr, h->env->to, h->env->cc);
|
|
return (pat->not ^ result);
|
|
+ case MUTT_THREADCOMPLETE:
|
|
+ { static pattern_t tmp;
|
|
+ static short pattern_set = 0;
|
|
+ if(! pattern_set) {
|
|
+ memset (&tmp, 0, sizeof (tmp));
|
|
+ tmp.op = MUTT_TAG;
|
|
+ pattern_set = 1;
|
|
+ }
|
|
+ return (pat->not ^ (h->env && match_threadcomplete(&tmp, flags, ctx, h->thread, 1, 1, 1, 1)));
|
|
+ }
|
|
case MUTT_SUBSCRIBED_LIST:
|
|
if (cache)
|
|
{
|