openbsd-ports/www/chromium/patches/patch-chrome_renderer_pepper_devices_cc
robert 089acff6fe update to the latest stable version which is now 11.0.696.60
+ switch from using system sqlite to the bundled one because they have
  many modifications that are needed
+ add a new mirror for the distfile because the google one is utterly slow
2011-04-29 13:18:01 +00:00

13 lines
676 B
Plaintext

$OpenBSD: patch-chrome_renderer_pepper_devices_cc,v 1.2 2011/04/29 13:18:01 robert Exp $
--- chrome/renderer/pepper_devices.cc.orig Tue Apr 26 10:01:45 2011
+++ chrome/renderer/pepper_devices.cc Thu Apr 28 11:17:49 2011
@@ -53,7 +53,7 @@ NPError Graphics2DDeviceContext::Initialize(
uint32 buffer_size = width * height * kBytesPerPixel;
// Allocate the transport DIB and the PlatformCanvas pointing to it.
-#if defined(OS_MACOSX)
+#if defined(OS_MACOSX) || defined(OS_OPENBSD)
// On the Mac, shared memory has to be created in the browser in order to
// work in the sandbox. Do this by sending a message to the browser
// requesting a TransportDIB (see also