xcb-proto-1.13_fix_fractions_deprecated.patch 398 B

123456789101112
  1. diff -Nru xcb-proto-1.13.orig/xcbgen/align.py xcb-proto-1.13/xcbgen/align.py
  2. --- xcb-proto-1.13.orig/xcbgen/align.py 2018-03-05 10:18:15.000000000 +0100
  3. +++ xcb-proto-1.13/xcbgen/align.py 2025-06-06 14:21:25.352079796 +0200
  4. @@ -2,7 +2,7 @@
  5. This module contains helper classes for alignment arithmetic and checks
  6. '''
  7. -from fractions import gcd
  8. +from math import gcd
  9. class Alignment(object):