From 5d1b95dc0397ea72bc309457bca50c63f4747ef1 Mon Sep 17 00:00:00 2001 From: qrczak Date: Mon, 19 Feb 2007 22:40:05 +0000 Subject: [PATCH] - mutt-long-lines.patch: fixed cutting of lines after 256 characters during quoted-printable decoding. Untested. Changed files: mutt-long-lines.patch -> 1.1 mutt.spec -> 1.193 --- mutt-long-lines.patch | 13 +++++++++++++ mutt.spec | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 mutt-long-lines.patch diff --git a/mutt-long-lines.patch b/mutt-long-lines.patch new file mode 100644 index 0000000..c4f1693 --- /dev/null +++ b/mutt-long-lines.patch @@ -0,0 +1,13 @@ +--- mutt-1.4.2.2/handler.c~ 2007-02-19 23:35:33.000000000 +0100 ++++ mutt-1.4.2.2/handler.c 2007-02-19 23:36:28.000000000 +0100 +@@ -235,8 +235,8 @@ + + void mutt_decode_quoted (STATE *s, long len, int istext, iconv_t cd) + { +- char line[STRING]; +- char decline[2*STRING]; ++ char line[LONG_STRING]; ++ char decline[2*LONG_STRING]; + size_t l = 0; + size_t l2; + size_t l3; diff --git a/mutt.spec b/mutt.spec index 37eb2ff..4ca63cc 100644 --- a/mutt.spec +++ b/mutt.spec @@ -54,6 +54,7 @@ Patch22: %{name}-kill_warnings.patch Patch23: %{name}-Muttrc_mbox_path.patch Patch24: %{name}-po.patch Patch25: %{name}-sasl-fixes.patch +Patch26: %{name}-long-lines.patch URL: http://www.mutt.org/ %{!?with_slang:BuildRequires: ncurses-devel >= 5.4-0.7} BuildRequires: autoconf @@ -161,6 +162,7 @@ Mutt - це невеликий, але потужний повноекранни %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -p1 # force regeneration (manual.sgml is modified by some patches) rm -f doc/{manual*.html,manual.txt} -- 2.44.0