aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.h')
-rw-r--r--devel/electron29/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.h b/devel/electron29/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.h
new file mode 100644
index 000000000000..767032bf10a4
--- /dev/null
+++ b/devel/electron29/files/patch-media_gpu_sandbox_hardware__video__decoding__sandbox__hook__linux.h
@@ -0,0 +1,16 @@
+--- media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.h.orig 2023-05-25 00:41:58 UTC
++++ media/gpu/sandbox/hardware_video_decoding_sandbox_hook_linux.h
+@@ -5,7 +5,13 @@
+ #ifndef MEDIA_GPU_SANDBOX_HARDWARE_VIDEO_DECODING_SANDBOX_HOOK_LINUX_H_
+ #define MEDIA_GPU_SANDBOX_HARDWARE_VIDEO_DECODING_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 media {
+