Mesa/mako_4_radv.patch
Stefan Dirsch eff3b9128f Accepting request 617323 from home:mimi_vx:branches:X11:XOrg
- add mako_4_radv.patch - fixes Mako detection for RADV/intel 

- add mako_4_radv.patch - fixes Mako detection for RADV/intel

OBS-URL: https://build.opensuse.org/request/show/617323
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=752
2018-06-18 02:01:43 +00:00

16 lines
563 B
Diff

Index: mesa-18.1.2/m4/ax_check_python_mako_module.m4
===================================================================
--- mesa-18.1.2.orig/m4/ax_check_python_mako_module.m4
+++ mesa-18.1.2/m4/ax_check_python_mako_module.m4
@@ -48,8 +48,8 @@ try:
except ImportError as err:
sys.exit(err)
else:
- ver_req = map(int, '$1'.split('.'))
- ver_act = map(int, mako.__version__.split('.'))
+ ver_req = list(map(int, '$1'.split('.')))
+ ver_act = list(map(int, mako.__version__.split('.')))
sys.exit(int(ver_req > ver_act))
" | $PYTHON2 -