gnu: python@3.5: Fix getentropy() calls on kernels < 3.17.

* gnu/packages/patches/python-3.5-getentropy-on-old-kernels.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-3.5, python-minimal, python-minimal-wrapper,
python-wrapper)[source]: Use it.
This commit is contained in:
Marius Bakke 2017-03-11 20:20:50 +01:00
parent 343cee8af3
commit e4d34cd0f0
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
3 changed files with 722 additions and 0 deletions

View file

@ -325,6 +325,7 @@ data types.")
(patches (search-patches
"python-fix-tests.patch"
"python-3.5-fix-tests.patch"
"python-3.5-getentropy-on-old-kernels.patch"
"python-3-deterministic-build-info.patch"
"python-3-search-paths.patch"))
(patch-flags '("-p0"))