summaryrefslogtreecommitdiff
path: root/user/mesa/python3-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/mesa/python3-compat.patch')
-rw-r--r--user/mesa/python3-compat.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/user/mesa/python3-compat.patch b/user/mesa/python3-compat.patch
index 8532f8c0c..9dc213e9f 100644
--- a/user/mesa/python3-compat.patch
+++ b/user/mesa/python3-compat.patch
@@ -104,3 +104,16 @@
def main():
+--- mesa-18.1.3/m4/ax_check_python_mako_module.m4.old 2018-06-29 17:47:29.000000000 +0000
++++ mesa-18.1.3/m4/ax_check_python_mako_module.m4 2018-07-09 01:55:22.740000000 +0000
+@@ -48,8 +48,8 @@
+ 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 -
+