Date: Wed, 2 Mar 2016 17:14:23 +0000 (UTC) From: Kubilay Kocak <koobs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r409954 - in head/security/py-cryptography: . files Message-ID: <201603021714.u22HEN5S084361@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: koobs Date: Wed Mar 2 17:14:23 2016 New Revision: 409954 URL: https://svnweb.freebsd.org/changeset/ports/409954 Log: security/py-cryptography: Fix build with OpenSSL 1.0.2g Backport upstream commit [1] fixing build failures after the OpenSSL 1.0.2g update [1] https://github.com/pyca/cryptography/commit/df779dfec9ce87b79e48448aea3c597a4716b29e PR: 207624 Reported by: matthew, Pierre Guinoiseau <pierre guinoiseau eu> MFH: 2016Q1 Added: head/security/py-cryptography/files/patch-64c9d893 (contents, props changed) Modified: head/security/py-cryptography/Makefile Modified: head/security/py-cryptography/Makefile ============================================================================== --- head/security/py-cryptography/Makefile Wed Mar 2 16:26:15 2016 (r409953) +++ head/security/py-cryptography/Makefile Wed Mar 2 17:14:23 2016 (r409954) @@ -3,7 +3,7 @@ PORTNAME= cryptography PORTVERSION= 1.0.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} Added: head/security/py-cryptography/files/patch-64c9d893 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/py-cryptography/files/patch-64c9d893 Wed Mar 2 17:14:23 2016 (r409954) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603021714.u22HEN5S084361>