From 59201188169f51645159ebb2cf0cd52619915c16 Mon Sep 17 00:00:00 2001 From: Kenny Ballou Date: Sun, 24 Feb 2019 22:49:16 -0700 Subject: Add chromium-72 patches from debian project Collect a number of patches, specifically, `fixes` and `gcc6` patches for compiling chromium-72. [0]: https://salsa.debian.org/chromium-team/chromium/tree/master/debian/patches Signed-off-by: Kenny Ballou --- .../chromium-72.0.3626.96/widevine-locations.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 patches/www-client/chromium-72.0.3626.96/widevine-locations.patch (limited to 'patches/www-client/chromium-72.0.3626.96/widevine-locations.patch') diff --git a/patches/www-client/chromium-72.0.3626.96/widevine-locations.patch b/patches/www-client/chromium-72.0.3626.96/widevine-locations.patch new file mode 100644 index 0000000..5f144d4 --- /dev/null +++ b/patches/www-client/chromium-72.0.3626.96/widevine-locations.patch @@ -0,0 +1,18 @@ +description: try alternative locations for libwidevinecdm.so + - $HOME/.local/lib/ (snap-friendly, see https://launchpad.net/bugs/1738149) +author: Olivier Tilloy + +--- a/chrome/common/chrome_paths.cc ++++ b/chrome/common/chrome_paths.cc +@@ -375,6 +375,11 @@ bool PathProvider(int key, base::FilePat + // TODO(crbug.com/663554): Remove this after component updated CDM is + // supported on Linux and ChromeOS. + case chrome::FILE_WIDEVINE_CDM: ++ base::PathService::Get(base::DIR_HOME, &cur); ++ cur = cur.Append(FILE_PATH_LITERAL(".local/lib/libwidevinecdm.so")); ++ if (base::PathExists(cur)) { ++ break; ++ } + if (!GetComponentDirectory(&cur)) + return false; + cur = -- cgit v1.2.1