openbsd-ports/www/chromium/patches/patch-webkit_glue_webkitclient_impl_cc

22 lines
757 B
Plaintext

$OpenBSD: patch-webkit_glue_webkitclient_impl_cc,v 1.5 2011/06/08 20:36:56 robert Exp $
--- webkit/glue/webkitclient_impl.cc.orig Mon Jun 6 11:11:25 2011
+++ webkit/glue/webkitclient_impl.cc Wed Jun 8 09:58:37 2011
@@ -44,7 +44,7 @@
#include "webkit/glue/websocketstreamhandle_impl.h"
#include "webkit/glue/weburlloader_impl.h"
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_OPENBSD)
#include "v8/include/v8.h"
#endif
@@ -207,7 +207,7 @@ WebKitClientImpl::~WebKitClientImpl() {
}
WebThemeEngine* WebKitClientImpl::themeEngine() {
-#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX)
+#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_OPENBSD)
return &theme_engine_;
#else
return NULL;