freebsd-ports/www/chromium/files/patch-chrome__common__chrome_switches.cc
Rene Ladan b88b94b93e Update www/chromium to 37.0.2062.94
Obtained from:	freebsd-chromium@ (especially Carlos Medina)
MFH:		2014Q3
Security:	http://www.vuxml.org/freebsd/fd5f305d-2d3d-11e4-aa3d-00262d5ed8ee.html
2014-08-26 17:09:02 +00:00

20 lines
1 KiB
C++

--- ./chrome/common/chrome_switches.cc.orig 2014-08-20 21:01:56.000000000 +0200
+++ ./chrome/common/chrome_switches.cc 2014-08-22 15:06:25.000000000 +0200
@@ -1319,7 +1319,7 @@
const char kPasswordStore[] = "password-store";
#endif
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_LINUX) || defined(OS_FREEBSD)) && !defined(OS_CHROMEOS)
// Triggers migration of user data directory to another directory
// specified as a parameter. The migration is done under singleton lock,
// and sanity checks are made to avoid corrupting the profile.
@@ -1330,7 +1330,7 @@
// Linux speech service. Because it's buggy, the user must explicitly
// enable it so that visiting a random webpage can't cause instability.
const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher";
-#endif // defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#endif // (defined(OS_LINUX) || defined(OS_FREEBSD)) && !defined(OS_CHROMEOS)
#if defined(OS_MACOSX)
// Prevents Chrome from quitting when Chrome Apps are open.