Skip to contentSkip to conversation

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

PATCH In review [email protected] 2 participants 2 messages Oct 29, 2019

lore
Share & tools
lore
#0 lore raw

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

From: Yann Dirson <[email protected]>

---
 .../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.23.0
#1 lore raw

This should be going to the oe-core mailing list.

Alex

Quoted 35 lines · On Tue, 29 Oct 2019 at 10:47, <[email protected]> wrote:

From: Yann Dirson <[email protected]>

---
 .../mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 3458c19199..346b217585 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

meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch +1 -1
@@ -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')
--
2.23.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel