Files
chromium-dev/fix_building_widevinecdm_with_chromium.patch

28 lines
1.4 KiB
Diff
Raw Normal View History

diff -urN chromium-67.0.3371.0.old/third_party/widevine/cdm/BUILD.gn chromium-67.0.3371.0/third_party/widevine/cdm/BUILD.gn
--- chromium-67.0.3371.0.old/third_party/widevine/cdm/BUILD.gn 2018-03-20 12:06:16.192778982 +0100
+++ chromium-67.0.3371.0/third_party/widevine/cdm/BUILD.gn 2018-03-20 12:09:54.184846595 +0100
@@ -10,12 +10,6 @@
import("//media/media_options.gni")
import("//third_party/widevine/cdm/widevine.gni")
-# Internal Cast builds set enable_widevine=true to bring in Widevine support.
-# TODO(xhwang): Support component updated CDM on other platforms and remove this
-# assert.
-assert(!enable_widevine || is_win || is_mac || is_chromecast,
- "Component updated CDM only supported on Windows and Mac for now.")
-
widevine_arch = current_cpu
if (widevine_arch == "x86") {
widevine_arch = "ia32"
diff -urN chromium-67.0.3371.0.old/third_party/widevine/cdm/stub/widevine_cdm_version.h chromium-67.0.3371.0/third_party/widevine/cdm/stub/widevine_cdm_version.h
--- chromium-67.0.3371.0.old/third_party/widevine/cdm/stub/widevine_cdm_version.h 2018-03-20 12:06:16.192778982 +0100
+++ chromium-67.0.3371.0/third_party/widevine/cdm/stub/widevine_cdm_version.h 2018-03-20 12:08:24.415172133 +0100
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
@@ -10,6 +10,7 @@
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
#include "third_party/widevine/cdm/widevine_cdm_common.h"
+#define WIDEVINE_CDM_VERSION_STRING "unknown"
#define WIDEVINE_CDM_AVAILABLE
#endif // WIDEVINE_CDM_VERSION_H_