openbsd-ports/www/chromium/patches/patch-ppapi_proxy_serialized_var_cc
espie ae6e8f236b late update to chromium 9, robert@ did the work, but he doesn't have the
time right now.
Tree is still locked!
Reasons for the update:
- good work that can be used now
- only builds on i386/amd64, and they're fast
- multiple security problems in old chrome
- old chrome half working, can't break it more than it was.

This one requires resources (see MESSAGE), but it's ways more stable.

Again, discussed with sthen@, jasper@, naddy@, miod@
2011-02-08 09:43:02 +00:00

13 lines
537 B
Plaintext

$OpenBSD: patch-ppapi_proxy_serialized_var_cc,v 1.1 2011/02/08 09:43:02 espie Exp $
--- ppapi/proxy/serialized_var.cc.orig Fri Jan 21 10:19:50 2011
+++ ppapi/proxy/serialized_var.cc Mon Jan 24 11:21:37 2011
@@ -189,7 +189,7 @@ bool SerializedVar::Inner::ReadFromMessage(const IPC::
var_.value.as_id = 0;
break;
case PP_VARTYPE_OBJECT:
- success = m->ReadInt64(iter, &var_.value.as_id);
+ success = m->ReadInt64(iter, (int64 *)&var_.value.as_id);
break;
default:
// Leave success as false.