mutt: update to 1.5.22

This commit is contained in:
Juergen Daubert 2013-10-21 19:06:36 +02:00
parent f085d1e5af
commit 914b6613c8
4 changed files with 6 additions and 59 deletions

View File

@ -10,6 +10,8 @@ drwxr-xr-x root/root usr/etc/
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/mutt.1.gz
-rw-r--r-- root/root usr/man/man1/pgpewrap.1.gz
-rw-r--r-- root/root usr/man/man1/pgpring.1.gz
-rw-r--r-- root/root usr/man/man1/smime_keys.1.gz
drwxr-xr-x root/root usr/man/man5/
-rw-r--r-- root/root usr/man/man5/muttrc.5.gz

View File

@ -1,2 +1 @@
5bae08f5c40a67180c7a74fb36ab7aaf mutt-1.5.21-0e4f1782ea2e.patch
a29db8f1d51e2f10c070bf88e8a553fd mutt-1.5.21.tar.gz
48267aba1bc53db636777f4a1ec87cb6 mutt-1.5.22.tar.gz

View File

@ -4,16 +4,13 @@
# Depends on: gdbm ncurses openssl zlib
name=mutt
version=1.5.21
release=2
source=(ftp://ftp.mutt.org/mutt/devel/$name-$version.tar.gz
$name-$version-0e4f1782ea2e.patch)
version=1.5.22
release=1
source=(ftp://ftp.mutt.org/mutt/devel/$name-$version.tar.gz)
build () {
cd $name-$version
patch -p0 -i $SRC/$name-$version-0e4f1782ea2e.patch
./configure --prefix=/usr \
--mandir=/usr/man \
--with-docdir=/usr/share/mutt \

View File

@ -1,51 +0,0 @@
# http://dev.mutt.org/trac/changeset/0e4f1782ea2e
Index: imap/message.c
===================================================================
--- imap/message.c (revision 6121:6572e8bcd723)
+++ imap/message.c (revision 6185:0e4f1782ea2e)
@@ -66,5 +66,5 @@
FILE *fp;
char tempfile[_POSIX_PATH_MAX];
- int msgno, idx;
+ int msgno, idx = msgbegin - 1;
IMAP_HEADER h;
IMAP_STATUS* status;
@@ -186,5 +186,5 @@
}
- idx = h.sid - 1;
+ idx++;
ctx->hdrs[idx] = imap_hcache_get (idata, h.data->uid);
if (ctx->hdrs[idx])
@@ -212,4 +212,5 @@
imap_free_header_data((void**) (void*) &h.data);
evalhc = 0;
+ idx--;
}
}
@@ -274,4 +275,5 @@
dprint (2, (debugfile, "msg_fetch_header: ignoring fetch response with no body\n"));
mfhrc = -1;
+ msgend--;
continue;
}
@@ -280,5 +282,5 @@
fputs ("\n\n", fp);
- idx = h.sid - 1;
+ idx++;
if (idx > msgend)
{
@@ -286,4 +288,5 @@
"unknown message number %d\n", h.sid));
mfhrc = -1;
+ idx--;
continue;
}
@@ -293,4 +296,5 @@
dprint (2, (debugfile, "imap_read_headers: message %d is not new\n",
h.sid));
+ idx--;
continue;
}