commit ff5cc117c72448de47b8b7228f7cef6b47dfde28
Author: Tomas Popela <tpopela(a)redhat.com>
Date: Fri Mar 15 10:28:54 2019 +0100
Rebase the vaapi i686 -fpermissive patch
Signed-off-by: Akarshan Biswas <akarshan.biswas(a)gmail.com>
...mium-70.0.3538.110-vaapi-i686-fpermissive.patch | 24 ----------------------
chromium-73.0.3683.75-vaapi-i686-fpermissive.patch | 23 +++++++++++++++++++++
chromium-freeworld.spec | 2 +-
3 files changed, 24 insertions(+), 25 deletions(-)
---
diff --git a/chromium-73.0.3683.75-vaapi-i686-fpermissive.patch
b/chromium-73.0.3683.75-vaapi-i686-fpermissive.patch
new file mode 100644
index 0000000..aeee818
--- /dev/null
+++ b/chromium-73.0.3683.75-vaapi-i686-fpermissive.patch
@@ -0,0 +1,23 @@
+diff -up chromium-73.0.3683.75/media/gpu/vaapi/BUILD.gn.i686permissive
chromium-73.0.3683.75/media/gpu/vaapi/BUILD.gn
+--- chromium-73.0.3683.75/media/gpu/vaapi/BUILD.gn.i686permissive 2019-03-15
10:10:18.689287815 +0100
++++ chromium-73.0.3683.75/media/gpu/vaapi/BUILD.gn 2019-03-15 10:11:56.943294101 +0100
+@@ -11,6 +11,10 @@ import("//ui/ozone/ozone.gni")
+
+ assert(use_vaapi)
+
++config("vaapi_permissive") {
++ cflags = [ "-fpermissive" ]
++}
++
+ generate_stubs("libva_stubs") {
+ extra_header = "va_stub_header.fragment"
+ sigs = [ "va.sigs" ]
+@@ -79,6 +83,8 @@ source_set("vaapi") {
+ configs += [ "//build/config/linux/libva" ]
+ }
+
++ configs += [ ":vaapi_permissive" ]
++
+ if (use_x11) {
+ configs += [ "//build/config/linux:x11" ]
+ deps += [ "//ui/gfx/x" ]
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index ea8c904..eec1708 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -298,7 +298,7 @@ Patch119: chromium-70.0.3538.77-aarch64-arch-want-new-stat.patch
# Enable VAAPI support on Linux
# NOTE: This patch will never land upstream
Patch121: enable-vaapi.patch
-Patch122: chromium-70.0.3538.110-vaapi-i686-fpermissive.patch
+Patch122: chromium-73.0.3683.75-vaapi-i686-fpermissive.patch
# Fix compatibility with VA-API library (libva) version 1
Patch124: chromium-71.0.3578.98-vaapi-libva1-compatibility.patch
# drop rsp clobber, which breaks gcc9 (thanks to Jeff Law)