summaryrefslogtreecommitdiff
path: root/mail/sylpheed
diff options
context:
space:
mode:
authorchris <chris@pkgsrc.org>2003-12-15 00:30:52 +0000
committerchris <chris@pkgsrc.org>2003-12-15 00:30:52 +0000
commita82d796b3f156832bd0869a85f30b56db52b7741 (patch)
treee7c6b4e4f4e98a3243e0f361b72caf8b502dbcc8 /mail/sylpheed
parentaebf779d8f420981a099c745cf1918c8e018a2ea (diff)
downloadpkgsrc-a82d796b3f156832bd0869a85f30b56db52b7741.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.
Diffstat (limited to 'mail/sylpheed')
-rw-r--r--mail/sylpheed/distinfo3
-rw-r--r--mail/sylpheed/patches/patch-aa12
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...");
+