summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/xorg.scm13
1 files changed, 10 insertions, 3 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index ccf5235f74..d9f7cafe8f 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2015 Eric Dvorsak <[email protected]>
;;; Copyright © 2016 Mathieu Lirzin <[email protected]>
;;; Copyright © 2015 Cyrill Schenkel <[email protected]>
-;;; Copyright © 2016, 2017, 2019, 2020 Efraim Flashner <[email protected]>
+;;; Copyright © 2016, 2017, 2019, 2020, 2021 Efraim Flashner <[email protected]>
;;; Copyright © 2016 Nikita <[email protected]>
;;; Copyright © 2016 Alex Kost <[email protected]>
;;; Copyright © 2016 David Craven <[email protected]>
@@ -2143,8 +2143,15 @@ emulate a TI-30 or an HP-10C.")
"https://xcb.freedesktop.org/dist/xcb-proto-"
version ".tar.xz"))
(sha256
- (base32
- "01d62r286yfc3rpz714nqdgkl0wk9j0wqkd4ylas1d7r4vmkqshq"))))
+ (base32
+ "01d62r286yfc3rpz714nqdgkl0wk9j0wqkd4ylas1d7r4vmkqshq"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; fractions.gcd has been deprecated since python-3.5.
+ (substitute* "xcbgen/align.py"
+ (("from fractions import gcd") "from math import gcd"))
+ #t))))
(build-system gnu-build-system)
(native-inputs
`(("pkg-config" ,pkg-config) ("python" ,python-minimal-wrapper)))