File chromium-drm.patch of Package chromium.openSUSE_Leap_42.3_Update
Index: chromium-65.0.3325.146/ui/gfx/native_pixmap_handle.cc
===================================================================
--- chromium-65.0.3325.146.orig/ui/gfx/native_pixmap_handle.cc
+++ chromium-65.0.3325.146/ui/gfx/native_pixmap_handle.cc
@@ -12,6 +12,9 @@
namespace gfx {
#if defined(OS_LINUX)
+#ifndef DRM_FORMAT_MOD_INVALID
+#define DRM_FORMAT_MOD_INVALID ((1ULL<<56) - 1)
+#endif
static_assert(NativePixmapPlane::kNoModifier == DRM_FORMAT_MOD_INVALID,
"gfx::NativePixmapPlane::kNoModifier should be an alias for"
"DRM_FORMAT_MOD_INVALID");