commit:     6c8e2396d9cf4fe13057741f5bd1b9989eeeb746
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 22 11:47:05 2017 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Tue Aug 22 11:58:48 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c8e2396

p/f/prefix/s/make.defaults: disable getentropy for <linux-3.17.

  It is first introduced by glibc-2.25.

Reference: http://bugs.python.org/issue31255

 profiles/features/prefix/standalone/make.defaults | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/profiles/features/prefix/standalone/make.defaults 
b/profiles/features/prefix/standalone/make.defaults
new file mode 100644
index 00000000000..0e1661e1014
--- /dev/null
+++ b/profiles/features/prefix/standalone/make.defaults
@@ -0,0 +1,7 @@
+# getentropy is available from linux-3.17 and glibc-2.25
+# disable it unconditionally for Python-3.4 and 2.7.
+# http://bugs.python.org/issue31255
+# remove when python-3.4 goes end-of-life on 2019-03-16,
+# and when python-2.7 goes end-of-life on 2020-01-01.
+# https://docs.python.org/devguide/#status-of-python-branches
+ac_cv_func_getentropy=no

Reply via email to