openbsd-ports/www/chromium/patches/patch-app_resource_bundle_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
538 B
Plaintext

$OpenBSD: patch-app_resource_bundle_cc,v 1.1 2011/02/08 09:43:02 espie Exp $
--- app/resource_bundle.cc.orig Fri Jan 21 10:19:47 2011
+++ app/resource_bundle.cc Sun Jan 23 23:27:31 2011
@@ -228,7 +228,7 @@ gfx::NativeImage ResourceBundle::GetNativeImageNamed(i
#if defined(OS_MACOSX)
return rb.GetNSImageNamed(resource_id);
#elif defined(USE_X11) && !defined(TOOLKIT_VIEWS)
- return rb.GetPixbufNamed(resource_id);
+ return (gfx::NativeImage)rb.GetPixbufNamed(resource_id);
#else
return rb.GetBitmapNamed(resource_id);
#endif