From 9f7c10722c37feef3124d957f5ef2dfd2a285e33 Mon Sep 17 00:00:00 2001 From: Eloston Date: Sun, 19 Jan 2020 23:24:57 +0000 Subject: [PATCH] Remove patches to fix Widevine Fixes to enable Widevine are too platform-specific, so each platform should use their own upstream's Widevine fixes. --- .../widevine-enable-version-string.patch | 42 ------------------- patches/series | 1 - 2 files changed, 43 deletions(-) delete mode 100644 patches/extra/debian_buster/fixes/widevine-enable-version-string.patch diff --git a/patches/extra/debian_buster/fixes/widevine-enable-version-string.patch b/patches/extra/debian_buster/fixes/widevine-enable-version-string.patch deleted file mode 100644 index 4bc469dc..00000000 --- a/patches/extra/debian_buster/fixes/widevine-enable-version-string.patch +++ /dev/null @@ -1,42 +0,0 @@ -Description: enable widevine and set its version string to "undefined" -Author: Michael Gilbert -Author: Olivier Tilloy - ---- a/chrome/common/chrome_content_client.cc -+++ b/chrome/common/chrome_content_client.cc -@@ -386,7 +386,7 @@ std::unique_ptr Create - #endif // (BUILDFLAG(BUNDLE_WIDEVINE_CDM) || - // BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)) && defined(OS_LINUX) - --#if BUILDFLAG(BUNDLE_WIDEVINE_CDM) && defined(OS_LINUX) -+#if BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT) && defined(OS_LINUX) - // On Linux/ChromeOS we have to preload the CDM since it uses the zygote - // sandbox. On Windows and Mac, the bundled CDM is handled by the component - // updater. -@@ -456,7 +456,7 @@ content::CdmInfo* GetBundledWidevine() { - }()); - return s_cdm_info->get(); - } --#endif // BUILDFLAG(BUNDLE_WIDEVINE_CDM) && defined(OS_LINUX) -+#endif // BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT) && defined(OS_LINUX) - - #if BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT) && defined(OS_LINUX) - // This code checks to see if a component updated Widevine CDM can be found. If -@@ -614,7 +614,7 @@ void ChromeContentClient::AddContentDecr - // case both versions will be the same and point to the same directory, so - // it doesn't matter which one is loaded. - content::CdmInfo* bundled_widevine = nullptr; --#if BUILDFLAG(BUNDLE_WIDEVINE_CDM) -+#if BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT) - bundled_widevine = GetBundledWidevine(); - #endif - ---- a/third_party/widevine/cdm/widevine_cdm_version.h -+++ b/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"). -+#define WIDEVINE_CDM_VERSION_STRING "undefined" - - #endif // WIDEVINE_CDM_VERSION_H_ diff --git a/patches/series b/patches/series index dcd64c36..bb9f4216 100644 --- a/patches/series +++ b/patches/series @@ -46,7 +46,6 @@ extra/inox-patchset/0019-disable-battery-status-service.patch extra/debian_buster/gn/parallel.patch extra/debian_buster/fixes/ps-print.patch extra/debian_buster/fixes/connection-message.patch -extra/debian_buster/fixes/widevine-enable-version-string.patch extra/debian_buster/disable/android.patch extra/debian_buster/disable/fuzzers.patch extra/debian_buster/disable/welcome-page.patch