summaryrefslogtreecommitdiff
path: root/user/mesa/python3-compat.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-08 21:29:12 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-08 21:29:12 -0500
commit13ff07d4a57f6dc095d65c567bd4b92b34667b03 (patch)
treea6f249b299f52508ce802c6b01202fd091aa9e07 /user/mesa/python3-compat.patch
parent1af4a672c7df4fe57d9f1568b1e287cf541f4c26 (diff)
downloadpackages-13ff07d4a57f6dc095d65c567bd4b92b34667b03.tar.gz
packages-13ff07d4a57f6dc095d65c567bd4b92b34667b03.tar.bz2
packages-13ff07d4a57f6dc095d65c567bd4b92b34667b03.tar.xz
packages-13ff07d4a57f6dc095d65c567bd4b92b34667b03.zip
user/mesa: take, bump to 18.1.3, fix up
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 -
+