Files
chromium-dev/fix_building_widevinecdm_with_chromium.patch

25 lines
1.4 KiB
Diff
Raw Normal View History

Index: chromium-71.0.3578.80/third_party/widevine/cdm/widevine_cdm_version.h
===================================================================
--- chromium-71.0.3578.80.orig/third_party/widevine/cdm/widevine_cdm_version.h
+++ chromium-71.0.3578.80/third_party/widevine/cdm/widevine_cdm_version.h
@@ -11,5 +11,6 @@
// If the Widevine CDM is available define the following:
// - WIDEVINE_CDM_VERSION_STRING (with the version of the CDM that's available
// as a string, e.g., "1.0.123.456").
Accepting request 434707 from network:chromium - Version update to 54.0.2840.59 bnc#1004465: - CVE-2016-5181: Universal XSS in Blink (Anonymous) - CVE-2016-5182: Heap overflow in Blink (Giwan Go of STEALIEN) - CVE-2016-5183: Use after free in PDFium (Anonymous) - CVE-2016-5184: Use after free in PDFium (Anonymous) - CVE-2016-5185: Use after free in Blink (cloudfuzzer) - CVE-2016-5187: URL spoofing (Luan Herrera) - CVE-2016-5188: UI spoofing (Luan Herrera) - CVE-2016-5192: Cross-origin bypass in Blink (haojunhou at gmail) - CVE-2016-5189: URL spoofing (xisigr of Tencent's Xuanwu Lab) - CVE-2016-5186: Out of bounds read in DevTools (Abdulrahman Alqabandi) - CVE-2016-5191: Universal XSS in Bookmarks (Gareth Hughes) - CVE-2016-5190: Use after free in Internals (Atte Kettunen of OUSPG) - CVE-2016-5193: Scheme bypass (Yuyang ZHOUmartinzhou96) - Version update to 54.0.2840.50 bnc#1002140: - disable build for chromium-beta on %arm. while it does build, it takes two days, in which we can build roughly 600 other packages, and I rather build 600 other packages than chromium-beta. - Version update to 54.0.2840.41 - Add --ui-disable-partial-swap to the launcher bnc#1000019 cr#628168 - Export GDK_BACKEND=x11 before starting chromium, ensuring that it's started as an Xwayland client (boo#1001135). - Version update to 54.0.2840.34 bnc#998743: - Make linker use less memory by tweaking its options: * chromium-linker-memory.patch - Update constraints for arm a bit to build OBS-URL: https://build.opensuse.org/request/show/434707 OBS-URL: https://build.opensuse.org/package/show/network:chromium/chromium?expand=0&rev=947
2016-10-13 10:28:28 +00:00
+#define WIDEVINE_CDM_VERSION_STRING "unknown"
#endif // WIDEVINE_CDM_VERSION_H_
Index: chromium-71.0.3578.80/chrome/common/chrome_content_client.cc
===================================================================
--- chromium-71.0.3578.80.orig/chrome/common/chrome_content_client.cc
+++ chromium-71.0.3578.80/chrome/common/chrome_content_client.cc
@@ -99,7 +99,7 @@
// Registers Widevine CDM if Widevine is enabled, the Widevine CDM is
// bundled and not a component. When the Widevine CDM is a component, it is
// registered in widevine_cdm_component_installer.cc.
-#if BUILDFLAG(BUNDLE_WIDEVINE_CDM) && !BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
+#if BUILDFLAG(ENABLE_WIDEVINE) && !BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
#define REGISTER_BUNDLED_WIDEVINE_CDM
#include "third_party/widevine/cdm/widevine_cdm_common.h" // nogncheck
// TODO(crbug.com/663554): Needed for WIDEVINE_CDM_VERSION_STRING. Support