diff options
Diffstat (limited to 'devel/electron28/files/patch-content_utility_speech_speech__recognition__sandbox__hook__linux.h')
-rw-r--r-- | devel/electron28/files/patch-content_utility_speech_speech__recognition__sandbox__hook__linux.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/electron28/files/patch-content_utility_speech_speech__recognition__sandbox__hook__linux.h b/devel/electron28/files/patch-content_utility_speech_speech__recognition__sandbox__hook__linux.h new file mode 100644 index 000000000000..cbeba4accc3e --- /dev/null +++ b/devel/electron28/files/patch-content_utility_speech_speech__recognition__sandbox__hook__linux.h @@ -0,0 +1,16 @@ +--- content/utility/speech/speech_recognition_sandbox_hook_linux.h.orig 2023-10-19 19:58:23 UTC ++++ content/utility/speech/speech_recognition_sandbox_hook_linux.h +@@ -5,7 +5,13 @@ + #ifndef CONTENT_UTILITY_SPEECH_SPEECH_RECOGNITION_SANDBOX_HOOK_LINUX_H_ + #define CONTENT_UTILITY_SPEECH_SPEECH_RECOGNITION_SANDBOX_HOOK_LINUX_H_ + ++#include "build/build_config.h" ++ ++#if BUILDFLAG(IS_BSD) ++#include "sandbox/policy/sandbox.h" ++#else + #include "sandbox/policy/linux/sandbox_linux.h" ++#endif + + namespace speech { + |