Index: mesa-24.0.3/meson.build =================================================================== --- mesa-24.0.3.orig/meson.build +++ mesa-24.0.3/meson.build @@ -2069,9 +2069,11 @@ if with_platform_x11 endif endif if with_any_vk or with_egl or (with_glx == 'dri' and with_dri_platform == 'drm') + dep_x11_xcb = dependency('x11-xcb') dep_xcb_dri2 = dependency('xcb-dri2', version : '>= 1.8') if with_dri3 + dep_xcb = dependency('xcb') dep_xcb_dri3 = dependency('xcb-dri3') dep_xcb_present = dependency('xcb-present') # until xcb-dri3 has been around long enough to make a hard-dependency: