dev-python/cryptography: Force-disable SSLv3 to avoid ABI breakage

Force-disable SSLv3 even if OpenSSL is built with SSLv3.  Otherwise
disabling sslv3 flag on dev-libs/openssl causes ABI breakage that
requires manual intervention.

Closes: https://bugs.gentoo.org/803887
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-07-26 16:23:21 +02:00
parent ab613720c4
commit a394d84a43

View File

@@ -48,6 +48,10 @@ PATCHES=(
src_prepare() {
default
# avoid automagic dependency on dev-libs/openssl[sslv3]
# https://bugs.gentoo.org/789450
export CPPFLAGS="${CPPFLAGS} -DOPENSSL_NO_SSL3_METHOD=1"
# work around availability macros not supported in GCC (yet)
if [[ ${CHOST} == *-darwin* ]] ; then
local darwinok=0