Mesa/u_dep_xcb.patch
Stefan Dirsch 199aa14a48 Accepting request 1130356 from home:iznogood:factory
New stable release. 
Not sure if more changes are needed to enable the new NVK experimental driver, please verify

OBS-URL: https://build.opensuse.org/request/show/1130356
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1248
2023-12-08 17:49:35 +00:00

29 lines
1.1 KiB
Diff

Index: mesa-23.3.0/meson.build
===================================================================
--- mesa-23.3.0.orig/meson.build
+++ mesa-23.3.0/meson.build
@@ -2022,9 +2022,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:
Index: mesa-23.3.0/src/loader/meson.build
===================================================================
--- mesa-23.3.0.orig/src/loader/meson.build
+++ mesa-23.3.0/src/loader/meson.build
@@ -47,6 +47,6 @@ libloader = static_library(
c_args : loader_c_args,
gnu_symbol_visibility : 'hidden',
include_directories : [inc_include, inc_src, inc_util],
- dependencies : [dep_libdrm, dep_thread, dep_xcb_xrandr],
+ dependencies : [dep_libdrm, dep_thread, dep_xcb_xrandr, dep_xcb],
build_by_default : false,
)