From: Julian Ospald Date: Tue, 8 Sep 2015 01:24:17 +0000 (+0200) Subject: dev-python/python-eventlib: fix build with libressl X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7659f3413368ddb2fb02687364111d405f8b0888;p=gentoo.git dev-python/python-eventlib: fix build with libressl --- diff --git a/dev-python/python-eventlib/files/python-eventlib-0.2.1-libressl.patch b/dev-python/python-eventlib/files/python-eventlib-0.2.1-libressl.patch new file mode 100644 index 000000000000..faa410352627 --- /dev/null +++ b/dev-python/python-eventlib/files/python-eventlib-0.2.1-libressl.patch @@ -0,0 +1,14 @@ +From: Julian Ospald +Date: Tue Sep 8 01:22:40 UTC 2015 +Subject: fix compatibility with libressl + +--- a/eventlib/green/socket.py ++++ b/eventlib/green/socket.py +@@ -89,7 +89,6 @@ + else: + # some constants the SSL module exports but not in __all__ + from eventlib.green.ssl import (RAND_add, +- RAND_egd, + RAND_status, + SSL_ERROR_ZERO_RETURN, + SSL_ERROR_WANT_READ, diff --git a/dev-python/python-eventlib/python-eventlib-0.2.1.ebuild b/dev-python/python-eventlib/python-eventlib-0.2.1.ebuild index 3dab2cae473c..e5be68ebf75c 100644 --- a/dev-python/python-eventlib/python-eventlib-0.2.1.ebuild +++ b/dev-python/python-eventlib/python-eventlib-0.2.1.ebuild @@ -23,3 +23,5 @@ RDEPEND=" dev-python/greenlet[${PYTHON_USEDEP}] dev-python/twisted-core[${PYTHON_USEDEP}] " + +PATCHES=( "${FILESDIR}/${P}-libressl.patch" )