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

13 lines
603 B
Plaintext

$OpenBSD: patch-webkit_glue_webkit_glue_h,v 1.5 2011/08/16 08:17:44 robert Exp $
--- webkit/glue/webkit_glue.h.orig Wed Jul 27 10:01:06 2011
+++ webkit/glue/webkit_glue.h Tue Aug 2 20:12:21 2011
@@ -257,7 +257,7 @@ bool LaunchSelLdr(const char* alleged_url, int socket_
void* nacl_process_handle, int* nacl_process_id);
#endif
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_OPENBSD)
// Return a read-only file descriptor to the font which best matches the given
// properties or -1 on failure.
// charset: specifies the language(s) that the font must cover. See