opnsense-ports/devel/electron22/files/patch-components_live__caption_caption__util.cc
Franco Fichtner d016c42591 */*: sync with upstream
Taken from: FreeBSD
2023-01-30 10:59:54 +01:00

11 lines
438 B
C++

--- components/live_caption/caption_util.cc.orig 2022-07-22 17:30:31 UTC
+++ components/live_caption/caption_util.cc
@@ -140,7 +140,7 @@ bool IsLiveCaptionFeatureSupported() {
return false;
#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();