aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-chrome_common_media_cdm__registration.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-chrome_common_media_cdm__registration.h')
-rw-r--r--devel/electron37/files/patch-chrome_common_media_cdm__registration.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-chrome_common_media_cdm__registration.h b/devel/electron37/files/patch-chrome_common_media_cdm__registration.h
new file mode 100644
index 000000000000..25720d99f0a1
--- /dev/null
+++ b/devel/electron37/files/patch-chrome_common_media_cdm__registration.h
@@ -0,0 +1,11 @@
+--- chrome/common/media/cdm_registration.h.orig 2025-04-22 20:15:27 UTC
++++ chrome/common/media/cdm_registration.h
+@@ -15,7 +15,7 @@ void RegisterCdmInfo(std::vector<content::CdmInfo>* cd
+ void RegisterCdmInfo(std::vector<content::CdmInfo>* cdms);
+
+ #if BUILDFLAG(ENABLE_WIDEVINE) && \
+- (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS))
++ (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD))
+ // Returns the software secure Widevine CDM, if one exists.
+ std::vector<content::CdmInfo> GetSoftwareSecureWidevine();
+ #endif