893d9b13f0
- Use https in WWW and MASTER_SITES - Sort ONLY_FOR_ARCHS, USES, USE_GNOME and GN_ARGS - Put in correct place MAKE_ENV+= V=1 variable - Use LLD linker by default for supported archs - Fix DEBUG option - Fix gpu_info_collector.cc warning: control may reach end of non-void function [-Wreturn-type] - Get rid of multiple definition errors Changelog: https://chromium.googlesource.com/chromium/src/+log/58.0.3029.110..59.0.3071.104?pretty=fuller&n=10000 MFH: 2017Q2 Security: https://www.vuxml.org/freebsd/52f4b48b-4ac3-11e7-99aa-e8e0b747a45a.html Security: https://www.vuxml.org/freebsd/f53dd5cc-527f-11e7-a772-e8e0b747a45a.html
20 lines
873 B
C++
20 lines
873 B
C++
--- components/filesystem/file_system_app.cc.orig 2017-06-05 19:03:05 UTC
|
|
+++ components/filesystem/file_system_app.cc
|
|
@@ -22,7 +22,7 @@
|
|
#elif defined(OS_ANDROID)
|
|
#include "base/base_paths_android.h"
|
|
#include "base/path_service.h"
|
|
-#elif defined(OS_LINUX)
|
|
+#elif defined(OS_LINUX) || defined(OS_BSD)
|
|
#include "base/environment.h"
|
|
#include "base/nix/xdg_util.h"
|
|
#elif defined(OS_MACOSX)
|
|
@@ -78,7 +78,7 @@ base::FilePath FileSystemApp::GetUserDataDir() {
|
|
CHECK(PathService::Get(base::DIR_APP_DATA, &path));
|
|
#elif defined(OS_ANDROID)
|
|
CHECK(PathService::Get(base::DIR_ANDROID_APP_DATA, &path));
|
|
-#elif defined(OS_LINUX)
|
|
+#elif defined(OS_LINUX) || defined(OS_BSD)
|
|
std::unique_ptr<base::Environment> env(base::Environment::Create());
|
|
path = base::nix::GetXDGDirectory(env.get(),
|
|
base::nix::kXdgConfigHomeEnvVar,
|