From 4510c38431ba5e0dcd52ef0307011b048b7d46d2 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Tue, 20 Jul 2021 19:29:11 +0200 Subject: [PATCH] package/mesa3d: DRI drivers need either glx, egl or gbm Fixes build error: ../output-1/build/mesa3d-21.1.5/meson.build:520:4: ERROR: Problem encountered: building dri drivers require at least one windowing system OSMesa is not seen as a valid windowing system for DRI drivers anymore: https://cgit.freedesktop.org/mesa/mesa/commit/meson.build?h=21.1&id=ee802372180a2b4460cc7abb53438e45c6b6f1e4 Commit 15a2f9b819806d38a7d8172a20f80130b1d60e63 blindly renamed BR2_PACKAGE_MESA3D_OSMESA_CLASSIC to BR2_PACKAGE_MESA3D_OSMESA_GALLIUM without checking for this particular case. Fixes: http://autobuild.buildroot.net/results/46e3a66ddc13a064e512aad0f3afd8655889ab9d/ Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/mesa3d/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in index d1b3af2054..41c90c49af 100644 --- a/package/mesa3d/Config.in +++ b/package/mesa3d/Config.in @@ -63,8 +63,7 @@ config BR2_PACKAGE_MESA3D_DRI_DRIVER select BR2_PACKAGE_MESA3D_DRIVER select BR2_PACKAGE_MESA3D_GBM if \ !BR2_PACKAGE_MESA3D_OPENGL_GLX && \ - !BR2_PACKAGE_MESA3D_OPENGL_EGL && \ - !BR2_PACKAGE_MESA3D_OSMESA_GALLIUM + !BR2_PACKAGE_MESA3D_OPENGL_EGL select BR2_PACKAGE_XLIB_LIBXSHMFENCE if \ (BR2_PACKAGE_XORG7 && BR2_TOOLCHAIN_HAS_SYNC_4) -- 2.30.2