$OpenBSD: patch-base_base_paths_linux_cc,v 1.4 2011/06/02 07:22:12 robert Exp $ --- base/base_paths_linux.cc.orig Fri May 20 10:35:20 2011 +++ base/base_paths_linux.cc Wed Jun 1 12:26:56 2011 @@ -5,7 +5,7 @@ #include "base/base_paths.h" #include -#if defined(OS_FREEBSD) +#if defined(OS_FREEBSD) || defined(OS_OPENBSD) #include #include #endif @@ -55,6 +55,10 @@ bool PathProviderPosix(int key, FilePath* result) { } bin_dir[strlen(bin_dir)] = 0; *result = FilePath(bin_dir); + return true; +#elif defined(OS_OPENBSD) + *result = FilePath("/usr/local/chrome/chrome"); + //*result = FilePath("/home/pobj/chromium-11.0.696.71/chromium-11.0.696.71/out/Release/chrome"); return true; #endif }