gnu: python2: Fix build with newer Expat.

* gnu/packages/patches/python-2.7-expat-compat.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/python.scm (python-2.7)[source](patches): Add it.
This commit is contained in:
Marius Bakke 2022-06-28 00:06:37 +02:00
parent 0b0750e831
commit 0e691ae100
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
3 changed files with 61 additions and 0 deletions

View file

@ -150,6 +150,7 @@
"python-2.7-adjust-tests.patch"
"python-cross-compile.patch"
"python-2.7-CVE-2021-3177.patch"
"python-2.7-expat-compat.patch"
"python-2.7-no-static-lib.patch"))
(modules '((guix build utils)))
(snippet