pkgsrc-wip/chromium/patches/patch-base_base__paths__pos...

14 lines
497 B
C++

$NetBSD$
--- base/base_paths_posix.cc.orig 2020-07-15 18:55:48.000000000 +0000
+++ base/base_paths_posix.cc
@@ -67,7 +67,7 @@ bool PathProviderPosix(int key, FilePath
}
*result = FilePath(bin_dir);
return true;
-#elif defined(OS_OPENBSD) || defined(OS_AIX)
+#elif defined(OS_OPENBSD) || defined(OS_AIX) || defined(OS_NETBSD)
// There is currently no way to get the executable path on OpenBSD
char* cpath;
if ((cpath = getenv("CHROME_EXE_PATH")) != NULL)