diff --git a/chromium-80.0.3987.122-vaapi-i686-fpermissive.patch b/chromium-80.0.3987.122-vaapi-i686-fpermissive.patch new file mode 100644 index 00000000..ae556687 --- /dev/null +++ b/chromium-80.0.3987.122-vaapi-i686-fpermissive.patch @@ -0,0 +1,23 @@ +diff -up chromium-80.0.3987.122/media/gpu/vaapi/BUILD.gn.i686permissive chromium-80.0.3987.122/media/gpu/vaapi/BUILD.gn +--- chromium-80.0.3987.122/media/gpu/vaapi/BUILD.gn.i686permissive 2020-02-27 11:58:10.534875341 -0500 ++++ chromium-80.0.3987.122/media/gpu/vaapi/BUILD.gn 2020-02-27 11:58:17.544736535 -0500 +@@ -13,6 +13,10 @@ import("//ui/ozone/ozone.gni") + assert(is_linux) + assert(use_vaapi) + ++config("vaapi_permissive") { ++ cflags = [ "-fpermissive" ] ++} ++ + generate_stubs("libva_stubs") { + extra_header = "va_stub_header.fragment" + sigs = [ "va.sigs" ] +@@ -120,6 +124,8 @@ source_set("vaapi") { + ] + } + ++ configs += [ ":vaapi_permissive" ] ++ + if (use_x11) { + configs += [ "//build/config/linux:x11" ] + deps += [ "//ui/gfx/x" ] diff --git a/chromium.spec b/chromium.spec index 3396a61b..2d6767be 100644 --- a/chromium.spec +++ b/chromium.spec @@ -261,7 +261,7 @@ Patch102: chromium-79.0.3945.56-el7-noexcept.patch # Enable VAAPI support on Linux # NOTE: This patch will never land upstream Patch202: enable-vaapi.patch -Patch203: chromium-75.0.3770.80-vaapi-i686-fpermissive.patch +Patch203: chromium-80.0.3987.122-vaapi-i686-fpermissive.patch # Fix compatibility with VA-API library (libva) version 1 Patch205: fixvaapionintel.patch