openbsd-ports/www/chromium/patches/patch-chrome_common_chrome_constants_cc
2011-03-15 11:38:05 +00:00

22 lines
1.2 KiB
Plaintext

$OpenBSD: patch-chrome_common_chrome_constants_cc,v 1.3 2011/03/15 11:38:05 robert Exp $
--- chrome/common/chrome_constants.cc.orig Mon Mar 14 11:46:24 2011
+++ chrome/common/chrome_constants.cc Mon Mar 14 11:46:34 2011
@@ -27,7 +27,7 @@ const char kChromeVersionEnvVar[] = "CHROME_VERSION";
#if defined(OS_WIN)
const FilePath::CharType kBrowserProcessExecutableName[] = FPL("chrome.exe");
const FilePath::CharType kHelperProcessExecutableName[] = FPL("chrome.exe");
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_OPENBSD)
const FilePath::CharType kBrowserProcessExecutableName[] = FPL("chrome");
// Helper processes end up with a name of "exe" due to execing via
// /proc/self/exe. See bug 22703.
@@ -40,7 +40,7 @@ const FilePath::CharType kHelperProcessExecutableName[
#if defined(OS_WIN)
const FilePath::CharType kBrowserProcessExecutablePath[] = FPL("chrome.exe");
const FilePath::CharType kHelperProcessExecutablePath[] = FPL("chrome.exe");
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_OPENBSD)
const FilePath::CharType kBrowserProcessExecutablePath[] = FPL("chrome");
const FilePath::CharType kHelperProcessExecutablePath[] = FPL("chrome");
#elif defined(OS_MACOSX)