.
OBS-URL: https://build.opensuse.org/package/show/server:mail/mutt?expand=0&rev=90
This commit is contained in:
parent
1777255e1a
commit
830dd05dca
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 18 12:54:39 UTC 2013 - werner@suse.de
|
||||
|
||||
- Add widechar.sidebar.dif: bnc#813498 - mutt crashes in fgetwc in
|
||||
text_enriched_handler
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 14 09:11:05 UTC 2013 - werner@suse.de
|
||||
|
||||
|
@ -92,6 +92,8 @@ Patch11: aw.listreply.diff
|
||||
Patch12: patch-1.5.21.vk.pgp_verbose_mime
|
||||
Patch13: automake-1.12.patch
|
||||
Patch14: nion.sidebar-color.diff
|
||||
# PATCH-FIX-OPENSUSE: bnc#813498 - mutt crashes in fgetwc in text_enriched_handler
|
||||
Patch15: widechar.sidebar.dif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%global _sysconfdir %{_sysconfdir}
|
||||
|
||||
@ -122,6 +124,7 @@ done
|
||||
%patch12 -p1 -b .pgp_verbose_mtime
|
||||
%patch13 -p1 -b .automake-1.12
|
||||
%patch14 -p1 -b .sidebar.color
|
||||
%patch15 -p0 -b .widechar.sidebar
|
||||
|
||||
cp doc/Muttrc Muttrc.SuSE
|
||||
cp %{S:2} .
|
||||
|
22
widechar.sidebar.dif
Normal file
22
widechar.sidebar.dif
Normal file
@ -0,0 +1,22 @@
|
||||
--- handler.c
|
||||
+++ handler.c 2013-04-18 12:51:41.414000078 +0000
|
||||
@@ -1650,7 +1650,7 @@ int mutt_body_handler (BODY *b, STATE *s
|
||||
/* decode to a tempfile, saving the original destination */
|
||||
fp = s->fpout;
|
||||
#ifdef HAVE_FMEMOPEN
|
||||
- if ((s->fpout = open_memstream(&temp, &tempsize)) == NULL)
|
||||
+ if ((s->fpout = open_wmemstream(&temp, &tempsize)) == NULL)
|
||||
{
|
||||
mutt_error _("Unable to open memory stream!");
|
||||
dprint (1, (debugfile, "Can't open memory stream.\n"));
|
||||
--- pattern.c
|
||||
+++ pattern.c 2013-04-18 12:52:06.573939217 +0000
|
||||
@@ -168,7 +168,7 @@ msg_search (CONTEXT *ctx, pattern_t* pat
|
||||
s.fpin = msg->fp;
|
||||
s.flags = M_CHARCONV;
|
||||
#ifdef HAVE_FMEMOPEN
|
||||
- if((s.fpout = open_memstream(&temp, &tempsize)) == NULL)
|
||||
+ if((s.fpout = open_wmemstream(&temp, &tempsize)) == NULL)
|
||||
{
|
||||
mutt_perror ("Error opening memstream");
|
||||
return (0);
|
Loading…
Reference in New Issue
Block a user