SHA256
1
0
forked from pool/Mesa
Mesa/u_dep_xcb.patch
Stefan Dirsch 0be01f0ffa Accepting request 1067439 from home:sndirsch:branches:X11:XOrg
- Update to version 23.0.0
  * first stable release of 2023
- refreshed patches
  * n_drirc-disable-rgb10-for-chromium-on-amd.patch
  * n_stop-iris-flicker.patch
  * u_dep_xcb.patch
  * u_fix-build-on-ppc64le.patch
- adjusted n_no-sse2-on-ix86-except-for-intel-drivers.patch
- meson: added -Dxmlconfig=enabled to fix link errors
  (missing "-lexpat")

OBS-URL: https://build.opensuse.org/request/show/1067439
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1195
2023-02-23 15:26:00 +00:00

30 lines
1.1 KiB
Diff

Index: mesa-23.0.0/meson.build
===================================================================
--- mesa-23.0.0.orig/meson.build
+++ mesa-23.0.0/meson.build
@@ -2191,9 +2191,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.0.0/src/loader/meson.build
===================================================================
--- mesa-23.0.0.orig/src/loader/meson.build
+++ mesa-23.0.0/src/loader/meson.build
@@ -28,7 +28,7 @@ if with_platform_x11 and with_dri3
include_directories : [inc_include, inc_src],
dependencies : [
dep_libdrm, dep_xcb_dri3, dep_xcb_present, dep_xcb_sync, dep_xshmfence,
- dep_xcb_xfixes, dep_xcb_xrandr,
+ dep_xcb_xfixes, dep_xcb_xrandr, dep_xcb,
],
build_by_default : false,
)