openbsd-ports/www/chromium/patches/patch-chrome_renderer_renderer_glue_cc
robert 089acff6fe update to the latest stable version which is now 11.0.696.60
+ switch from using system sqlite to the bundled one because they have
  many modifications that are needed
+ add a new mirror for the distfile because the google one is utterly slow
2011-04-29 13:18:01 +00:00

22 lines
817 B
Plaintext

$OpenBSD: patch-chrome_renderer_renderer_glue_cc,v 1.3 2011/04/29 13:18:01 robert Exp $
--- chrome/renderer/renderer_glue.cc.orig Tue Apr 26 10:01:45 2011
+++ chrome/renderer/renderer_glue.cc Thu Apr 28 11:17:49 2011
@@ -43,7 +43,7 @@
#if defined(OS_WIN)
#include <strsafe.h> // note: per msdn docs, this must *follow* other includes
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_OPENBSD)
#include "chrome/renderer/renderer_sandbox_support_linux.h"
#endif
@@ -297,7 +297,7 @@ bool LaunchSelLdr(const char* alleged_url, int socket_
}
#endif
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_OPENBSD)
int MatchFontWithFallback(const std::string& face, bool bold,
bool italic, int charset) {
return renderer_sandbox_support::MatchFontWithFallback(