From fe1ac9fa56337cc2d110bb8cd8cc49c7fc961302 Mon Sep 17 00:00:00 2001 From: Eray Aslan Date: Sat, 30 Apr 2011 20:48:43 +0000 Subject: Backport sdbox patch - bug #365445. Thanks to Kerin Millar. (Portage version: 2.1.9.46/cvs/Linux x86_64) --- net-mail/dovecot/files/dovecot-2.0.12-sdbox.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 net-mail/dovecot/files/dovecot-2.0.12-sdbox.patch (limited to 'net-mail/dovecot/files') diff --git a/net-mail/dovecot/files/dovecot-2.0.12-sdbox.patch b/net-mail/dovecot/files/dovecot-2.0.12-sdbox.patch new file mode 100644 index 000000000000..ad16cf3496b8 --- /dev/null +++ b/net-mail/dovecot/files/dovecot-2.0.12-sdbox.patch @@ -0,0 +1,17 @@ + +diff -r d4945c93c33b -r 663528c5c799 src/lib-storage/index/dbox-single/sdbox-storage.c +--- a/src/lib-storage/index/dbox-single/sdbox-storage.c Tue Apr 12 18:38:50 2011 +0300 ++++ b/src/lib-storage/index/dbox-single/sdbox-storage.c Sat Apr 30 15:55:08 2011 +0300 +@@ -118,6 +118,8 @@ + mail_index_update_header_ext(trans, mbox->hdr_ext_id, 0, + &new_hdr, sizeof(new_hdr)); + } ++ memcpy(mbox->mailbox_guid, new_hdr.mailbox_guid, ++ sizeof(mbox->mailbox_guid)); + } + + static int sdbox_mailbox_create_indexes(struct mailbox *box, + + + + -- cgit v1.2.3-65-gdbad