openbsd-ports/www/iridium/patches/patch-base_base_paths_posix_cc

19 lines
700 B
Plaintext

$OpenBSD: patch-base_base_paths_posix_cc,v 1.6 2017/10/28 07:36:00 robert Exp $
Index: base/base_paths_posix.cc
--- base/base_paths_posix.cc.orig
+++ base/base_paths_posix.cc
@@ -69,10 +69,10 @@ bool PathProviderPosix(int key, FilePath* result) {
#elif defined(OS_OPENBSD) || defined(OS_AIX)
// There is currently no way to get the executable path on OpenBSD
char* cpath;
- if ((cpath = getenv("CHROME_EXE_PATH")) != NULL)
+ if ((cpath = getenv("IRIDIUM_EXE_PATH")) != NULL)
*result = FilePath(cpath);
else
- *result = FilePath("/usr/local/chrome/chrome");
+ *result = FilePath("/usr/local/iridium/iridium");
return true;
#endif
}