openbsd-ports/www/chromium/patches/patch-ui_gfx_blit_cc
2011-12-14 16:58:19 +00:00

15 lines
459 B
Plaintext

$OpenBSD: patch-ui_gfx_blit_cc,v 1.2 2011/12/14 16:58:19 robert Exp $
--- ui/gfx/blit.cc.orig Tue Dec 13 21:38:09 2011
+++ ui/gfx/blit.cc Tue Dec 13 21:38:28 2011
@@ -10,7 +10,9 @@
#include "ui/gfx/point.h"
#include "ui/gfx/rect.h"
-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
+#if defined(OS_OPENBSD)
+#include <cairo.h>
+#elif defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID)
#include <cairo/cairo.h>
#endif