$OpenBSD: patch-skia_ext_image_operations_cc,v 1.3 2014/07/20 17:22:34 robert Exp $
--- skia/ext/image_operations.cc.orig.port	Sat Jul 19 11:17:49 2014
+++ skia/ext/image_operations.cc	Sat Jul 19 11:42:53 2014
@@ -361,7 +361,7 @@ SkBitmap ImageOperations::ResizeSubpixel(const SkBitma
                "dst_pixels", dest_width*dest_height);
   // Currently only works on Linux/BSD because these are the only platforms
   // where SkFontHost::GetSubpixelOrder is defined.
-#if defined(OS_LINUX) && !defined(GTV)
+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(GTV)
   // Understand the display.
   const SkFontHost::LCDOrder order = SkFontHost::GetSubpixelOrder();
   const SkFontHost::LCDOrientation orientation =
