openbsd-ports/www/chromium/patches/patch-ui_gfx_blit_cc
robert 1d1f0ea496 update to 15.0.874.102.
switch from using the hacked macosx transport dib to the linux one
which uses sysv shms.
make sure you also have a current kernel before using this version
2011-10-27 07:59:08 +00:00

15 lines
411 B
Plaintext

$OpenBSD: patch-ui_gfx_blit_cc,v 1.1 2011/10/27 07:59:09 robert Exp $
--- ui/gfx/blit.cc.orig Wed Oct 26 13:51:34 2011
+++ ui/gfx/blit.cc Wed Oct 26 13:51:54 2011
@@ -10,7 +10,9 @@
#include "ui/gfx/point.h"
#include "ui/gfx/rect.h"
-#if defined(OS_POSIX) && !defined(OS_MACOSX)
+#if defined(OS_OPENBSD)
+#include <cairo.h>
+#elif defined(OS_POSIX) && !defined(OS_MACOSX)
#include <cairo/cairo.h>
#endif