pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/sylpheed Add a workaround patch to sylpheed for a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d03f9e2cb24a
branches:  trunk
changeset: 464786:d03f9e2cb24a
user:      chris <chris%pkgsrc.org@localhost>
date:      Mon Dec 15 00:30:52 2003 +0000

description:
Add a workaround patch to sylpheed for an issue with cache files appearing
to be corrupt.  The use of setvbuf after a file has had IO performed causes
a discard of data from that stream, so the cache file appears corrupt.

This cures performance issues with imap folders, where all the headers were
refetched all the time, rather than using the cached versions.

diffstat:

 mail/sylpheed/distinfo         |   3 ++-
 mail/sylpheed/patches/patch-aa |  12 ++++++++++++
 2 files changed, 14 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 291cdceccd70 -r d03f9e2cb24a mail/sylpheed/distinfo
--- a/mail/sylpheed/distinfo    Mon Dec 15 00:28:58 2003 +0000
+++ b/mail/sylpheed/distinfo    Mon Dec 15 00:30:52 2003 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.27 2003/12/13 11:01:33 xtraeme Exp $
+$NetBSD: distinfo,v 1.28 2003/12/15 00:30:52 chris Exp $
 
 SHA1 (sylpheed-0.9.8.tar.bz2) = 375bd60c38f0adaaf8474dafdebd4a78e0ee9f90
 Size (sylpheed-0.9.8.tar.bz2) = 2209820 bytes
+SHA1 (patch-aa) = 17613bf040aca09009075cc5cc09aa8e6e08d33b
diff -r 291cdceccd70 -r d03f9e2cb24a mail/sylpheed/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sylpheed/patches/patch-aa    Mon Dec 15 00:30:52 2003 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.3 2003/12/15 00:30:52 chris Exp $
+
+--- src/procmsg.c.orig 2003-12-08 10:24:06.000000000 +0000
++++ src/procmsg.c      2003-12-15 00:05:07.000000000 +0000
+@@ -216,7 +216,6 @@ GSList *procmsg_read_cache(FolderItem *i
+ 
+       if ((fp = procmsg_open_cache_file(item, DATA_READ)) == NULL)
+               return NULL;
+-      setvbuf(fp, file_buf, _IOFBF, sizeof(file_buf));
+ 
+       debug_print("Reading summary cache...");
+ 



Home | Main Index | Thread Index | Old Index