openbsd-ports/www/chromium/patches/patch-chrome_renderer_renderer_main_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

22 lines
871 B
Plaintext

$OpenBSD: patch-chrome_renderer_renderer_main_cc,v 1.4 2011/04/29 13:18:01 robert Exp $
--- chrome/renderer/renderer_main.cc.orig Tue Apr 26 10:01:45 2011
+++ chrome/renderer/renderer_main.cc Thu Apr 28 11:17:49 2011
@@ -286,7 +286,7 @@ int RendererMain(const MainFunctionParams& parameters)
PepperPluginRegistry::GetInstance();
{
-#if !defined(OS_LINUX)
+#if !defined(OS_LINUX) && !defined(OS_OPENBSD)
// TODO(markus): Check if it is OK to unconditionally move this
// instruction down.
RenderProcessImpl render_process;
@@ -298,7 +298,7 @@ int RendererMain(const MainFunctionParams& parameters)
} else {
LOG(ERROR) << "Running without renderer sandbox";
}
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_OPENBSD)
RenderProcessImpl render_process;
render_process.set_main_thread(new RenderThread());
#endif