mirror of
https://git.freebsd.org/ports.git
synced 2025-07-06 20:09:14 -04:00
Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/310ca30e-a951-11ed-8314-a8a1599412c6.html
20 lines
695 B
C++
20 lines
695 B
C++
--- chrome/updater/util/posix_util.cc.orig 2023-02-08 09:03:45 UTC
|
|
+++ chrome/updater/util/posix_util.cc
|
|
@@ -10,7 +10,7 @@
|
|
#include "chrome/updater/updater_branding.h"
|
|
#include "chrome/updater/util/util.h"
|
|
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
#include "chrome/updater/util/linux_util.h"
|
|
#endif
|
|
|
|
@@ -42,7 +42,7 @@ base::FilePath GetUpdaterFolderName() {
|
|
|
|
absl::optional<base::FilePath> GetBaseInstallDirectory(UpdaterScope scope) {
|
|
absl::optional<base::FilePath> path;
|
|
-#if BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
path = GetApplicationDataDirectory(scope);
|
|
#elif BUILDFLAG(IS_MAC)
|
|
path = GetLibraryFolderPath(scope);
|