aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-components_soda_soda__util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/ungoogled-chromium/files/patch-components_soda_soda__util.cc')
-rw-r--r--www/ungoogled-chromium/files/patch-components_soda_soda__util.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/ungoogled-chromium/files/patch-components_soda_soda__util.cc b/www/ungoogled-chromium/files/patch-components_soda_soda__util.cc
new file mode 100644
index 000000000000..28fd0bd8a6d0
--- /dev/null
+++ b/www/ungoogled-chromium/files/patch-components_soda_soda__util.cc
@@ -0,0 +1,11 @@
+--- components/soda/soda_util.cc.orig 2024-05-23 20:04:36 UTC
++++ components/soda/soda_util.cc
+@@ -35,7 +35,7 @@ bool IsOnDeviceSpeechRecognitionSupported() {
+ }
+ #endif
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // Check if the CPU has the required instruction set to run the Speech
+ // On-Device API (SODA) library.
+ static bool has_sse41 = base::CPU().has_sse41();