From: Yann Dirson Date: Thu, 28 May 2020 15:08:52 +0000 (-0700) Subject: mesa: fix meson configure fix when 'dri' is excluded from PACKAGECONFIG X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee95a399285abbde84e0148ca957b59d65bcad0a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git mesa: fix meson configure fix when 'dri' is excluded from PACKAGECONFIG Signed-off-by: Yann Dirson Signed-off-by: Ross Burton (cherry picked from commit 78efff8741f869647790810a3dd41459b9d9d8a6) Signed-off-by: Armin Kuster --- diff --git a/meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch b/meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch index 3458c191991..346b2175851 100644 --- a/meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch +++ b/meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch @@ -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')