Skip to contentSkip to conversation

mesa: fix meson configure fix when 'dri' is excluded from PACKAGECONFIG

PATCH New akuster 1 participant 1 message May 28, 2020

lore
Share & tools
lore

akuster

author
#0 lore raw

PATCH 1/1 mesa: fix meson configure fix when 'dri' is excluded from PACKAGECONFIG

From: Yann Dirson <[email protected]>

(cherry picked from commit 78efff8741f869647790810a3dd41459b9d9d8a6)
---
 .../mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch +1 -1
index 3458c19199..346b217585 100644
@@ -23,7 +23,7 @@ index 0e50bb26c0a..de065c290d6 100644
  with_dri_swrast = dri_drivers.contains('swrast')
  
 -with_dri = dri_drivers.length() != 0 and dri_drivers != ['']
-+with_dri = get_option('dri') or (_drivers.length() != 0 and _drivers != [''])
++with_dri = get_option('dri') or (dri_drivers.length() != 0 and dri_drivers != [''])
  
  gallium_drivers = get_option('gallium-drivers')
  if gallium_drivers.contains('auto')
Signature · 1 line
2.17.1