xorg/xorg-xcb-proto/python-gcd.patch

13 lines
399 B
Diff

diff -urN xcb-proto-1.14.orig/xcbgen/align.py xcb-proto-1.14/xcbgen/align.py
--- xcb-proto-1.14.orig/xcbgen/align.py 2020-02-22 20:16:54.000000000 +0000
+++ xcb-proto-1.14/xcbgen/align.py 2020-09-07 22:20:27.046048612 +0000
@@ -2,7 +2,7 @@
This module contains helper classes for alignment arithmetic and checks
'''
-from fractions import gcd
+from math import gcd
class Alignment(object):