mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 22:28:08 -07:00
dev-python/cryptography: work with openssl 1.0.2g
Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
This commit is contained in:
@@ -43,6 +43,8 @@ DEPEND="${RDEPEND}
|
||||
|
||||
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-1.2.2-openssl-1.0.2g-mem_buf.patch" )
|
||||
|
||||
python_test() {
|
||||
py.test -v -v -x || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -ru cryptography-1.2.2/src/_cffi_src/openssl/bio.py cryptography-1.2.2-fixed/src/_cffi_src/openssl/bio.py
|
||||
--- cryptography-1.2.2/src/_cffi_src/openssl/bio.py 2016-01-29 20:26:11.000000000 +0100
|
||||
+++ cryptography-1.2.2-fixed/src/_cffi_src/openssl/bio.py 2016-03-01 20:32:25.172776288 +0100
|
||||
@@ -99,7 +99,7 @@
|
||||
BIO *BIO_next(BIO *);
|
||||
BIO *BIO_find_type(BIO *, int);
|
||||
BIO_METHOD *BIO_s_mem(void);
|
||||
-BIO *BIO_new_mem_buf(void *, int);
|
||||
+BIO *BIO_new_mem_buf(const void *, int);
|
||||
BIO_METHOD *BIO_s_file(void);
|
||||
BIO *BIO_new_file(const char *, const char *);
|
||||
BIO *BIO_new_fp(FILE *, int);
|
||||
Reference in New Issue
Block a user