packages: mutt/mutt.spec, mutt/mutt-from_folding.patch (NEW) - fixed From_ ...

gotar gotar at pld-linux.org
Sat Sep 11 11:58:31 CEST 2010


Author: gotar                        Date: Sat Sep 11 09:58:31 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed From_ line folding, rel. 2

---- Files affected:
packages/mutt:
   mutt.spec (1.228 -> 1.229) , mutt-from_folding.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/mutt/mutt.spec
diff -u packages/mutt/mutt.spec:1.228 packages/mutt/mutt.spec:1.229
--- packages/mutt/mutt.spec:1.228	Sun Apr 11 22:22:28 2010
+++ packages/mutt/mutt.spec	Sat Sep 11 11:58:25 2010
@@ -23,7 +23,7 @@
 Summary(uk.UTF-8):	Поштова клієнтська програма Mutt
 Name:		mutt
 Version:	1.5.20
-Release:	1
+Release:	2
 Epoch:		6
 License:	GPL v2+
 Group:		Applications/Mail
@@ -59,6 +59,7 @@
 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
@@ -80,7 +81,7 @@
 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.
@@ -165,6 +166,7 @@
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1
+%patch23 -p1
 
 # force regeneration (manual.sgml is modified by some patches)
 rm -f doc/{manual*.html,manual.txt}
@@ -269,6 +271,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.229  2010/09/11 09:58:25  gotar
+- fixed From_ line folding, rel. 2
+
 Revision 1.228  2010/04/11 20:22:28  pawelz
 - rel 1
 

================================================================
Index: packages/mutt/mutt-from_folding.patch
diff -u /dev/null packages/mutt/mutt-from_folding.patch:1.1
--- /dev/null	Sat Sep 11 11:58:31 2010
+++ packages/mutt/mutt-from_folding.patch	Sat Sep 11 11:58:25 2010
@@ -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, "
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mutt/mutt.spec?r1=1.228&r2=1.229&f=u



More information about the pld-cvs-commit mailing list