openbsd-ports/www/chromium/patches/patch-webkit_glue_webkitclient_impl_cc
2011-03-15 11:38:05 +00:00

22 lines
757 B
Plaintext

$OpenBSD: patch-webkit_glue_webkitclient_impl_cc,v 1.3 2011/03/15 11:38:05 robert Exp $
--- webkit/glue/webkitclient_impl.cc.orig Mon Mar 14 11:55:05 2011
+++ webkit/glue/webkitclient_impl.cc Mon Mar 14 14:06:46 2011
@@ -42,7 +42,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
@@ -205,7 +205,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;