summaryrefslogtreecommitdiff
path: root/devel/electron6/files/patch-content_public_common_content__switches.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron6/files/patch-content_public_common_content__switches.cc')
-rw-r--r--devel/electron6/files/patch-content_public_common_content__switches.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron6/files/patch-content_public_common_content__switches.cc b/devel/electron6/files/patch-content_public_common_content__switches.cc
new file mode 100644
index 000000000000..ab4fbfb6ce59
--- /dev/null
+++ b/devel/electron6/files/patch-content_public_common_content__switches.cc
@@ -0,0 +1,11 @@
+--- content/public/common/content_switches.cc.orig 2019-09-10 11:14:02 UTC
++++ content/public/common/content_switches.cc
+@@ -949,7 +949,7 @@ const char kEnableAutomation[] = "enable-automation";
+ const char kDisablePanelFitting[] = "disable-panel-fitting";
+ #endif
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_FREEBSD)
+ // Allows sending text-to-speech requests to speech-dispatcher, a common
+ // Linux speech service. Because it's buggy, the user must explicitly
+ // enable it so that visiting a random webpage can't cause instability.