diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2016-03-02 17:14:23 +0000 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2016-03-02 17:14:23 +0000 |
commit | 26301321f98ef7a96d1d3cc8aa206cd7b20b22ad (patch) | |
tree | cfa6420a360827d07d56f6ade0f0fec122acda12 /security | |
parent | b1c2ce3abda720b31dea5fbac4c8d45d247bffce (diff) |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/py-cryptography/Makefile | 2 | ||||
-rw-r--r-- | security/py-cryptography/files/patch-64c9d893 | 31 |
2 files changed, 32 insertions, 1 deletions
diff --git a/security/py-cryptography/Makefile b/security/py-cryptography/Makefile index 2fb0922a2ed5..97fd2341e66c 100644 --- a/security/py-cryptography/Makefile +++ b/security/py-cryptography/Makefile @@ -3,7 +3,7 @@ PORTNAME= cryptography PORTVERSION= 1.0.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/security/py-cryptography/files/patch-64c9d893 b/security/py-cryptography/files/patch-64c9d893 new file mode 100644 index 000000000000..f9ec88a3ecfe --- /dev/null +++ b/security/py-cryptography/files/patch-64c9d893 @@ -0,0 +1,31 @@ +From 64c9d893c3748e962d01a935625c58610826f23c Mon Sep 17 00:00:00 2001 +From: Paul Kehrer <paul.l.kehrer@gmail.com> +Date: Tue, 1 Mar 2016 14:22:32 -0600 +Subject: [PATCH] move BIO_new_mem_buf to macros to handle 1.0.2g signature + change + +--- + src/_cffi_src/openssl/bio.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/_cffi_src/openssl/bio.py b/src/_cffi_src/openssl/bio.py +index ac86683..6439e63 100644 +--- src/_cffi_src/openssl/bio.py ++++ src/_cffi_src/openssl/bio.py +@@ -99,7 +99,6 @@ + BIO *BIO_next(BIO *); + BIO *BIO_find_type(BIO *, int); + BIO_METHOD *BIO_s_mem(void); +-BIO *BIO_new_mem_buf(void *, int); + BIO_METHOD *BIO_s_file(void); + BIO *BIO_new_file(const char *, const char *); + BIO *BIO_new_fp(FILE *, int); +@@ -127,6 +126,8 @@ + """ + + MACROS = """ ++/* BIO_new_mem_buf became const void * in 1.0.2g */ ++BIO *BIO_new_mem_buf(void *, int); + long BIO_set_fd(BIO *, long, int); + long BIO_get_fd(BIO *, char *); + long BIO_set_mem_eof_return(BIO *, int); |