File fix_building_widevinecdm_with_chromium.patch of Package chromium.openSUSE_Leap_42.3_Update
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
@@ -10,6 +10,7 @@
#include "third_party/widevine/cdm/widevine_cdm_common.h"
+#define WIDEVINE_CDM_VERSION_STRING "unknown"
#define WIDEVINE_CDM_AVAILABLE
#endif // WIDEVINE_CDM_VERSION_H_