[Mesa-dev] [PATCH 1/2] fixup! dri3: allow building against older xcb (v3)

Rob Clark robdclark at gmail.com
Tue Mar 13 23:03:59 UTC 2018


---
You can squash this, and at your descrition the 2nd one into Dave's
patch[1]

[1] https://patchwork.freedesktop.org/patch/210351/

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 3a00456e7c9..c201644c372 100644
--- a/meson.build
+++ b/meson.build
@@ -1235,7 +1235,7 @@ if with_platform_x11
     dep_xcb_dri2 = dependency('xcb-dri2', version : '>= 1.8')
 
     if with_dri3
-      pre_args += '-DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS'
+      pre_args += ['-DHAVE_DRI3', '-DHAVE_DRI3_MODIFIERS']
       dep_xcb_dri3 = dependency('xcb-dri3', version : '>= 1.13')
       dep_xcb_present = dependency('xcb-present', version: '>= 1.13')
       dep_xcb_sync = dependency('xcb-sync')
-- 
2.14.3



More information about the mesa-dev mailing list