]> git.pld-linux.org Git - packages/mutt.git/commitdiff
- fixed From_ line folding, rel. 2 auto/th/mutt-1_5_20-2
authorTomasz Pala <gotar@pld-linux.org>
Sat, 11 Sep 2010 09:58:25 +0000 (09:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mutt-from_folding.patch -> 1.1
    mutt.spec -> 1.229

mutt-from_folding.patch [new file with mode: 0644]
mutt.spec

diff --git a/mutt-from_folding.patch b/mutt-from_folding.patch
new file mode 100644 (file)
index 0000000..6c7007a
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urNp mutt-1.5.20.orig/sendlib.c mutt-1.5.20/sendlib.c
+--- mutt-1.5.20.orig/sendlib.c 2009-06-14 17:46:11.000000000 +0200
++++ mutt-1.5.20/sendlib.c      2010-09-11 11:49:12.000000000 +0200
+@@ -1737,7 +1737,7 @@ static int write_one_header (FILE *fp, i
+   }
+   else
+   {
+-    t = strchr (start, ':');
++    if(strncmp("From ",start,5)==0) t = strchr (start, ' '); else t = strchr (start, ':');
+     tagbuf = mutt_substrdup (start, t);
+     valbuf = mutt_substrdup (t + 2, end);
+     dprint(4,(debugfile,"mwoh: buf[%s%s] too long, "
index e264f132a37e551f1978a396977a5ebb3c6e1573..a6f056282a6c15626221aa2347752986c3be3f44 100644 (file)
--- a/mutt.spec
+++ b/mutt.spec
@@ -22,7 +22,7 @@ Summary(tr.UTF-8):    Mutt elektronik posta programı
 Summary(uk.UTF-8):     Поштова клієнтська програма Mutt
 Name:          mutt
 Version:       1.5.20
-Release:       1
+Release:       2
 Epoch:         6
 License:       GPL v2+
 Group:         Applications/Mail
@@ -58,6 +58,7 @@ Patch19:      %{name}-imap_recent.patch
 Patch20:       %{name}-Muttrc.head.patch
 Patch21:       %{name}-smime.rc.patch
 Patch22:       %{name}-openssl.patch
+Patch23:       %{name}-from_folding.patch
 URL:           http://www.mutt.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -79,7 +80,7 @@ Requires:     iconv
 Suggests:      mailcap
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                specflags_ia32   -fomit-frame-pointer 
+%define                specflags_ia32  -fomit-frame-pointer
 
 %description
 Mutt is a small but very poweful full-screen Unix mail client.
@@ -164,6 +165,7 @@ Mutt - це невеликий, але потужний повноекранни
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1
+%patch23 -p1
 
 # force regeneration (manual.sgml is modified by some patches)
 rm -f doc/{manual*.html,manual.txt}
This page took 0.119571 seconds and 4 git commands to generate.