python-cryptography: fix compile issue with openssl 1.0.2h

this fixes:

error: 'SSLv2_method' redeclared as different kind of symbol
|  SSL_METHOD* (*SSLv2_method)(void) = NULL;

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Armin Kuster
2016-05-31 07:08:26 -07:00
committed by Martin Jansa
parent fb574eead5
commit 8ab04afbff
3 changed files with 97 additions and 0 deletions
@@ -8,6 +8,8 @@ SRCNAME = "cryptography"
SRC_URI = "https://pypi.python.org/packages/source/c/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
file://run-ptest \
file://build_fix_openssl_1.0.1g.patch \
file://Remove_SSLv2_bindings.patch \
file://Comment_lingering_SSLv2_symbol.patch \
"
S = "${WORKDIR}/${SRCNAME}-${PV}"