diff options
author | Eric Hameleers <alien@slackware.com> | 2018-12-06 21:54:00 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-12-06 21:54:00 +0000 |
commit | 3c77548cf5c19fc67127868abdf24815c6bfdbc5 (patch) | |
tree | 26018b5151174ac778685ef41970c5ea1d8eb91e /chromium | |
parent | 09ce5b9876d4b959de2694f38dc2ea97b9f814f1 (diff) | |
download | asb-3c77548cf5c19fc67127868abdf24815c6bfdbc5.tar.gz asb-3c77548cf5c19fc67127868abdf24815c6bfdbc5.tar.xz |
chromium: refresh the widevine patch in case we need this instead of the two 'sed' statements in the SlackBuild
Diffstat (limited to 'chromium')
-rw-r--r-- | chromium/build/patches/chromium_widevine.patch | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/chromium/build/patches/chromium_widevine.patch b/chromium/build/patches/chromium_widevine.patch index 4c34ba61..a1f06227 100644 --- a/chromium/build/patches/chromium_widevine.patch +++ b/chromium/build/patches/chromium_widevine.patch @@ -1,12 +1,24 @@ ---- chromium-44.0.2403.89/third_party/widevine/cdm/widevine_cdm_version.h.widevine 2015-07-15 22:30:08.000000000 +0200 -+++ chromium-44.0.2403.89/third_party/widevine/cdm/widevine_cdm_version.h 2015-07-22 21:03:36.223548063 +0200 -@@ -14,4 +14,8 @@ +diff -upr chromium-71.0.3578.80.orig/chrome/common/chrome_content_client.cc chromium-71.0.3578.80/chrome/common/chrome_content_client.cc +--- chromium-71.0.3578.80.orig/chrome/common/chrome_content_client.cc 2018-12-03 20:16:43.000000000 +0000 ++++ chromium-71.0.3578.80/chrome/common/chrome_content_client.cc 2018-12-04 21:34:28.658206942 +0000 +@@ -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 +diff -upr 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 +--- chromium-71.0.3578.80.orig/third_party/widevine/cdm/widevine_cdm_version.h 2018-12-03 20:18:01.000000000 +0000 ++++ chromium-71.0.3578.80/third_party/widevine/cdm/widevine_cdm_version.h 2018-12-04 21:37:45.635374949 +0000 +@@ -12,4 +12,6 @@ // - WIDEVINE_CDM_VERSION_STRING (with the version of the CDM that's available // as a string, e.g., "1.0.123.456"). -+#include "third_party/widevine/cdm/widevine_cdm_common.h" -+#define WIDEVINE_CDM_AVAILABLE +#define WIDEVINE_CDM_VERSION_STRING "@WIDEVINE_VERSION@" + #endif // WIDEVINE_CDM_VERSION_H_ + |