$OpenBSD: patch-third_party_WebKit_Source_platform_fonts_skia_FontCacheSkia_cpp,v 1.6 2016/05/27 06:28:21 robert Exp $
--- third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp.orig.port	Thu May 26 08:30:51 2016
+++ third_party/WebKit/Source/platform/fonts/skia/FontCacheSkia.cpp	Thu May 26 08:31:15 2016
@@ -60,7 +60,7 @@ static PassRefPtr<SkTypeface> typefaceForFontconfigInt
 
 namespace blink {
 
-#if OS(ANDROID) || OS(LINUX)
+#if OS(ANDROID) || OS(LINUX) || OS(OPENBSD)
 // Android special locale for retrieving the color emoji font
 // based on the proposed changes in UTR #51 for introducing
 // an Emoji script code:
@@ -171,7 +171,7 @@ PassRefPtr<SimpleFontData> FontCache::getLastResortFal
     return fontDataFromFontPlatformData(fontPlatformData, shouldRetain);
 }
 
-#if OS(WIN) || OS(LINUX)
+#if OS(WIN) || OS(LINUX) || OS(OPENBSD)
 static inline SkFontStyle fontStyle(const FontDescription& fontDescription)
 {
     int width = static_cast<int>(fontDescription.stretch());
@@ -232,7 +232,7 @@ PassRefPtr<SkTypeface> FontCache::createTypeface(const
     }
 #endif
 
-#if OS(LINUX)
+#if OS(LINUX) || OS(OPENBSD)
     // On linux if the fontManager has been overridden then we should be calling the embedder
     // provided font Manager rather than calling SkTypeface::CreateFromName which may redirect the
     // call to the default font Manager.
