View | Details | Raw Unified | Return to bug 67619
Collapse All | Expand All

(-)./Makefile (-2 / +1 lines)
Lines 81-87 Link Here
81
81
82
PORTNAME=	mutt-devel
82
PORTNAME=	mutt-devel
83
PORTVERSION=	1.5.6
83
PORTVERSION=	1.5.6
84
PORTREVISION=	1
84
PORTREVISION=	2
85
CATEGORIES+=	mail ipv6
85
CATEGORIES+=	mail ipv6
86
.if defined(WITH_MUTT_NNTP)
86
.if defined(WITH_MUTT_NNTP)
87
CATEGORIES+=	news
87
CATEGORIES+=	news
Lines 96-102 Link Here
96
		http://www2.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \
96
		http://www2.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \
97
		http://www3.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \
97
		http://www3.mutt.org.ua/download/mutt-${VVV_PATCH_VERSION}/:vvv \
98
		ftp://ftp.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv \
98
		ftp://ftp.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv \
99
		ftp://ftp2.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv \
100
		ftp://ftp3.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv \
99
		ftp://ftp3.mutt.org.ua/pub/mutt/mutt-${VVV_PATCH_VERSION}/:vvv \
101
		http://cedricduval.free.fr/mutt/patches/download/:cd \
100
		http://cedricduval.free.fr/mutt/patches/download/:cd \
102
		http://home.woolridge.ca/mutt/patches/:dw
101
		http://home.woolridge.ca/mutt/patches/:dw
(-)./files/patch-color-eol (+62 lines)
Line 0 Link Here
1
--- mutt.h.orig	Fri Jun  4 13:35:59 2004
2
+++ mutt.h	Fri Jun  4 13:49:26 2004
3
@@ -350,6 +350,7 @@
4
   OPTBEEPNEW,
5
   OPTBOUNCEDELIVERED,
6
   OPTCHECKNEW,
7
+  OPTCOLORAFTEREOL,
8
   OPTCOLLAPSEUNREAD,
9
   OPTCONFIRMAPPEND,
10
   OPTCONFIRMCREATE,
11
--- init.h.orig	Fri Jun  4 13:35:56 2004
12
+++ init.h	Fri Jun  4 13:45:43 2004
13
@@ -315,6 +315,12 @@
14
   ** \fIcheck_new\fP is \fIunset\fP, no check for new mail is performed
15
   ** while the mailbox is open.
16
   */
17
+  { "color_after_eol",	DT_BOOL, R_NONE, OPTCOLORAFTEREOL, 1 },
18
+  /*
19
+  ** .pp
20
+  ** When \fIset\fP, Mutt will color a line after the last character extending
21
+  ** to the end of the window.
22
+  */
23
   { "collapse_unread",	DT_BOOL, R_NONE, OPTCOLLAPSEUNREAD, 1 },
24
   /*
25
   ** .pp
26
--- pager.c.orig	Sat Jun  5 09:13:33 2004
27
+++ pager.c	Sat Jun  5 09:12:31 2004
28
@@ -1392,7 +1392,7 @@
29
    * ncurses does an implicit clrtoeol() when you do addch('\n') so we have
30
    * to make sure to reset the color *after* that
31
    */
32
-  if (flags & M_SHOWCOLOR)
33
+  if (option (OPTCOLORAFTEREOL) && (flags & M_SHOWCOLOR))
34
   {
35
     m = ((*lineInfo)[n].continuation) ? ((*lineInfo)[n].syntax)[0].first : n;
36
     if ((*lineInfo)[m].type == MT_COLOR_HEADER)
37
@@ -1406,6 +1406,16 @@
38
 #endif
39
   }
40
 
41
+  /*
42
+   * reset the color back to normal.  This *must* come before the
43
+   * addch('\n') for the color not to be filled to the right margin.
44
+   */
45
+  if (!option (OPTCOLORAFTEREOL) && (flags & M_SHOWCOLOR))
46
+  {
47
+    SETCOLOR(MT_COLOR_NORMAL);
48
+    BKGDSET(MT_COLOR_NORMAL);
49
+  }
50
+
51
   /* ncurses always wraps lines when you get to the right side of the
52
    * screen, but S-Lang seems to only wrap if the next character is *not*
53
    * a newline (grr!).
54
@@ -1420,7 +1430,7 @@
55
    * addch('\n'), otherwise the color for this line will not be
56
    * filled to the right margin.
57
    */
58
-  if (flags & M_SHOWCOLOR)
59
+  if (option (OPTCOLORAFTEREOL) && (flags & M_SHOWCOLOR))
60
   {
61
     SETCOLOR(MT_COLOR_NORMAL);
62
     BKGDSET(MT_COLOR_NORMAL);
(-)./scripts/generate-plist (-1 / +1 lines)
Lines 131-137 Link Here
131
  fi
131
  fi
132
132
133
  if [ "$MUTT_HTML" = "yes" ]; then
133
  if [ "$MUTT_HTML" = "yes" ]; then
134
    html=370
134
    html=371
135
    if [ "$MUTT_COMPRESSED_FOLDERS" = "yes" ]; then
135
    if [ "$MUTT_COMPRESSED_FOLDERS" = "yes" ]; then
136
      html=$(($html + 5))
136
      html=$(($html + 5))
137
    fi
137
    fi

Return to bug 67619