]> code.ossystems Code Review - openembedded-core.git/commit
xcb-proto: backport fix for python gcd function
authorRichard Leitner <richard.leitner@skidata.com>
Fri, 30 Oct 2020 13:45:51 +0000 (14:45 +0100)
committerSteve Sakoman <steve@sakoman.com>
Mon, 2 Nov 2020 14:15:11 +0000 (04:15 -1000)
commit0f688c1419b1e2dfddff3c985f89a3f1949fc9fb
tree16ad9201e5f68eec8a15a7690ba9e8af49843790
parent5f644082fc3c2bbd89b898d5ca7cd4414cda4a64
xcb-proto: backport fix for python gcd function

This backports the fix [1] for the following build error for nativesdk on
Fedora 33 which is caused by the removal of fractions.gcd() in favor of
math.gcd() in python 3.9 [2]:

ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib64/python3.9/fractions.py)

[1] https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/commit/426ae35bee1fa0fdb8b5120b1dcd20cee6e34512
[2] https://bugs.python.org/issue39350

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-graphics/xorg-proto/xcb-proto/0001-xcbgen-use-math-gcd-for-python-3-5.patch [new file with mode: 0644]
meta/recipes-graphics/xorg-proto/xcb-proto_1.13.bb