From db42a4d578bbbc2f410f5d60d8a71010aea1a038 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 10 Jan 2023 10:05:31 -0800 Subject: webkitgtk: Fix build with vivante openGL SDKs Fixes build errors like 2.38.3-r0/webkitgtk-2.38.3/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:198:59: error: invalid 'static_cast' from type 'GLNativeWindowType' {aka 'long unsigned int'} to type 'EGLNativeWindowType' {aka 'wl_egl_window*'} 198 | surface = eglCreateWindowSurface(display, config, static_cast(window), nullptr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Khem Raj --- recipes-sato/webkit/webkitgtk_%.bbappend | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 recipes-sato/webkit/webkitgtk_%.bbappend (limited to 'recipes-sato/webkit') diff --git a/recipes-sato/webkit/webkitgtk_%.bbappend b/recipes-sato/webkit/webkitgtk_%.bbappend new file mode 100644 index 000000000..085be634b --- /dev/null +++ b/recipes-sato/webkit/webkitgtk_%.bbappend @@ -0,0 +1,4 @@ +# Fixes compile errors like +# Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:198:59: error: invalid 'static_cast' from type 'GLNativeWindowType' {aka 'long unsigned int'} to type 'EGLNativeWindowType' {aka 'wl_egl_window*'} +PACKAGECONFIG:remove:imxgpu3d = "opengl opengl-or-es" +PACKAGECONFIG:append:imxgpu3d = " gles2" -- cgit v1.2.3-54-g00ecf