24 lines
788 B
Plaintext
24 lines
788 B
Plaintext
$OpenBSD: patch-base_base_paths_linux_cc,v 1.3 2011/03/15 11:38:05 robert Exp $
|
|
--- base/base_paths_linux.cc.orig Fri Mar 11 10:01:33 2011
|
|
+++ base/base_paths_linux.cc Mon Mar 14 18:01:28 2011
|
|
@@ -5,7 +5,7 @@
|
|
#include "base/base_paths.h"
|
|
|
|
#include <unistd.h>
|
|
-#if defined(OS_FREEBSD)
|
|
+#if defined(OS_FREEBSD) || defined(OS_OPENBSD)
|
|
#include <sys/param.h>
|
|
#include <sys/sysctl.h>
|
|
#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-10.0.648.133/chromium-10.0.648.133/out/Release/chrome");
|
|
return true;
|
|
#endif
|
|
}
|