openbsd-ports/www/chromium/patches/patch-content_common_view_messages_h

13 lines
688 B
Plaintext

$OpenBSD: patch-content_common_view_messages_h,v 1.1 2011/06/08 20:36:56 robert Exp $
--- content/common/view_messages.h.orig Wed Jun 8 10:30:17 2011
+++ content/common/view_messages.h Wed Jun 8 10:30:30 2011
@@ -1783,7 +1783,7 @@ IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_AllocateShared
IPC_MESSAGE_CONTROL1(ViewHostMsg_SuddenTerminationChanged,
bool /* enabled */)
-#if defined(OS_MACOSX)
+#if defined(OS_MACOSX) || defined(OS_OPENBSD)
// On OSX, we cannot allocated shared memory from within the sandbox, so
// this call exists for the renderer to ask the browser to allocate memory
// on its behalf. We return a file descriptor to the POSIX shared memory.