]> code.ossystems Code Review - openembedded-core.git/commit
webkitgtk: Fix build when x11 is not in distro features
authorKhem Raj <raj.khem@gmail.com>
Wed, 9 Mar 2022 17:07:52 +0000 (09:07 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Mar 2022 13:06:22 +0000 (13:06 +0000)
commit4f6b987705a624da3304cb559b885c4352f9b517
treeee846a9d5d53e61092fd5f43499e55a3275a291d
parent8c9d0bc4eb2784a3defa047e509d96e0eb521c03
webkitgtk: Fix build when x11 is not in distro features

ANGLE's copy of khrplatform.h is not uptodate with mesa/khronos khrplatform.h
which uses MESA_EGL_NO_X11_HEADERS which is now renamed in newer headers to
EGL_NO_X11 from mesa/khronos headers, however this define is
relatively new and 3D stacks do not have this adopted but apps
like qemu and bunch of others depend on it, I guess they assume mesa.
One can argue that its better to fix the 3D stacks to behave
like mesa but this means every BSP using these stacks will need to
carry such a fix.

https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/include/EGL/eglplatform.h

This patch helps with that

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-sato/webkit/webkitgtk_2.34.6.bb