$OpenBSD: patch-chromecast_browser_cast_browser_main_parts_cc,v 1.1 2016/01/23 18:49:31 robert Exp $
--- chromecast/browser/cast_browser_main_parts.cc.orig.port	Fri Jan 22 22:20:14 2016
+++ chromecast/browser/cast_browser_main_parts.cc	Fri Jan 22 22:20:28 2016
@@ -9,7 +9,7 @@
 #include <signal.h>
 #include <sys/prctl.h>
 #endif
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
 #include <fontconfig/fontconfig.h>
 #endif
 
@@ -179,7 +179,7 @@ DefaultCommandLineSwitch g_default_switches[] = {
 #if defined(DISABLE_DISPLAY)
   { switches::kDisableGpu, "" },
 #endif
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
 #if defined(ARCH_CPU_X86_FAMILY)
   // This is needed for now to enable the egltest Ozone platform to work with
   // current Linux/NVidia OpenGL drivers.
@@ -259,7 +259,7 @@ void CastBrowserMainParts::PostMainMessageLoopStart() 
 }
 
 void CastBrowserMainParts::ToolkitInitialized() {
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   // Without this call, the FontConfig library gets implicitly initialized
   // on the first call to FontConfig. Since it's not safe to initialize it
   // concurrently from multiple threads, we explicitly initialize it here
