diff options
author | chris <chris> | 2003-12-15 00:30:52 +0000 |
---|---|---|
committer | chris <chris> | 2003-12-15 00:30:52 +0000 |
commit | 5d4be69ccf2f5748d747a89ba86d3ad634ef31d6 (patch) | |
tree | e7c6b4e4f4e98a3243e0f361b72caf8b502dbcc8 | |
parent | 5051b701e745622fa38af46e88c0ccf887603dff (diff) | |
download | pkgsrc-5d4be69ccf2f5748d747a89ba86d3ad634ef31d6.tar.gz |
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.
-rw-r--r-- | mail/sylpheed/distinfo | 3 | ||||
-rw-r--r-- | mail/sylpheed/patches/patch-aa | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/mail/sylpheed/distinfo b/mail/sylpheed/distinfo index 8b4b4fa8a95..b9cd0e02256 100644 --- a/mail/sylpheed/distinfo +++ b/mail/sylpheed/distinfo @@ -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 --git a/mail/sylpheed/patches/patch-aa b/mail/sylpheed/patches/patch-aa new file mode 100644 index 00000000000..9a10437269b --- /dev/null +++ b/mail/sylpheed/patches/patch-aa @@ -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..."); + |