openbsd-ports/www/chromium/patches/patch-content_renderer_renderer_glue_cc
2011-09-19 08:55:26 +00:00

22 lines
832 B
Plaintext

$OpenBSD: patch-content_renderer_renderer_glue_cc,v 1.3 2011/09/19 08:55:26 robert Exp $
--- content/renderer/renderer_glue.cc.orig Tue Aug 23 10:28:29 2011
+++ content/renderer/renderer_glue.cc Wed Aug 24 10:54:23 2011
@@ -35,7 +35,7 @@
#include "webkit/glue/webkit_glue.h"
#include "webkit/glue/websocketstreamhandle_bridge.h"
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_OPENBSD)
#include "content/common/child_process_sandbox_support_linux.h"
#endif
@@ -253,7 +253,7 @@ void EnableSpdy(bool enable) {
RenderThread::current()->EnableSpdy(enable);
}
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_OPENBSD)
int MatchFontWithFallback(const std::string& face, bool bold,
bool italic, int charset) {
return child_process_sandbox_support::MatchFontWithFallback(