openbsd-ports/www/seamonkey/patches/patch-mailnews_mime_src_mimemsg_cpp
landry 7fb16329b9 Major update to seamonkey 2.0.4, now built upon mozilla-1.9.1/firefox
3.5/thunderbird 3 codebase. See for details:
http://www.seamonkey-project.org/releases/seamonkey2.0.4/
Backing up your profile before upgrading is recommended..
Update also largely based on www/firefox35 port.
Tested on i386/amd64/sparc64/powerpc by myself and on alpha by naddy@

ok naddy@
2010-04-03 09:30:14 +00:00

13 lines
527 B
Plaintext

$OpenBSD: patch-mailnews_mime_src_mimemsg_cpp,v 1.3 2010/04/03 09:30:14 landry Exp $
--- mailnews/mime/src/mimemsg.cpp.orig Mon Jan 11 18:40:36 2010
+++ mailnews/mime/src/mimemsg.cpp Mon Jan 25 22:31:38 2010
@@ -514,7 +514,7 @@ MimeMessage_close_headers (MimeObject *obj)
{
PRUint32 flags = 0;
char dummy = 0;
- if (sscanf(xmoz, " %lx %c", &flags, &dummy) == 1 &&
+ if (sscanf(xmoz, " %x %c", &flags, &dummy) == 1 &&
flags & nsMsgMessageFlags::Partial)
{
obj->options->html_closure = obj;