diff -Nru xcb-proto-1.13.orig/xcbgen/align.py xcb-proto-1.13/xcbgen/align.py --- xcb-proto-1.13.orig/xcbgen/align.py 2018-03-05 10:18:15.000000000 +0100 +++ xcb-proto-1.13/xcbgen/align.py 2025-06-06 14:21:25.352079796 +0200 @@ -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):